summaryrefslogtreecommitdiff
path: root/test/files/specialized
diff options
context:
space:
mode:
authorMartin Odersky <odersky@gmail.com>2011-02-21 18:32:06 +0000
committerMartin Odersky <odersky@gmail.com>2011-02-21 18:32:06 +0000
commitd610e36fa53fcd8b6361293936af057b8563c33b (patch)
treea28747cc29fc1d91b506aa474fb853521ed1224d /test/files/specialized
parent3621100820d0541e4863ceed8523b887894069e1 (diff)
downloadscala-d610e36fa53fcd8b6361293936af057b8563c33b.tar.gz
scala-d610e36fa53fcd8b6361293936af057b8563c33b.tar.bz2
scala-d610e36fa53fcd8b6361293936af057b8563c33b.zip
Renamed Application to App.
Diffstat (limited to 'test/files/specialized')
-rw-r--r--test/files/specialized/spec-early.scala2
-rw-r--r--test/files/specialized/spec-overrides.scala2
2 files changed, 2 insertions, 2 deletions
diff --git a/test/files/specialized/spec-early.scala b/test/files/specialized/spec-early.scala
index 065dd57db5..65687b8624 100644
--- a/test/files/specialized/spec-early.scala
+++ b/test/files/specialized/spec-early.scala
@@ -9,7 +9,7 @@ class Foo[@specialized(Int) T](_x: T) extends {
println(bar)
}
-object Test extends Application {
+object Test extends App {
new Foo("a")
new Foo(42)
println(runtime.BoxesRunTime.integerBoxCount)
diff --git a/test/files/specialized/spec-overrides.scala b/test/files/specialized/spec-overrides.scala
index e89480984e..994dd9d245 100644
--- a/test/files/specialized/spec-overrides.scala
+++ b/test/files/specialized/spec-overrides.scala
@@ -11,7 +11,7 @@
}
-object Test extends Application {
+object Test extends App {
val d2 = new D2
assert(d2.default == 1.0, d2.default)