Skip to content

Commit 15acff8

Browse files
committed
More test cases for refinements and anonymous classes
1 parent 63f6a46 commit 15acff8

File tree

1 file changed

+14
-0
lines changed

1 file changed

+14
-0
lines changed

tests/rewrites/i9632.scala

Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,3 +5,17 @@ def f(using scala.quoted.QuoteContext) =
55
}
66
x
77
}
8+
9+
type HasPath = {
10+
def getPath: String
11+
}
12+
type HashPath2 = Any {
13+
def getPath: String
14+
}
15+
val x = new {
16+
val y = 1
17+
}
18+
val y = new AnyRef {
19+
val y = 1
20+
}
21+

0 commit comments

Comments
 (0)