9b9c51bc8d
1. Inner class constructor should have its outer class as a dispatch receiver, since it is necessary for the call. Before it was null 2. Substituted inner class constructor should have its original dispatch receiver type with the proper substitution. Before it was set to the class itself (since the class was usually passed as a new dispatch receiver) Also, modify FIR renderer, so it properly renders the dispatch receiver of the constructors
28 lines
951 B
Plaintext
Vendored
28 lines
951 B
Plaintext
Vendored
public final enum class Enum : R|kotlin/Enum<ft<test/Enum, test/Enum?>>| {
|
|
public final static enum entry A: R|@EnhancedNullability test/Enum|
|
|
public final static enum entry B: R|@EnhancedNullability test/Enum|
|
|
public final static enum entry C: R|@EnhancedNullability test/Enum|
|
|
public final static fun values(): R|kotlin/Array<test/Enum>| {
|
|
}
|
|
|
|
public final static fun valueOf(value: R|kotlin/String|): R|test/Enum| {
|
|
}
|
|
|
|
public open inner class Inner : R|kotlin/Any| {
|
|
public/*package*/ open fun bar(): R|kotlin/Unit|
|
|
|
|
public/*package*/ open fun valueOf(s: R|ft<kotlin/String, kotlin/String?>|): R|kotlin/Unit|
|
|
|
|
public test/Enum.constructor(): R|test/Enum.Inner|
|
|
|
|
}
|
|
public open class Nested : R|kotlin/Any| {
|
|
public/*package*/ open fun foo(): R|kotlin/Unit|
|
|
|
|
public/*package*/ open fun values(): R|kotlin/Unit|
|
|
|
|
public constructor(): R|test/Enum.Nested|
|
|
|
|
}
|
|
}
|