summaryrefslogtreecommitdiff
path: root/test/files/pos/channels.scala
diff options
context:
space:
mode:
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