Adjust class label generation to handle classes in field initializers

This commit is contained in:
Tamas Vajk
2022-05-05 12:45:59 +02:00
committed by Chris Smowton
parent 394ec56d9d
commit 857a74cf14
4 changed files with 894 additions and 2710 deletions

View File

@@ -1018,6 +1018,9 @@ open class KotlinUsesExtractor(
is IrFunction -> {
"{${useFunction<DbMethod>(parent)}}.$cls"
}
is IrField -> {
"{${useField(parent)}}.$cls"
}
else -> {
if (pkg.isEmpty()) cls else "$pkg.$cls"
}