diff options
author | Dmitry Petrashko <dmitry.petrashko@gmail.com> | 2015-05-13 13:11:09 +0200 |
---|---|---|
committer | Dmitry Petrashko <dmitry.petrashko@gmail.com> | 2015-05-13 13:11:09 +0200 |
commit | 28bb27672bf7e4fb2bb80df48ee8c70628de19c4 (patch) | |
tree | ae7dfd0ece97a2b8ad8b9c0915878f2f18699d7e /tests/pending/run/t7584.scala | |
parent | 1d13da929f7cce642efde39dff2944dfc5b276f9 (diff) | |
download | dotty-28bb27672bf7e4fb2bb80df48ee8c70628de19c4.tar.gz dotty-28bb27672bf7e4fb2bb80df48ee8c70628de19c4.tar.bz2 dotty-28bb27672bf7e4fb2bb80df48ee8c70628de19c4.zip |
Use LegacyApp in run tests.
Diffstat (limited to 'tests/pending/run/t7584.scala')
-rw-r--r-- | tests/pending/run/t7584.scala | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/pending/run/t7584.scala b/tests/pending/run/t7584.scala index 6d7f4f7eb..f134b04a5 100644 --- a/tests/pending/run/t7584.scala +++ b/tests/pending/run/t7584.scala @@ -3,7 +3,7 @@ // // We did flush out a spurious "pure expression does nothing in statement position" // warning, hence -Xfatal-warnings in the flags file. -object Test extends App { +object Test extends dotty.runtime.LegacyApp { def foo(f: (=> Int, => Int) => Unit) = f({println("a"); 0}, {println("b"); 1}) println("no calls") foo((a, b) => ()) |