Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit 40976a9

Browse files
committed
Kotlin: Fix a bad label expansion
We were making a key @"class;ClassLabelResults(classLabel=java.io.Console, shortName=Console)\$LineReader"
1 parent c05aab2 commit 40976a9

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

java/kotlin-extractor/src/main/kotlin/KotlinUsesExtractor.kt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -563,7 +563,7 @@ class X {
563563
val label = if (parent is IrClass) {
564564
// todo: fix this. Ugly string concat to handle nested class IDs.
565565
// todo: Can the containing class have type arguments?
566-
"${getUnquotedClassLabel(parent, listOf())}\$$cls"
566+
"${getUnquotedClassLabel(parent, listOf()).classLabel}\$$cls"
567567
} else {
568568
if (pkg.isEmpty()) cls else "$pkg.$cls"
569569
}

0 commit comments

Comments
 (0)