Do not store ClassDescriptor in EnumValue
Only store the ClassId of the enum class and the Name of the entry, and resolve the needed descriptor in getType() instead, which now takes the module instance where that descriptor should be resolved
This commit is contained in:
+1
-1
@@ -5,7 +5,7 @@ public final annotation class Anno : kotlin.Annotation {
|
||||
public final val e: test.E
|
||||
}
|
||||
|
||||
@test.Anno(e = Unresolved enum entry: test/E.ENTRY) public open class Class {
|
||||
@test.Anno(e = E.ENTRY) public open class Class {
|
||||
public constructor Class()
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user