summaryrefslogtreecommitdiff
path: root/test/files/run/t1167.scala
diff options
context:
space:
mode:
authorIulian Dragos <jaguarul@gmail.com>2009-11-27 14:49:41 +0000
committerIulian Dragos <jaguarul@gmail.com>2009-11-27 14:49:41 +0000
commitb94c73656e2cd18556073522d47d2a12905b3c6c (patch)
tree89e267c17b071c08cdfe08c0f1dc0154e7e48e22 /test/files/run/t1167.scala
parent3bf4c1afc082b617b69f4520a71c2eefe30454f7 (diff)
downloadscala-b94c73656e2cd18556073522d47d2a12905b3c6c.tar.gz
scala-b94c73656e2cd18556073522d47d2a12905b3c6c.tar.bz2
scala-b94c73656e2cd18556073522d47d2a12905b3c6c.zip
Fixed failing test in the optimised case
Diffstat (limited to 'test/files/run/t1167.scala')
-rw-r--r--test/files/run/t1167.scala4
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 {