diff options
author | Paul Phillips <paulp@improving.org> | 2011-01-07 06:18:26 +0000 |
---|---|---|
committer | Paul Phillips <paulp@improving.org> | 2011-01-07 06:18:26 +0000 |
commit | 57ea3841d29a5c3d48eee68868780b19f1a49166 (patch) | |
tree | 7108d28edcbe4bcd8263ddc403d66bb033d4f653 /test/files/neg | |
parent | 5d022058c4fb2f448eee35d6df7f508c24d2a0be (diff) | |
download | scala-57ea3841d29a5c3d48eee68868780b19f1a49166.tar.gz scala-57ea3841d29a5c3d48eee68868780b19f1a49166.tar.bz2 scala-57ea3841d29a5c3d48eee68868780b19f1a49166.zip |
Apparently my flailing attempts to make things ...
Apparently my flailing attempts to make things faster earned me the
pity of Tiark, who sent this monster patch which he probably dashed
off before the appetizers had been cleared away. All the steak is his
but I threw in a little sizzle so I could feel like a part of things.
It knocks about a bazillion miniseconds off the time spent in implicit
search.
This is the same patch martin already endorsed, give or take several
hundred lines of diff, so I will say no review, even though I know it
will be hard to look away. I trimmed most of the "speculative code"
(that is, the commented out bits) because it's getting awfully busy
along those sidelines. I will preserve the ideas in some more structured
form.
Diffstat (limited to 'test/files/neg')
-rw-r--r-- | test/files/neg/bug900.check | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/test/files/neg/bug900.check b/test/files/neg/bug900.check index 6085ffea06..95f71557b8 100644 --- a/test/files/neg/bug900.check +++ b/test/files/neg/bug900.check @@ -2,7 +2,7 @@ bug900.scala:4: error: type mismatch; found : Foo.this.x.type (with underlying type Foo.this.bar) required: AnyRef Note that implicit conversions are not applicable because they are ambiguous: - both method any2stringadd in object Predef of type (x: Any)scala.runtime.StringAdd + both method any2Ensuring in object Predef of type [A](x: A)Ensuring[A] and method any2ArrowAssoc in object Predef of type [A](x: A)ArrowAssoc[A] are possible conversion functions from Foo.this.x.type to AnyRef def break(): x.type |