diff options
author | Martin Odersky <odersky@gmail.com> | 2005-11-24 14:22:54 +0000 |
---|---|---|
committer | Martin Odersky <odersky@gmail.com> | 2005-11-24 14:22:54 +0000 |
commit | d8e21c31629b27b6ec5f764d2d06da63fa7602be (patch) | |
tree | 938c8da2a2364c0bdac4a3ba78f0cc1d111cf491 /sources/scala/tools/nsc/symtab/Symbols.scala | |
parent | a47b13bd5f8687b6a415dc55257d01a5f1882f6a (diff) | |
download | scala-d8e21c31629b27b6ec5f764d2d06da63fa7602be.tar.gz scala-d8e21c31629b27b6ec5f764d2d06da63fa7602be.tar.bz2 scala-d8e21c31629b27b6ec5f764d2d06da63fa7602be.zip |
*** empty log message ***
Diffstat (limited to 'sources/scala/tools/nsc/symtab/Symbols.scala')
-rwxr-xr-x | sources/scala/tools/nsc/symtab/Symbols.scala | 12 |
1 files changed, 1 insertions, 11 deletions
diff --git a/sources/scala/tools/nsc/symtab/Symbols.scala b/sources/scala/tools/nsc/symtab/Symbols.scala index 57f5c99eb1..d2452a4482 100755 --- a/sources/scala/tools/nsc/symtab/Symbols.scala +++ b/sources/scala/tools/nsc/symtab/Symbols.scala @@ -850,7 +850,7 @@ import Flags._; tpeCache = NoType; val targs = if (phase.erasedTypes && this != ArrayClass) List() else unsafeTypeParams map (.tpe); - tpeCache = typeRef(if (isTypeParameter) NoPrefix else owner.thisType, this, targs) + tpeCache = typeRef(if (isTypeParameterOrSkolem) NoPrefix else owner.thisType, this, targs) } } assert(tpeCache != null/*, "" + this + " " + phase*/);//debug @@ -1003,16 +1003,6 @@ import Flags._; syms1 } - def newTypeSkolems(tparams: List[Symbol]): List[Symbol] = { - val tskolems = tparams map (.newTypeSkolem); - val ltp = new LazyType { - override def complete(sym: Symbol): unit = - sym setInfo sym.deSkolemize.info.substSym(tparams, tskolems); - } - tskolems foreach (.setInfo(ltp)); - tskolems - } - /** An exception for cyclic references of symbol definitions */ case class CyclicReference(sym: Symbol, info: Type) extends TypeError("illegal cyclic reference involving " + sym); |