diff options
Diffstat (limited to 'compiler')
-rw-r--r-- | compiler/src/dotty/tools/dotc/core/classfile/ClassfileParser.scala | 9 |
1 files changed, 8 insertions, 1 deletions
diff --git a/compiler/src/dotty/tools/dotc/core/classfile/ClassfileParser.scala b/compiler/src/dotty/tools/dotc/core/classfile/ClassfileParser.scala index 1e419a72b..a0e4cc62b 100644 --- a/compiler/src/dotty/tools/dotc/core/classfile/ClassfileParser.scala +++ b/compiler/src/dotty/tools/dotc/core/classfile/ClassfileParser.scala @@ -25,6 +25,8 @@ class ClassfileParser( classRoot: ClassDenotation, moduleRoot: ClassDenotation)(ictx: Context) { + //println(s"parsing ${classRoot.name.debugString} ${moduleRoot.name.debugString}") + import ClassfileConstants._ import ClassfileParser._ @@ -91,7 +93,12 @@ class ClassfileParser( if (currentIsTopLevel) { val c = pool.getClassSymbol(nameIdx) - if (c != classRoot.symbol) mismatchError(c) + if (c != classRoot.symbol) { + println(currentClassName.debugString) // TODO: remove + println(c.name.debugString) + println(classRoot.symbol.name.debugString) + mismatchError(c) + } } addEnclosingTParams() |