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.scala6
1 files changed, 3 insertions, 3 deletions
diff --git a/test/files/pos/channels.scala b/test/files/pos/channels.scala
index eb26a2bcf6..0a2274c47a 100644
--- a/test/files/pos/channels.scala
+++ b/test/files/pos/channels.scala
@@ -6,7 +6,7 @@ case class ![a](chan: Channel[a], data: a)
/*
object Bang {
- def unapply[a](x: ![a]): Option[{Channel[a], a}] =
+ def unapply[a](x: ![a]): Option[{Channel[a], a}] =
Some(x.chan, x.data)
}
@@ -14,7 +14,7 @@ object Bang {
object Test extends App {
object IC extends Channel[Int]
def f[b](x: ![b]): Int = x match {
- case send: ![c] =>
+ case send: ![c] =>
send.chan match {
case IC => send.data
}
@@ -27,4 +27,4 @@ object Test2 extends App {
case IC ! x => x
}
}
-
+