diff options
Diffstat (limited to 'tests/pos/i1756.scala')
-rw-r--r-- | tests/pos/i1756.scala | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/tests/pos/i1756.scala b/tests/pos/i1756.scala index 17c313d28..e6f6eda60 100644 --- a/tests/pos/i1756.scala +++ b/tests/pos/i1756.scala @@ -1,5 +1,4 @@ -/* - * class A { { val x = this } } +class A { { val x = this } } class B(x: Int) { class C(x: Int) extends B({ @@ -13,7 +12,7 @@ class B(x: Int) { } } } -*/ + // Minimized version class D(x: Int) { class E(x: Int) extends D({val test = D.this; x}) |