Skip to content

Commit ad72ce3

Browse files
committed
Add a failure test for scala#10931
1 parent 8fab91c commit ad72ce3

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

tests/run-macros/tasty-tree-map/quoted_2.scala

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -46,6 +46,7 @@ object Test {
4646
println(identityMaped((Nil: List[Int]) match { case _: List[t] => 64 }))
4747
println(identityMaped({ object F { type T = Int }; val x: F.T = 65; x }))
4848
println(identityMaped({ val x: Foo { type T = Int } = new Foo { type T = Int; def y: Int = 66 }; x.y }))
49+
println(identityMaped({ trait A; new A {} }))
4950
}
5051

5152
object I55 {

0 commit comments

Comments
 (0)