diff options
Diffstat (limited to 'tests/pos/functions1.scala')
-rw-r--r-- | tests/pos/functions1.scala | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/tests/pos/functions1.scala b/tests/pos/functions1.scala index 99709bc88..52ea3c3f9 100644 --- a/tests/pos/functions1.scala +++ b/tests/pos/functions1.scala @@ -10,7 +10,7 @@ object Functions { val xf2: String => Int = x.foo(_) val x2: String => Int = x.foo val x3 = x.foo _ - /* + abstract class Spore[T, U] { def run(x: T): U } @@ -29,5 +29,4 @@ object Functions { } val z: Spore[String, String] = x => x + x val z2: Spore2[String, String] = x => x + x - */ } |