From b94c73656e2cd18556073522d47d2a12905b3c6c Mon Sep 17 00:00:00 2001 From: Iulian Dragos Date: Fri, 27 Nov 2009 14:49:41 +0000 Subject: Fixed failing test in the optimised case --- test/files/run/t1167.scala | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'test/files/run/t1167.scala') 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 { -- cgit v1.2.3