Skip to content

Commit 8c6339b

Browse files
oderskyDarkDimius
authored andcommitted
Add support of Shadowed names to TastyPrinter
1 parent 83e7b23 commit 8c6339b

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

src/dotty/tools/dotc/core/pickling/TastyPrinter.scala

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -24,6 +24,7 @@ class TastyPrinter(bytes: Array[Byte])(implicit ctx: Context) {
2424
case ModuleClass(original) => nameRefToString(original) + "/MODULECLASS"
2525
case SuperAccessor(accessed) => nameRefToString(accessed) + "/SUPERACCESSOR"
2626
case DefaultGetter(meth, num) => nameRefToString(meth) + "/DEFAULTGETTER" + num
27+
case Shadowed(original) => nameRefToString(original) + "/SHADOWED"
2728
}
2829

2930
def nameRefToString(ref: NameRef): String = nameToString(tastyName(ref))

0 commit comments

Comments
 (0)