summaryrefslogtreecommitdiff
path: root/test/files/run/t1167.scala
diff options
context:
space:
mode:
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 {