diff options
author | Martin Odersky <odersky@gmail.com> | 2013-12-25 10:57:16 +0100 |
---|---|---|
committer | Martin Odersky <odersky@gmail.com> | 2013-12-25 10:57:16 +0100 |
commit | 9a474a87b86105e0b5b935e8b20dc3fc25338da4 (patch) | |
tree | cd373579373491cac52a680a058be0d03fd19599 | |
parent | d0105688105dd31260376179113ec94cdb1179a2 (diff) | |
download | dotty-9a474a87b86105e0b5b935e8b20dc3fc25338da4.tar.gz dotty-9a474a87b86105e0b5b935e8b20dc3fc25338da4.tar.bz2 dotty-9a474a87b86105e0b5b935e8b20dc3fc25338da4.zip |
Fix bug in uninstantiatedTypeParams
-rw-r--r-- | src/dotty/tools/dotc/core/TypeApplications.scala | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/dotty/tools/dotc/core/TypeApplications.scala b/src/dotty/tools/dotc/core/TypeApplications.scala index 98249d8c9..4080d74dc 100644 --- a/src/dotty/tools/dotc/core/TypeApplications.scala +++ b/src/dotty/tools/dotc/core/TypeApplications.scala @@ -82,7 +82,7 @@ class TypeApplications(val self: Type) extends AnyVal { } def uninstantiatedTypeParams(implicit ctx: Context): List[TypeSymbol] = - typeParams filter (tparam => self.member(tparam.name) == tparam) + typeParams filter (tparam => self.member(tparam.name).symbol == tparam) /** Encode the type resulting from applying this type to given arguments */ final def appliedTo(args: List[Type])(implicit ctx: Context): Type = track("appliedTo") { |