[Raw FIR] Keep the name of an anonymous object of enum entry in classId of its nested classes
It is needed to have an ability to distinguish those two cases in FIR2IR: Without this change the following tests fail: - org.jetbrains.kotlin.test.runners.codegen.FirPsiBlackBoxCodegenTestGenerated.Enum - testEnumEntryReferenceFromInnerClassConstructor1() - testEnumEntryReferenceFromInnerClassConstructor2() - testEnumEntryReferenceFromInnerClassConstructor3() - testInnerClassMethodInEnumEntryClass() - testInnerClassMethodInEnumEntryClass2() - testKt9711_2() - testDeepInnerClassInEnumEntryClass() - testKt7257_boundReference1() - testInnerClassInEnumEntryClass() - testKt44744_innerClass()
This commit is contained in:
committed by
Space Team
parent
000c24fc69
commit
22f55b3dc4
Vendored
+1
-1
@@ -23,7 +23,7 @@ FILE: localDeclarationsInEnumEntry.kt
|
||||
}
|
||||
|
||||
local final? [ContainingClassKey=<anonymous>] class Nested : R|kotlin/Any| {
|
||||
public? [ContainingClassKey=Nested] constructor(): R|<local>/Nested| {
|
||||
public? [ContainingClassKey=Nested] constructor(): R|<local>/<anonymous>.Nested| {
|
||||
super<R|kotlin/Any|>()
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user