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
17 lines
1.3 KiB
Plaintext
Vendored
17 lines
1.3 KiB
Plaintext
Vendored
public/*package*/ open class AnnotatedParameterInInnerClassConstructor : R|kotlin/Any| {
|
|
public/*package*/ constructor(): R|test/AnnotatedParameterInInnerClassConstructor|
|
|
|
|
public final annotation class Anno : R|kotlin/Annotation| {
|
|
public constructor(value: R|kotlin/String|): R|test/AnnotatedParameterInInnerClassConstructor.Anno|
|
|
|
|
}
|
|
public/*package*/ open inner class Inner : R|kotlin/Any| {
|
|
public/*package*/ test/AnnotatedParameterInInnerClassConstructor.constructor(@R|test/AnnotatedParameterInInnerClassConstructor.Anno|(value = String(a)) a: R|ft<kotlin/String, kotlin/String?>|, @R|test/AnnotatedParameterInInnerClassConstructor.Anno|(value = String(b)) b: R|ft<kotlin/String, kotlin/String?>|): R|test/AnnotatedParameterInInnerClassConstructor.Inner|
|
|
|
|
}
|
|
public/*package*/ open inner class InnerGeneric<T : R|ft<kotlin/Any, kotlin/Any?>|> : R|kotlin/Any| {
|
|
public/*package*/ test/AnnotatedParameterInInnerClassConstructor.constructor<T : R|ft<kotlin/Any, kotlin/Any?>|>(@R|test/AnnotatedParameterInInnerClassConstructor.Anno|(value = String(a)) a: R|ft<kotlin/String, kotlin/String?>|, @R|test/AnnotatedParameterInInnerClassConstructor.Anno|(value = String(b)) b: R|ft<kotlin/String, kotlin/String?>|): R|test/AnnotatedParameterInInnerClassConstructor.InnerGeneric<T>|
|
|
|
|
}
|
|
}
|