diff options
-rw-r--r-- | src/dotty/tools/dotc/core/pickling/UnPickler.scala | 2 | ||||
-rw-r--r-- | test/test/showClass.scala | 6 |
2 files changed, 4 insertions, 4 deletions
diff --git a/src/dotty/tools/dotc/core/pickling/UnPickler.scala b/src/dotty/tools/dotc/core/pickling/UnPickler.scala index cded46014..c09ff8072 100644 --- a/src/dotty/tools/dotc/core/pickling/UnPickler.scala +++ b/src/dotty/tools/dotc/core/pickling/UnPickler.scala @@ -506,7 +506,7 @@ class UnPickler(bytes: Array[Byte], classRoot: ClassDenotation, moduleClassRoot: assert(denot is (SuperAccessor | ParamAccessor), denot) def disambiguate(alt: Symbol) = { // !!! DEBUG cctx.debugTraceIndented(s"disambiguating ${denot.info} =:= ${ denot.owner.thisType.memberInfo(alt)} ${denot.owner}") { - denot.info =:= denot.owner.thisType.memberInfo(alt) + denot.info matches denot.owner.thisType.memberInfo(alt) } } val alias = readDisambiguatedSymbolRef(disambiguate).asTerm diff --git a/test/test/showClass.scala b/test/test/showClass.scala index 06b85f681..6eb3d81d1 100644 --- a/test/test/showClass.scala +++ b/test/test/showClass.scala @@ -6,9 +6,9 @@ object showClass extends ShowClassTests { def main(args: Array[String]) = { for (arg <- args) showPackage(ctx.requiredPackage(arg)) -// showClasses("scala.reflect.io.FileZipArchive") - showPackage("scala.reflect") -// showPackage("scala") +// showClasses("scala.collection.TraversableOnce") + showPackage("scala.collection") +// showPackage("scala.collection") println("done") } } |