From d838e10f7bad42762584a1390ef6fd85b4796d46 Mon Sep 17 00:00:00 2001 From: Paul Phillips Date: Wed, 1 Jun 2011 05:15:49 +0000 Subject: The eagerly awaited companion commit to r23622,... The eagerly awaited companion commit to r23622, the surprise hit of last winter. Singletons now have the singleton type inferred in monomorphic contexts as well. In english: scala> object X defined module X scala> def f = X f: X.type Wait, that's not english. English review by moors. --- test/files/jvm/interpreter.check | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'test/files/jvm/interpreter.check') diff --git a/test/files/jvm/interpreter.check b/test/files/jvm/interpreter.check index 25804a3a60..42a8ae8855 100644 --- a/test/files/jvm/interpreter.check +++ b/test/files/jvm/interpreter.check @@ -370,5 +370,5 @@ plusOne: (x: Int)Int res0: Int = 6 res1: java.lang.String = after reset :8: error: not found: value plusOne - plusOne(5) // should be undefined now - ^ + plusOne(5) // should be undefined now + ^ -- cgit v1.2.3