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 7983a2f commit 0210ad8Copy full SHA for 0210ad8
tests/neg/i11045.scala
tests/run/i11045.scala
@@ -0,0 +1,5 @@
1
+abstract class Foo(x: Any)
2
+class Boom(var x: Unit, y: Unit) extends Foo((x: Int) => x) // was error: super constructor cannot be passed a self reference
3
+@main def Test =
4
+ Boom((), ())
5
+
0 commit comments