We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 853490b commit 97bb1c1Copy full SHA for 97bb1c1
tests/pos/i8801.scala
@@ -1,4 +1,9 @@
1
object Foo:
2
locally {
3
case class Baz()
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