diff options
author | Iulian Dragos <jaguarul@gmail.com> | 2009-11-27 14:49:41 +0000 |
---|---|---|
committer | Iulian Dragos <jaguarul@gmail.com> | 2009-11-27 14:49:41 +0000 |
commit | b94c73656e2cd18556073522d47d2a12905b3c6c (patch) | |
tree | 89e267c17b071c08cdfe08c0f1dc0154e7e48e22 | |
parent | 3bf4c1afc082b617b69f4520a71c2eefe30454f7 (diff) | |
download | scala-b94c73656e2cd18556073522d47d2a12905b3c6c.tar.gz scala-b94c73656e2cd18556073522d47d2a12905b3c6c.tar.bz2 scala-b94c73656e2cd18556073522d47d2a12905b3c6c.zip |
Fixed failing test in the optimised case
-rw-r--r-- | test/files/run/t1167.scala | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/test/files/run/t1167.scala b/test/files/run/t1167.scala index a5d938c28a..25e42ffd4d 100644 --- a/test/files/run/t1167.scala +++ b/test/files/run/t1167.scala @@ -3,7 +3,9 @@ */ trait Test1 { - def testFunc(i:Int) = ((i:Int) => i + 5)(i) + def testFunc(i:Int): Unit = { + (i:Int) => i + 5 + } } abstract class Foo { |