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/bug856.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/bug856.check')
-rw-r--r-- | test/files/neg/bug856.check | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/test/files/neg/bug856.check b/test/files/neg/bug856.check index e78077f437..80c4deeea2 100644 --- a/test/files/neg/bug856.check +++ b/test/files/neg/bug856.check @@ -1,4 +1,4 @@ -bug856.scala:3: error: class ComplexRect needs to be abstract, since method _2 in trait Product2 of type => scala.Predef.double is not defined +bug856.scala:3: error: class ComplexRect needs to be abstract, since method _2 in trait Product2 of type => double is not defined class ComplexRect(val _1:double, _2:double) extends Complex { ^ one error found |