From 28bb27672bf7e4fb2bb80df48ee8c70628de19c4 Mon Sep 17 00:00:00 2001 From: Dmitry Petrashko Date: Wed, 13 May 2015 13:11:09 +0200 Subject: Use LegacyApp in run tests. --- tests/pending/run/t7584.scala | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'tests/pending/run/t7584.scala') 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) => ()) -- cgit v1.2.3