mirror of
https://github.com/jlengrand/kotlin.git
synced 2026-03-10 08:31:29 +00:00
[IR] Fix isFileClass checker
This commit is contained in:
@@ -37,7 +37,7 @@ val IrDeclarationParent.kotlinFqName: FqName
|
||||
get() = when (this) {
|
||||
is IrPackageFragment -> this.fqName
|
||||
is IrClass -> {
|
||||
if (origin == IrDeclarationOrigin.FILE_CLASS) {
|
||||
if (isFileClass) {
|
||||
parent.kotlinFqName
|
||||
} else {
|
||||
parent.kotlinFqName.child(nameForIrSerialization)
|
||||
|
||||
Reference in New Issue
Block a user