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/macro-range | |
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/macro-range')
-rw-r--r-- | tests/pending/run/macro-range/Expansion_Impossible_2.scala | 2 | ||||
-rw-r--r-- | tests/pending/run/macro-range/Expansion_Possible_3.scala | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/tests/pending/run/macro-range/Expansion_Impossible_2.scala b/tests/pending/run/macro-range/Expansion_Impossible_2.scala index 242e83a61..b3c2fa348 100644 --- a/tests/pending/run/macro-range/Expansion_Impossible_2.scala +++ b/tests/pending/run/macro-range/Expansion_Impossible_2.scala @@ -48,6 +48,6 @@ class Range(val from: Int, val to: Int) extends RangeDefault { override def foreach(f: Int => Unit): Unit = macro Impls.foreach } -object Test extends App { +object Test extends dotty.runtime.LegacyApp { new Range(1, 10) foreach println }
\ No newline at end of file diff --git a/tests/pending/run/macro-range/Expansion_Possible_3.scala b/tests/pending/run/macro-range/Expansion_Possible_3.scala index e7ecbcc36..b1fbba765 100644 --- a/tests/pending/run/macro-range/Expansion_Possible_3.scala +++ b/tests/pending/run/macro-range/Expansion_Possible_3.scala @@ -2,6 +2,6 @@ class Range(val from: Int, val to: Int) extends RangeDefault { override def foreach(f: Int => Unit): Unit = macro Impls.foreach } -object Test extends App { +object Test extends dotty.runtime.LegacyApp { new Range(1, 10) foreach println }
\ No newline at end of file |