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/t4742.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/t4742.scala')
-rw-r--r-- | tests/pending/run/t4742.scala | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/pending/run/t4742.scala b/tests/pending/run/t4742.scala index 3b42c0c12..47656049b 100644 --- a/tests/pending/run/t4742.scala +++ b/tests/pending/run/t4742.scala @@ -1,7 +1,7 @@ trait T { val x: Int = 0 } object O extends T { override final val x = 1 } -object Test extends App { +object Test extends dotty.runtime.LegacyApp { // was throwing an UnitializedFieldError as constant 1 is folded into the accessor assert((O: T).x == 1) } |