aboutsummaryrefslogtreecommitdiff
path: root/tests/pending/run/virtpatmat_typetag.scala
diff options
context:
space:
mode:
authorDmitry Petrashko <dmitry.petrashko@gmail.com>2015-05-13 13:11:09 +0200
committerDmitry Petrashko <dmitry.petrashko@gmail.com>2015-05-13 13:11:09 +0200
commit28bb27672bf7e4fb2bb80df48ee8c70628de19c4 (patch)
treeae7dfd0ece97a2b8ad8b9c0915878f2f18699d7e /tests/pending/run/virtpatmat_typetag.scala
parent1d13da929f7cce642efde39dff2944dfc5b276f9 (diff)
downloaddotty-28bb27672bf7e4fb2bb80df48ee8c70628de19c4.tar.gz
dotty-28bb27672bf7e4fb2bb80df48ee8c70628de19c4.tar.bz2
dotty-28bb27672bf7e4fb2bb80df48ee8c70628de19c4.zip
Use LegacyApp in run tests.
Diffstat (limited to 'tests/pending/run/virtpatmat_typetag.scala')
-rw-r--r--tests/pending/run/virtpatmat_typetag.scala2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/pending/run/virtpatmat_typetag.scala b/tests/pending/run/virtpatmat_typetag.scala
index 02ec928ed..3654decda 100644
--- a/tests/pending/run/virtpatmat_typetag.scala
+++ b/tests/pending/run/virtpatmat_typetag.scala
@@ -12,7 +12,7 @@ trait Extractors {
}
}
-object Test extends App {
+object Test extends dotty.runtime.LegacyApp {
def typeMatch[T: ClassTag](a: Any) = a match {
case x : T => println(x +" is a "+ implicitly[ClassTag[T]])
case _ => println(a+ " is not a "+ implicitly[ClassTag[T]] +"; it's a "+ a.getClass)