summaryrefslogtreecommitdiff
path: root/test/files/neg/wellkinded_wrongarity.check
diff options
context:
space:
mode:
authorAdriaan Moors <adriaan.moors@epfl.ch>2007-06-20 12:51:39 +0000
committerAdriaan Moors <adriaan.moors@epfl.ch>2007-06-20 12:51:39 +0000
commita4faf441711afcccaffb2329bc409139c604eb4c (patch)
treeaeabaf86b603a975b7aa95fb18917ea4b11eb6d3 /test/files/neg/wellkinded_wrongarity.check
parentff5d9c9afa938429d94330b5325a492205cead5d (diff)
downloadscala-a4faf441711afcccaffb2329bc409139c604eb4c.tar.gz
scala-a4faf441711afcccaffb2329bc409139c604eb4c.tar.bz2
scala-a4faf441711afcccaffb2329bc409139c604eb4c.zip
fixed bug1188
fix kind-checking in adapt: it checked tree.symbol.typeParams, which makes m[t] look like a higher-kinded type, even though it's of kind * (the symbol doesn't know about the application to t)... now using tree.tpe.typeParams removed check for tree.hasSymbol (TypeTree's must also be checked, and they don't directly have a symbol) replaced tree.symbol by tree.tpe.symbol
Diffstat (limited to 'test/files/neg/wellkinded_wrongarity.check')
-rw-r--r--test/files/neg/wellkinded_wrongarity.check2
1 files changed, 1 insertions, 1 deletions
diff --git a/test/files/neg/wellkinded_wrongarity.check b/test/files/neg/wellkinded_wrongarity.check
index 548b5e40bb..1dc38db5c1 100644
--- a/test/files/neg/wellkinded_wrongarity.check
+++ b/test/files/neg/wellkinded_wrongarity.check
@@ -1,4 +1,4 @@
-wellkinded_wrongarity.scala:5: error: type Pair takes two type parameters, expected: one
+wellkinded_wrongarity.scala:5: error: Pair takes two type parameters, expected: one
object mp extends Monad[Pair]
^
one error found