Skip to content

Commit 6178648

Browse files
committed
Drop isSimple requirement for unmangling expanded names
Looks like it's not required.
1 parent 656eabe commit 6178648

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

compiler/src/dotty/tools/dotc/core/unpickleScala2/Scala2Unpickler.scala

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -439,7 +439,7 @@ class Scala2Unpickler(bytes: Array[Byte], classRoot: ClassDenotation, moduleClas
439439
if (name == nme.TRAIT_CONSTRUCTOR) nme.CONSTRUCTOR
440440
else name.asTermName.unmangle(Scala2MethodNameKinds)
441441
}
442-
if ((flags is Scala2ExpandedName) && name.isSimple) {
442+
if ((flags is Scala2ExpandedName)) {
443443
name = name.unmangle(ExpandedName)
444444
flags = flags &~ Scala2ExpandedName
445445
}

0 commit comments

Comments
 (0)