diff options
author | Simon Ochsenreither <simon@ochsenreither.de> | 2012-10-08 03:45:26 +0200 |
---|---|---|
committer | Simon Ochsenreither <simon@ochsenreither.de> | 2012-10-12 17:18:42 +0200 |
commit | 18c6d58a5dc994ce19b0419c7c2dce460acecbdd (patch) | |
tree | b2a909bdca9e376a636907aca821435d5b101f8b /test/files/run | |
parent | 3b73e0dd101aade6478517016df80975e6b996bd (diff) | |
download | scala-18c6d58a5dc994ce19b0419c7c2dce460acecbdd.tar.gz scala-18c6d58a5dc994ce19b0419c7c2dce460acecbdd.tar.bz2 scala-18c6d58a5dc994ce19b0419c7c2dce460acecbdd.zip |
SI-6388 Remove Application
Diffstat (limited to 'test/files/run')
-rw-r--r-- | test/files/run/collection-stacks.scala | 2 | ||||
-rw-r--r-- | test/files/run/t4047.scala | 2 | ||||
-rw-r--r-- | test/files/run/t4146.scala | 7 |
3 files changed, 2 insertions, 9 deletions
diff --git a/test/files/run/collection-stacks.scala b/test/files/run/collection-stacks.scala index fbee3f8594..be9fbbf1ae 100644 --- a/test/files/run/collection-stacks.scala +++ b/test/files/run/collection-stacks.scala @@ -1,6 +1,6 @@ import scala.collection.{ immutable, mutable } -object Test extends Application { +object Test extends App { def mutableStack[T](xs: T*): mutable.Stack[T] = { val s = new mutable.Stack[T] s.pushAll(xs) diff --git a/test/files/run/t4047.scala b/test/files/run/t4047.scala index cd42a8b4df..08989bd278 100644 --- a/test/files/run/t4047.scala +++ b/test/files/run/t4047.scala @@ -18,7 +18,7 @@ class D extends Bar[Unit]{ def foo = println("Unit: called D.foo") } -object Test extends Application { +object Test extends App { val a: Foo[Unit] = new A a.foo a.foo diff --git a/test/files/run/t4146.scala b/test/files/run/t4146.scala deleted file mode 100644 index 93ce22b519..0000000000 --- a/test/files/run/t4146.scala +++ /dev/null @@ -1,7 +0,0 @@ -object bob extends Application { - var name = "Bob" -} - -object Test extends App { - assert(bob.name == "Bob") -} |