Skip to content

Commit 97bb1c1

Browse files
committed
Add second test
1 parent 853490b commit 97bb1c1

File tree

1 file changed

+6
-1
lines changed

1 file changed

+6
-1
lines changed

tests/pos/i8801.scala

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,9 @@
11
object Foo:
22
locally {
33
case class Baz()
4-
}
4+
}
5+
6+
class Foo2 {
7+
def foo(x: Any = 3, y: Any = 9): Any = x
8+
val a = foo(y = { case class Bar(x: Int) }, x = ())
9+
}

0 commit comments

Comments
 (0)