aboutsummaryrefslogtreecommitdiff
path: root/src/dotty/tools/dotc/core/Types.scala
diff options
context:
space:
mode:
authorMartin Odersky <odersky@gmail.com>2015-12-03 10:31:15 +0100
committerMartin Odersky <odersky@gmail.com>2015-12-06 16:09:22 +0100
commit8db7a9b8914e0f66207db9d998f1186f8e195f85 (patch)
tree2ae3d1effab27980cc5b6580a41d97da470c0864 /src/dotty/tools/dotc/core/Types.scala
parent05c0e55850a5b086e38d3a54e937106f727fbe8e (diff)
downloaddotty-8db7a9b8914e0f66207db9d998f1186f8e195f85.tar.gz
dotty-8db7a9b8914e0f66207db9d998f1186f8e195f85.tar.bz2
dotty-8db7a9b8914e0f66207db9d998f1186f8e195f85.zip
Fix bug computing typeParams for hk types
Arg bounds do not count is bindings. Also: TypeLambda's $Apply binding should be covariant, because the parameter is (not sure it matters though).
Diffstat (limited to 'src/dotty/tools/dotc/core/Types.scala')
-rw-r--r--src/dotty/tools/dotc/core/Types.scala2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/dotty/tools/dotc/core/Types.scala b/src/dotty/tools/dotc/core/Types.scala
index 84d74b0f4..4af4d0c14 100644
--- a/src/dotty/tools/dotc/core/Types.scala
+++ b/src/dotty/tools/dotc/core/Types.scala
@@ -1929,7 +1929,7 @@ object Types {
false
}
override def computeHash = doHash(refinedName, refinedInfo, parent)
- override def toString = s"RefinedType($parent, $refinedName, $refinedInfo | $hashCode)" // !!! TODO: remove
+ override def toString = s"RefinedType($parent, $refinedName, $refinedInfo)"
}
class CachedRefinedType(parent: Type, refinedName: Name, infoFn: RefinedType => Type) extends RefinedType(parent, refinedName) {