diff options
author | Martin Odersky <odersky@gmail.com> | 2016-12-02 09:14:03 +0100 |
---|---|---|
committer | Martin Odersky <odersky@gmail.com> | 2016-12-02 09:14:03 +0100 |
commit | 5175f1e145cd02185a02a8fae06bd1b52d2bff85 (patch) | |
tree | 382ea66ba8d4e839b36b33e86f9210a7fcadfea4 | |
parent | dbb0279a788d606892b123aa3baaa94614d676ff (diff) | |
download | dotty-5175f1e145cd02185a02a8fae06bd1b52d2bff85.tar.gz dotty-5175f1e145cd02185a02a8fae06bd1b52d2bff85.tar.bz2 dotty-5175f1e145cd02185a02a8fae06bd1b52d2bff85.zip |
Add original test to test case
-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}) |