diff options
author | Paul Phillips <paulp@improving.org> | 2012-02-02 20:14:30 -0800 |
---|---|---|
committer | Paul Phillips <paulp@improving.org> | 2012-05-01 23:41:46 -0700 |
commit | b27abca41a2503747b3aeeecf8b8cb355159265f (patch) | |
tree | 72d919a389fb5eefaef3bc6ad1a565d56c06b7a2 /src/compiler/scala/tools/nsc/symtab/classfile/ClassfileParser.scala | |
parent | bbad15b59167dbf9780abbec56d6f817372c40c7 (diff) | |
download | scala-b27abca41a2503747b3aeeecf8b8cb355159265f.tar.gz scala-b27abca41a2503747b3aeeecf8b8cb355159265f.tar.bz2 scala-b27abca41a2503747b3aeeecf8b8cb355159265f.zip |
tpe -> tpeHK here and there.
Review by @moors.
Diffstat (limited to 'src/compiler/scala/tools/nsc/symtab/classfile/ClassfileParser.scala')
-rw-r--r-- | src/compiler/scala/tools/nsc/symtab/classfile/ClassfileParser.scala | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/compiler/scala/tools/nsc/symtab/classfile/ClassfileParser.scala b/src/compiler/scala/tools/nsc/symtab/classfile/ClassfileParser.scala index 3d3cea75d6..b51c8baa31 100644 --- a/src/compiler/scala/tools/nsc/symtab/classfile/ClassfileParser.scala +++ b/src/compiler/scala/tools/nsc/symtab/classfile/ClassfileParser.scala @@ -732,7 +732,7 @@ abstract class ClassfileParser { } val newtparam = sym.newExistential(newTypeName("?"+i), sym.pos) setInfo bounds existentials += newtparam - xs += newtparam.tpe //@M should probably be .tpeHK + xs += newtparam.tpeHK i += 1 case _ => xs += sig2type(tparams, skiptvs) @@ -746,7 +746,7 @@ abstract class ClassfileParser { } else { // raw type - existentially quantify all type parameters val eparams = typeParamsToExistentials(classSym, classSym.unsafeTypeParams) - val t = typeRef(pre, classSym, eparams.map(_.tpe)) + val t = typeRef(pre, classSym, eparams.map(_.tpeHK)) val res = newExistentialType(eparams, t) if (settings.debug.value && settings.verbose.value) println("raw type " + classSym + " -> " + res) |