FIR2IR: provide type arguments for class 'this' receiver
This commit is contained in:
committed by
Mikhail Glukhikh
parent
df07b77271
commit
8e35545e10
+14
-14
@@ -1,6 +1,6 @@
|
||||
FILE fqName:<root> fileName:/genericClassInDifferentModule_m1.kt
|
||||
CLASS CLASS name:Base modality:ABSTRACT visibility:public superTypes:[kotlin.Any]
|
||||
$this: VALUE_PARAMETER INSTANCE_RECEIVER name:<this> type:<root>.Base
|
||||
$this: VALUE_PARAMETER INSTANCE_RECEIVER name:<this> type:<root>.Base<T of <root>.Base>
|
||||
TYPE_PARAMETER name:T index:0 variance: superTypes:[kotlin.Any?]
|
||||
CONSTRUCTOR visibility:public <> (x:T of <root>.Base) returnType:<root>.Base<T of <root>.Base> [primary]
|
||||
VALUE_PARAMETER name:x index:0 type:T of <root>.Base
|
||||
@@ -11,32 +11,32 @@ FILE fqName:<root> fileName:/genericClassInDifferentModule_m1.kt
|
||||
FIELD PROPERTY_BACKING_FIELD name:x type:T of <root>.Base visibility:private [final]
|
||||
EXPRESSION_BODY
|
||||
GET_VAR 'x: T of <root>.Base declared in <root>.Base.<init>' type=T of <root>.Base origin=INITIALIZE_PROPERTY_FROM_PARAMETER
|
||||
FUN DEFAULT_PROPERTY_ACCESSOR name:<get-x> visibility:public modality:FINAL <> ($this:<root>.Base) returnType:T of <root>.Base
|
||||
FUN DEFAULT_PROPERTY_ACCESSOR name:<get-x> visibility:public modality:FINAL <> ($this:<root>.Base<T of <root>.Base>) returnType:T of <root>.Base
|
||||
correspondingProperty: PROPERTY name:x visibility:public modality:FINAL [val]
|
||||
$this: VALUE_PARAMETER name:<this> type:<root>.Base
|
||||
$this: VALUE_PARAMETER name:<this> type:<root>.Base<T of <root>.Base>
|
||||
BLOCK_BODY
|
||||
RETURN type=kotlin.Nothing from='public final fun <get-x> (): T of <root>.Base declared in <root>.Base'
|
||||
GET_FIELD 'FIELD PROPERTY_BACKING_FIELD name:x type:T of <root>.Base visibility:private [final]' type=T of <root>.Base origin=null
|
||||
receiver: GET_VAR '<this>: <root>.Base declared in <root>.Base.<get-x>' type=<root>.Base origin=null
|
||||
FUN name:foo visibility:public modality:ABSTRACT <Y> ($this:<root>.Base, y:Y of <root>.Base.foo) returnType:T of <root>.Base
|
||||
receiver: GET_VAR '<this>: <root>.Base<T of <root>.Base> declared in <root>.Base.<get-x>' type=<root>.Base<T of <root>.Base> origin=null
|
||||
FUN name:foo visibility:public modality:ABSTRACT <Y> ($this:<root>.Base<T of <root>.Base>, y:Y of <root>.Base.foo) returnType:T of <root>.Base
|
||||
TYPE_PARAMETER name:Y index:0 variance: superTypes:[kotlin.Any?]
|
||||
$this: VALUE_PARAMETER name:<this> type:<root>.Base
|
||||
$this: VALUE_PARAMETER name:<this> type:<root>.Base<T of <root>.Base>
|
||||
VALUE_PARAMETER name:y index:0 type:Y of <root>.Base.foo
|
||||
PROPERTY name:bar visibility:public modality:ABSTRACT [var]
|
||||
FUN DEFAULT_PROPERTY_ACCESSOR name:<get-bar> visibility:public modality:ABSTRACT <> ($this:<root>.Base) returnType:T of <root>.Base
|
||||
FUN DEFAULT_PROPERTY_ACCESSOR name:<get-bar> visibility:public modality:ABSTRACT <> ($this:<root>.Base<T of <root>.Base>) returnType:T of <root>.Base
|
||||
correspondingProperty: PROPERTY name:bar visibility:public modality:ABSTRACT [var]
|
||||
$this: VALUE_PARAMETER name:<this> type:<root>.Base
|
||||
FUN DEFAULT_PROPERTY_ACCESSOR name:<set-bar> visibility:public modality:ABSTRACT <> ($this:<root>.Base, <set-?>:T of <root>.Base) returnType:kotlin.Unit
|
||||
$this: VALUE_PARAMETER name:<this> type:<root>.Base<T of <root>.Base>
|
||||
FUN DEFAULT_PROPERTY_ACCESSOR name:<set-bar> visibility:public modality:ABSTRACT <> ($this:<root>.Base<T of <root>.Base>, <set-?>:T of <root>.Base) returnType:kotlin.Unit
|
||||
correspondingProperty: PROPERTY name:bar visibility:public modality:ABSTRACT [var]
|
||||
$this: VALUE_PARAMETER name:<this> type:<root>.Base
|
||||
$this: VALUE_PARAMETER name:<this> type:<root>.Base<T of <root>.Base>
|
||||
VALUE_PARAMETER name:<set-?> index:0 type:T of <root>.Base
|
||||
PROPERTY name:exn visibility:public modality:ABSTRACT [var]
|
||||
FUN DEFAULT_PROPERTY_ACCESSOR name:<get-exn> visibility:public modality:ABSTRACT <> ($this:<root>.Base) returnType:T of <root>.Base
|
||||
FUN DEFAULT_PROPERTY_ACCESSOR name:<get-exn> visibility:public modality:ABSTRACT <> ($this:<root>.Base<T of <root>.Base>) returnType:T of <root>.Base
|
||||
correspondingProperty: PROPERTY name:exn visibility:public modality:ABSTRACT [var]
|
||||
$this: VALUE_PARAMETER name:<this> type:<root>.Base
|
||||
FUN DEFAULT_PROPERTY_ACCESSOR name:<set-exn> visibility:public modality:ABSTRACT <> ($this:<root>.Base, <set-?>:T of <root>.Base) returnType:kotlin.Unit
|
||||
$this: VALUE_PARAMETER name:<this> type:<root>.Base<T of <root>.Base>
|
||||
FUN DEFAULT_PROPERTY_ACCESSOR name:<set-exn> visibility:public modality:ABSTRACT <> ($this:<root>.Base<T of <root>.Base>, <set-?>:T of <root>.Base) returnType:kotlin.Unit
|
||||
correspondingProperty: PROPERTY name:exn visibility:public modality:ABSTRACT [var]
|
||||
$this: VALUE_PARAMETER name:<this> type:<root>.Base
|
||||
$this: VALUE_PARAMETER name:<this> type:<root>.Base<T of <root>.Base>
|
||||
VALUE_PARAMETER name:<set-?> index:0 type:T of <root>.Base
|
||||
FUN FAKE_OVERRIDE name:equals visibility:public modality:OPEN <> ($this:kotlin.Any, other:kotlin.Any?) returnType:kotlin.Boolean [fake_override,operator]
|
||||
overridden:
|
||||
|
||||
Reference in New Issue
Block a user