diff options
author | Adriaan Moors <adriaan.moors@epfl.ch> | 2012-04-25 17:24:41 +0200 |
---|---|---|
committer | Adriaan Moors <adriaan.moors@epfl.ch> | 2012-04-25 17:24:41 +0200 |
commit | 4f47fba30f9408fee42c147ed7fdcc4105502b58 (patch) | |
tree | 9385b3d29fcf975beae3b5f2292bb37fe6fc0f4b /test/files/presentation/random.check | |
parent | daeee868956faaa92c4ea873e0c6b24b52202ee7 (diff) | |
download | scala-4f47fba30f9408fee42c147ed7fdcc4105502b58.tar.gz scala-4f47fba30f9408fee42c147ed7fdcc4105502b58.tar.bz2 scala-4f47fba30f9408fee42c147ed7fdcc4105502b58.zip |
updated tests now matches aren't translated if forInteractive
Diffstat (limited to 'test/files/presentation/random.check')
-rw-r--r-- | test/files/presentation/random.check | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/test/files/presentation/random.check b/test/files/presentation/random.check index 1b73720312..fce4b69fb3 100644 --- a/test/files/presentation/random.check +++ b/test/files/presentation/random.check @@ -4,8 +4,7 @@ askType at Random.scala(18,14) ================================================================================ [response] askTypeAt at (18,14) val filter: Int => Boolean = try { - case <synthetic> val x1: Int = java.this.lang.Integer.parseInt(args.apply(0)); - x1 match { + java.this.lang.Integer.parseInt(args.apply(0)) match { case 1 => ((x: Int) => x.%(2).!=(0)) case 2 => ((x: Int) => x.%(2).==(0)) case _ => ((x: Int) => x.!=(0)) |