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/matcharraytail.scala | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'tests/pending/run/matcharraytail.scala') diff --git a/tests/pending/run/matcharraytail.scala b/tests/pending/run/matcharraytail.scala index e82bcf6f0..3120769f4 100644 --- a/tests/pending/run/matcharraytail.scala +++ b/tests/pending/run/matcharraytail.scala @@ -1,4 +1,4 @@ -object Test extends App{ +object Test extends dotty.runtime.LegacyApp{ Array("foo", "bar", "baz") match { case x@Array("foo", bar :_*) => println(x.deep.toString); println(bar.toString); case Array(x, y, z) => println("shouldn't have fallen through"); -- cgit v1.2.3