Skip to content

Commit

Permalink
Reclassify test
Browse files Browse the repository at this point in the history
  • Loading branch information
odersky committed Sep 29, 2021
1 parent 7983a2f commit 0210ad8
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 5 deletions.
5 changes: 0 additions & 5 deletions tests/neg/i11045.scala

This file was deleted.

5 changes: 5 additions & 0 deletions tests/run/i11045.scala
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
abstract class Foo(x: Any)
class Boom(var x: Unit, y: Unit) extends Foo((x: Int) => x) // was error: super constructor cannot be passed a self reference
@main def Test =
Boom((), ())

0 comments on commit 0210ad8

Please sign in to comment.