diff options
author | Adriaan Moors <adriaan.moors@epfl.ch> | 2007-04-16 11:23:30 +0000 |
---|---|---|
committer | Adriaan Moors <adriaan.moors@epfl.ch> | 2007-04-16 11:23:30 +0000 |
commit | 24eb581d805653215fce5f931f78789e31924800 (patch) | |
tree | 3c0690df90110449a36a10461cae0260fca7ca74 /test/files/neg/bug900.check | |
parent | 3d9d369b7147f3933cce9932d2914f68d39418c3 (diff) | |
download | scala-24eb581d805653215fce5f931f78789e31924800.tar.gz scala-24eb581d805653215fce5f931f78789e31924800.tar.bz2 scala-24eb581d805653215fce5f931f78789e31924800.zip |
implementing Martin's suggestions for tcpoly
- prefixString in SingleType suppresses scala.Predef prefixes
- (sym.isPredefModule) better handling of double defs of `_' in type
- params (now in enterInScope in Namers) introduced HKmode to indicate
- we're typing a higher-kinded type, instead of reusing POLYmode |
- TAPPmode
- Typers.typedTypeConstructor does not normalize the result anymore -- now in GenICode
generatedType = toTypeKind(tpt.tpe.normalize)
Diffstat (limited to 'test/files/neg/bug900.check')
-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 0bb5edad80..3345255231 100644 --- a/test/files/neg/bug900.check +++ b/test/files/neg/bug900.check @@ -3,7 +3,7 @@ bug900.scala:4: error: type mismatch; required: scala.AnyRef Note that implicit conversions are not applicable because they are ambiguous: both method any2stringadd in object Predef of type (scala.Any)scala.runtime.StringAdd - and method any2ArrowAssoc in object Predef of type [a](a)scala.Predef.ArrowAssoc[a] + and method any2ArrowAssoc in object Predef of type [a](a)ArrowAssoc[a] are possible conversion functions from Foo.this.x.type to scala.AnyRef def break(): x.type ^ |