mirror of
https://github.com/github/codeql.git
synced 2025-12-22 19:56:32 +01:00
Adjust class label generation to handle classes in field initializers
This commit is contained in:
committed by
Chris Smowton
parent
394ec56d9d
commit
857a74cf14
@@ -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"
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user