diff options
author | michelou <michelou@epfl.ch> | 2008-05-20 13:29:39 +0000 |
---|---|---|
committer | michelou <michelou@epfl.ch> | 2008-05-20 13:29:39 +0000 |
commit | c1f07338ed21e551446a5c98d262d738a9b7b0ce (patch) | |
tree | 8143f69f0b97ff8bb02600991476b104afa652dc /test/files/pos/channels.scala | |
parent | 7d71e4cf09074f3d1cf7539d28bba64a976524d6 (diff) | |
download | scala-c1f07338ed21e551446a5c98d262d738a9b7b0ce.tar.gz scala-c1f07338ed21e551446a5c98d262d738a9b7b0ce.tar.bz2 scala-c1f07338ed21e551446a5c98d262d738a9b7b0ce.zip |
int -> Int, etc..
Diffstat (limited to 'test/files/pos/channels.scala')
-rw-r--r-- | test/files/pos/channels.scala | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/test/files/pos/channels.scala b/test/files/pos/channels.scala index 6513f3a5f0..4c7be2cc82 100644 --- a/test/files/pos/channels.scala +++ b/test/files/pos/channels.scala @@ -12,8 +12,8 @@ object Bang { */ object Test extends Application { - object IC extends Channel[int] - def f[b](x: ![b]): int = x match { + object IC extends Channel[Int] + def f[b](x: ![b]): Int = x match { case send: ![c] => send.chan match { case IC => send.data @@ -22,8 +22,8 @@ object Test extends Application { } object Test2 extends Application { - object IC extends Channel[Set[int]] - def f[b](s: ![b]): Set[int] = s match { + object IC extends Channel[Set[Int]] + def f[b](s: ![b]): Set[Int] = s match { case IC ! x => x } } |