From 78b61c43da92f9af2bcd09b61ed08c824f37cd8b Mon Sep 17 00:00:00 2001 From: Adriaan Moors Date: Fri, 21 Aug 2009 16:15:58 +0000 Subject: replaced the implicit `identity` coercion by `c... replaced the implicit `identity` coercion by `conforms`, which can be used to encode generalised constraints the introduction of `conforms` revealed a bug in adaptToMember, which was inferring views while already inferring one, which gave rise to diverging implicits. Predef.identity is no longer special as far as the compiler is concerned. because conforms/identity was no longer prevented from being used as a view (which does not make sense, but preventing it shouldn't be necessary), removeNames in NamesDefaults suddenly didn't detect all ambiguities because it relied on tryTypedApply failing fixed by using an EmptyTree as an ambiguous argument instead of the argument, so failure is guaranteed fixed check file for t0590 new starr fixed the weirdest bug ever: don't know why, but can't change the total number of calls to newTermName in StdNames (so take away the one for "identity", give one back, doesn't matter where --> see "utterweirdness" at the end) the problem manifested itself by not finding Nil. This only happens during start up (when the scala/package.scala file hasn't been compiled yet), when Nil is required before List (because that would have forced Nil to be loaded). --- lib/scala-library-src.jar.desired.sha1 | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'lib/scala-library-src.jar.desired.sha1') diff --git a/lib/scala-library-src.jar.desired.sha1 b/lib/scala-library-src.jar.desired.sha1 index fac8ce0f24..d841bc5f28 100644 --- a/lib/scala-library-src.jar.desired.sha1 +++ b/lib/scala-library-src.jar.desired.sha1 @@ -1 +1 @@ -874a57a6804e974f66aa71014d6823fb88e6a12a ?scala-library-src.jar +77a930b105649c63bab0894fb44c633d3d915f58 ?scala-library-src.jar -- cgit v1.2.3