summaryrefslogtreecommitdiff
path: root/test/files/pos/channels.scala
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/pos/channels.scala
parent3621100820d0541e4863ceed8523b887894069e1 (diff)
downloadscala-d610e36fa53fcd8b6361293936af057b8563c33b.tar.gz
scala-d610e36fa53fcd8b6361293936af057b8563c33b.tar.bz2
scala-d610e36fa53fcd8b6361293936af057b8563c33b.zip
Renamed Application to App.
Diffstat (limited to 'test/files/pos/channels.scala')
-rw-r--r--test/files/pos/channels.scala4
1 files changed, 2 insertions, 2 deletions
diff --git a/test/files/pos/channels.scala b/test/files/pos/channels.scala
index 4c7be2cc82..eb26a2bcf6 100644
--- a/test/files/pos/channels.scala
+++ b/test/files/pos/channels.scala
@@ -11,7 +11,7 @@ object Bang {
}
*/
-object Test extends Application {
+object Test extends App {
object IC extends Channel[Int]
def f[b](x: ![b]): Int = x match {
case send: ![c] =>
@@ -21,7 +21,7 @@ object Test extends Application {
}
}
-object Test2 extends Application {
+object Test2 extends App {
object IC extends Channel[Set[Int]]
def f[b](s: ![b]): Set[Int] = s match {
case IC ! x => x