diff options
Diffstat (limited to 'test/files/run/tuples.scala')
-rw-r--r-- | test/files/run/tuples.scala | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/test/files/run/tuples.scala b/test/files/run/tuples.scala index c6dcda4af8..3d0dcf7ac0 100644 --- a/test/files/run/tuples.scala +++ b/test/files/run/tuples.scala @@ -1,8 +1,8 @@ object Test extends Application { - var xyz: {int, String, boolean} = _ - xyz = { 1, "abc", true } + var xyz: Triple(int, String, boolean) = _ + xyz = Triple(1, "abc", true) Console.println(xyz) xyz match { - case { 1, "abc", true } => Console.println("OK") + case Triple(1, "abc", true) => Console.println("OK") } } |