Skip to content

Commit f441053

Browse files
committed
Reclassify test
1 parent 7983a2f commit f441053

File tree

2 files changed

+5
-5
lines changed

2 files changed

+5
-5
lines changed

tests/neg/i11045.scala

Lines changed: 0 additions & 5 deletions
This file was deleted.

tests/pos/i11045.scala

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -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

Comments
 (0)