FIR: set dispatch receiver parameter for inner class's constructor.
This commit is contained in:
committed by
Mikhail Glukhikh
parent
4558d48481
commit
cdf5a2a5a1
Vendored
+2
-1
@@ -9,7 +9,8 @@ FILE fqName:test fileName:/boundInnerGenericConstructor.kt
|
||||
CLASS CLASS name:Inner modality:FINAL visibility:public [inner] superTypes:[kotlin.Any]
|
||||
$this: VALUE_PARAMETER INSTANCE_RECEIVER name:<this> type:test.Foo.Inner<P of test.Foo.Inner>
|
||||
TYPE_PARAMETER name:P index:0 variance: superTypes:[kotlin.Any?]
|
||||
CONSTRUCTOR visibility:public <> (a:T of test.Foo, b:P of test.Foo.Inner) returnType:test.Foo.Inner<P of test.Foo.Inner> [primary]
|
||||
CONSTRUCTOR visibility:public <> ($this:test.Foo.Inner<P of test.Foo.Inner>, a:T of test.Foo, b:P of test.Foo.Inner) returnType:test.Foo.Inner<P of test.Foo.Inner> [primary]
|
||||
$outer: VALUE_PARAMETER name:<this> type:test.Foo.Inner<P of test.Foo.Inner>
|
||||
VALUE_PARAMETER name:a index:0 type:T of test.Foo
|
||||
VALUE_PARAMETER name:b index:1 type:P of test.Foo.Inner
|
||||
BLOCK_BODY
|
||||
|
||||
Vendored
+2
-1
@@ -34,7 +34,8 @@ FILE fqName:<root> fileName:/constructorWithAdaptedArguments.kt
|
||||
INSTANCE_INITIALIZER_CALL classDescriptor='CLASS CLASS name:Outer modality:FINAL visibility:public superTypes:[kotlin.Any]'
|
||||
CLASS CLASS name:Inner modality:FINAL visibility:public [inner] superTypes:[kotlin.Any]
|
||||
$this: VALUE_PARAMETER INSTANCE_RECEIVER name:<this> type:<root>.Outer.Inner
|
||||
CONSTRUCTOR visibility:public <> (xs:kotlin.IntArray) returnType:<root>.Outer.Inner [primary]
|
||||
CONSTRUCTOR visibility:public <> ($this:<root>.Outer.Inner, xs:kotlin.IntArray) returnType:<root>.Outer.Inner [primary]
|
||||
$outer: VALUE_PARAMETER name:<this> type:<root>.Outer.Inner
|
||||
VALUE_PARAMETER name:xs index:0 type:kotlin.IntArray varargElementType:kotlin.Int [vararg]
|
||||
BLOCK_BODY
|
||||
DELEGATING_CONSTRUCTOR_CALL 'public constructor <init> () [primary] declared in kotlin.Any'
|
||||
|
||||
Reference in New Issue
Block a user