diff options
author | Martin Odersky <odersky@gmail.com> | 2006-09-03 15:18:32 +0000 |
---|---|---|
committer | Martin Odersky <odersky@gmail.com> | 2006-09-03 15:18:32 +0000 |
commit | 9ea0d2b4bcc7a5550a94c522402adb90ab3f0e18 (patch) | |
tree | c4a9727654e94682e2e751e0190835a299330187 | |
parent | 132637e42e4b45dd73b907ea5f63273876d2e99f (diff) | |
download | scala-9ea0d2b4bcc7a5550a94c522402adb90ab3f0e18.tar.gz scala-9ea0d2b4bcc7a5550a94c522402adb90ab3f0e18.tar.bz2 scala-9ea0d2b4bcc7a5550a94c522402adb90ab3f0e18.zip |
-rw-r--r-- | src/compiler/scala/tools/nsc/symtab/Symbols.scala | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/compiler/scala/tools/nsc/symtab/Symbols.scala b/src/compiler/scala/tools/nsc/symtab/Symbols.scala index c4c61d4b46..b75dedbda7 100644 --- a/src/compiler/scala/tools/nsc/symtab/Symbols.scala +++ b/src/compiler/scala/tools/nsc/symtab/Symbols.scala @@ -641,7 +641,7 @@ trait Symbols requires SymbolTable { final def toInterface: Symbol = if (isImplClass) { val result = - if (phase.erasedTypes) { + if (phase.erasedTypes || phase.name == "erasure") { assert(!tpe.parents.isEmpty, this) tpe.parents.last.symbol } else { |