diff options
author | Dmitry Petrashko <dmitry.petrashko@gmail.com> | 2015-06-15 17:50:04 +0200 |
---|---|---|
committer | Dmitry Petrashko <dmitry.petrashko@gmail.com> | 2015-06-15 17:50:04 +0200 |
commit | 506a5e334d57084322fa89119d72fa96beb824b6 (patch) | |
tree | 83401f75400ac373e5ae68d633bbf9de2b6ce8d9 /tests/pending/run/t3670.scala | |
parent | c4c29e393afb7175422053924b7e1e5a30131c4c (diff) | |
download | dotty-506a5e334d57084322fa89119d72fa96beb824b6.tar.gz dotty-506a5e334d57084322fa89119d72fa96beb824b6.tar.bz2 dotty-506a5e334d57084322fa89119d72fa96beb824b6.zip |
Enable tests that succeed.
Diffstat (limited to 'tests/pending/run/t3670.scala')
-rw-r--r-- | tests/pending/run/t3670.scala | 31 |
1 files changed, 0 insertions, 31 deletions
diff --git a/tests/pending/run/t3670.scala b/tests/pending/run/t3670.scala deleted file mode 100644 index b9cee847b..000000000 --- a/tests/pending/run/t3670.scala +++ /dev/null @@ -1,31 +0,0 @@ -class C { - val things = List("abcs") - - if (things.length < 30) { - lazy val a = "a" - println(a) - } - if (things.length < 30) { - lazy val b = "b" - println(b) - } -} - -class M extends dotty.runtime.LegacyApp { - def foo: Unit = { - lazy val a = { - lazy val b = 1 - lazy val c = 2 - println(b) - println(c) - } - a - lazy val d = 42 - println(d) - } -} - -object Test extends dotty.runtime.LegacyApp { - new C() - new M().foo -} |