Skip to content

Commit aafd1cd

Browse files
committed
Add support of Shadowed names to TastyPrinter
1 parent 5216188 commit aafd1cd

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)