Fir2Ir: apply major text data update after a bunch of resolve changes
This commit is contained in:
@@ -1,23 +1,22 @@
|
||||
FILE fqName:<root> fileName:/coercionInLoop.kt
|
||||
FUN name:box visibility:public modality:FINAL <> () returnType:kotlin.String
|
||||
BLOCK_BODY
|
||||
VAR name:a type:IrErrorType [val]
|
||||
ERROR_CALL 'Unresolved reference: <Unresolved name: DoubleArray>#' type=IrErrorType
|
||||
CONST Int type=kotlin.Int value=5
|
||||
VAR name:x type:IrErrorType [val]
|
||||
ERROR_CALL 'Unresolved reference: <Unresolved name: iterator>#' type=IrErrorType
|
||||
VAR name:a type:kotlin.DoubleArray [val]
|
||||
CONSTRUCTOR_CALL 'public constructor <init> (size: kotlin.Int) [primary] declared in kotlin.DoubleArray' type=kotlin.DoubleArray origin=null
|
||||
VAR name:x type:kotlin.collections.DoubleIterator [val]
|
||||
CALL 'public final fun iterator (): kotlin.collections.DoubleIterator declared in kotlin.DoubleArray' type=kotlin.collections.DoubleIterator origin=null
|
||||
VAR name:i type:kotlin.Int [var]
|
||||
CONST Int type=kotlin.Int value=0
|
||||
WHILE label=null origin=WHILE_LOOP
|
||||
condition: ERROR_CALL 'Unresolved reference: <Unresolved name: hasNext>#' type=IrErrorType
|
||||
condition: CALL 'public abstract fun hasNext (): kotlin.Boolean declared in kotlin.collections.Iterator' type=kotlin.Boolean origin=null
|
||||
body: BLOCK type=kotlin.Int origin=null
|
||||
WHEN type=kotlin.String origin=IF
|
||||
BRANCH
|
||||
if: CALL 'public final fun not (): kotlin.Boolean declared in kotlin.Boolean' type=kotlin.Boolean origin=EXCLEQ
|
||||
$this: CALL 'public final fun EQEQ (arg0: kotlin.Any?, arg1: kotlin.Any?): kotlin.Boolean declared in kotlin.internal.ir' type=kotlin.Boolean origin=EXCLEQ
|
||||
arg0: ERROR_CALL 'Unresolved reference: <Unresolved name: get>#' type=IrErrorType
|
||||
GET_VAR 'var i: kotlin.Int [var] declared in <root>.box' type=kotlin.Int origin=null
|
||||
arg1: ERROR_CALL 'Unresolved reference: <Unresolved name: next>#' type=IrErrorType
|
||||
arg0: CALL 'public final fun get (index: kotlin.Int): kotlin.Double declared in kotlin.DoubleArray' type=kotlin.Double origin=null
|
||||
index: GET_VAR 'var i: kotlin.Int [var] declared in <root>.box' type=kotlin.Int origin=null
|
||||
arg1: CALL 'public final fun next (): kotlin.Double declared in kotlin.collections.DoubleIterator' type=kotlin.Double origin=null
|
||||
then: RETURN type=kotlin.Nothing from='public final fun box (): kotlin.String declared in <root>'
|
||||
STRING_CONCATENATION type=kotlin.String
|
||||
CONST String type=kotlin.String value="Fail "
|
||||
@@ -28,3 +27,4 @@ FILE fqName:<root> fileName:/coercionInLoop.kt
|
||||
GET_VAR 'val <unary>: kotlin.Int [val] declared in <root>.box' type=kotlin.Int origin=null
|
||||
RETURN type=kotlin.Nothing from='public final fun box (): kotlin.String declared in <root>'
|
||||
CONST String type=kotlin.String value="OK"
|
||||
|
||||
|
||||
@@ -22,7 +22,7 @@ FILE fqName:<root> fileName:/integerCoercionToT.kt
|
||||
CLASS CLASS name:CInt32VarX modality:FINAL visibility:public superTypes:[<root>.CPointed]
|
||||
$this: VALUE_PARAMETER INSTANCE_RECEIVER name:<this> type:<root>.CInt32VarX
|
||||
TYPE_PARAMETER name:T index:0 variance: superTypes:[]
|
||||
CONSTRUCTOR visibility:public <> () returnType:<root>.CInt32VarX<T of <root>.CInt32VarX> [primary]
|
||||
CONSTRUCTOR visibility:public <> () returnType:<root>.CInt32VarX<T of <uninitialized parent>> [primary]
|
||||
BLOCK_BODY
|
||||
DELEGATING_CONSTRUCTOR_CALL 'public constructor <init> () [primary] declared in kotlin.Any'
|
||||
INSTANCE_INITIALIZER_CALL classDescriptor='CLASS CLASS name:CInt32VarX modality:FINAL visibility:public superTypes:[<root>.CPointed]'
|
||||
@@ -84,4 +84,5 @@ FILE fqName:<root> fileName:/integerCoercionToT.kt
|
||||
VALUE_PARAMETER name:value index:0 type:<root>.IdType
|
||||
VALUE_PARAMETER name:cv index:1 type:<root>.CInt32VarX
|
||||
BLOCK_BODY
|
||||
ERROR_CALL 'Unresolved reference: R|<local>/value|' type=IrErrorType
|
||||
ERROR_CALL 'Unresolved reference: R|/value|' type=IrErrorType
|
||||
|
||||
|
||||
@@ -55,3 +55,4 @@ FILE fqName:<root> fileName:/kt24114.kt
|
||||
if: CONST Boolean type=kotlin.Boolean value=true
|
||||
then: RETURN type=kotlin.Nothing from='public final fun test2 (): kotlin.Int declared in <root>'
|
||||
CONST Int type=kotlin.Int value=3
|
||||
|
||||
|
||||
+12
-11
@@ -1,9 +1,9 @@
|
||||
FILE fqName:<root> fileName:/fixationOrder1.kt
|
||||
FUN name:foo visibility:public modality:FINAL <X, Y> () returnType:kotlin.Function1
|
||||
FUN name:foo visibility:public modality:FINAL <X, Y> () returnType:kotlin.Function1<X of <root>.foo, Y of <root>.foo>
|
||||
TYPE_PARAMETER name:X index:0 variance: superTypes:[]
|
||||
TYPE_PARAMETER name:Y index:1 variance: superTypes:[]
|
||||
TYPE_PARAMETER name:Y index:0 variance: superTypes:[]
|
||||
BLOCK_BODY
|
||||
RETURN type=kotlin.Nothing from='public final fun foo <X, Y> (): kotlin.Function1 declared in <root>'
|
||||
RETURN type=kotlin.Nothing from='public final fun foo <X, Y> (): kotlin.Function1<X of <root>.foo, Y of <root>.foo> declared in <root>'
|
||||
CALL 'public final fun TODO (): kotlin.Nothing [inline] declared in kotlin' type=kotlin.Nothing origin=null
|
||||
CLASS INTERFACE name:Inv2 modality:ABSTRACT visibility:public superTypes:[kotlin.Any]
|
||||
$this: VALUE_PARAMETER INSTANCE_RECEIVER name:<this> type:<root>.Inv2
|
||||
@@ -22,29 +22,30 @@ FILE fqName:<root> fileName:/fixationOrder1.kt
|
||||
overridden:
|
||||
public open fun toString (): kotlin.String declared in kotlin.Any
|
||||
$this: VALUE_PARAMETER name:<this> type:kotlin.Any
|
||||
FUN name:check visibility:public modality:FINAL <T, R> (x:T of <root>.check, y:R of <root>.check, f:kotlin.Function1) returnType:<root>.Inv2<T of <root>.check, R of <root>.check>
|
||||
FUN name:check visibility:public modality:FINAL <T, R> (x:T of <root>.check, y:R of <root>.check, f:kotlin.Function1<T of <root>.check, R of <root>.check>) returnType:<root>.Inv2<T of <root>.check, R of <root>.check>
|
||||
TYPE_PARAMETER name:T index:0 variance: superTypes:[]
|
||||
TYPE_PARAMETER name:R index:0 variance: superTypes:[]
|
||||
VALUE_PARAMETER name:x index:0 type:T of <root>.check
|
||||
VALUE_PARAMETER name:y index:1 type:R of <root>.check
|
||||
VALUE_PARAMETER name:f index:2 type:kotlin.Function1
|
||||
VALUE_PARAMETER name:f index:2 type:kotlin.Function1<T of <root>.check, R of <root>.check>
|
||||
BLOCK_BODY
|
||||
RETURN type=kotlin.Nothing from='public final fun check <T, R> (x: T of <root>.check, y: R of <root>.check, f: kotlin.Function1): <root>.Inv2<T of <root>.check, R of <root>.check> declared in <root>'
|
||||
RETURN type=kotlin.Nothing from='public final fun check <T, R> (x: T of <root>.check, y: R of <root>.check, f: kotlin.Function1<T of <root>.check, R of <root>.check>): <root>.Inv2<T of <root>.check, R of <root>.check> declared in <root>'
|
||||
CALL 'public final fun TODO (): kotlin.Nothing [inline] declared in kotlin' type=kotlin.Nothing origin=null
|
||||
FUN name:test visibility:public modality:FINAL <> () returnType:<root>.Inv2<T of <root>.check, R of <root>.check>
|
||||
FUN name:test visibility:public modality:FINAL <> () returnType:<root>.Inv2<kotlin.String, kotlin.Int>
|
||||
BLOCK_BODY
|
||||
RETURN type=kotlin.Nothing from='public final fun test (): <root>.Inv2<T of <root>.check, R of <root>.check> declared in <root>'
|
||||
CALL 'public final fun check <T, R> (x: T of <root>.check, y: R of <root>.check, f: kotlin.Function1): <root>.Inv2<T of <root>.check, R of <root>.check> declared in <root>' type=<root>.Inv2<T of <root>.check, R of <root>.check> origin=null
|
||||
RETURN type=kotlin.Nothing from='public final fun test (): <root>.Inv2<kotlin.String, kotlin.Int> declared in <root>'
|
||||
CALL 'public final fun check <T, R> (x: T of <root>.check, y: R of <root>.check, f: kotlin.Function1<T of <root>.check, R of <root>.check>): <root>.Inv2<T of <root>.check, R of <root>.check> declared in <root>' type=<root>.Inv2<kotlin.String, kotlin.Int> origin=null
|
||||
<T>: <none>
|
||||
<R>: <none>
|
||||
x: CONST String type=kotlin.String value=""
|
||||
y: CONST Int type=kotlin.Int value=1
|
||||
f: CALL 'public final fun foo <X, Y> (): kotlin.Function1 declared in <root>' type=kotlin.Function1 origin=null
|
||||
f: CALL 'public final fun foo <X, Y> (): kotlin.Function1<X of <root>.foo, Y of <root>.foo> declared in <root>' type=kotlin.Function1<kotlin.Any?, kotlin.Any?> origin=null
|
||||
<X>: <none>
|
||||
<Y>: <none>
|
||||
FUN name:box visibility:public modality:FINAL <> () returnType:kotlin.String
|
||||
BLOCK_BODY
|
||||
VAR name:x type:<root>.Inv2<kotlin.String, kotlin.Int> [val]
|
||||
CALL 'public final fun test (): <root>.Inv2<T of <root>.check, R of <root>.check> declared in <root>' type=<root>.Inv2<T of <root>.check, R of <root>.check> origin=null
|
||||
CALL 'public final fun test (): <root>.Inv2<kotlin.String, kotlin.Int> declared in <root>' type=<root>.Inv2<kotlin.String, kotlin.Int> origin=null
|
||||
RETURN type=kotlin.Nothing from='public final fun box (): kotlin.String declared in <root>'
|
||||
CONST String type=kotlin.String value="OK"
|
||||
|
||||
|
||||
+9
-9
@@ -2,15 +2,15 @@ FILE fqName:<root> fileName:/typeAliasCtorForGenericClass.kt
|
||||
CLASS CLASS name:A modality:FINAL visibility:public superTypes:[kotlin.Any]
|
||||
$this: VALUE_PARAMETER INSTANCE_RECEIVER name:<this> type:<root>.A
|
||||
TYPE_PARAMETER name:Q index:0 variance: superTypes:[]
|
||||
CONSTRUCTOR visibility:public <> (q:Q of <root>.A) returnType:<root>.A<Q of <root>.A> [primary]
|
||||
VALUE_PARAMETER name:q index:0 type:Q of <root>.A
|
||||
CONSTRUCTOR visibility:public <> (q:Q of <uninitialized parent>) returnType:<root>.A<Q of <uninitialized parent>> [primary]
|
||||
VALUE_PARAMETER name:q index:0 type:Q of <uninitialized parent>
|
||||
BLOCK_BODY
|
||||
DELEGATING_CONSTRUCTOR_CALL 'public constructor <init> () [primary] declared in kotlin.Any'
|
||||
INSTANCE_INITIALIZER_CALL classDescriptor='CLASS CLASS name:A modality:FINAL visibility:public superTypes:[kotlin.Any]'
|
||||
PROPERTY name:q visibility:public modality:FINAL [val]
|
||||
FIELD PROPERTY_BACKING_FIELD name:q type:Q of <root>.A visibility:public [final]
|
||||
EXPRESSION_BODY
|
||||
GET_VAR 'q: Q of <root>.A declared in <root>.A.<init>' type=Q of <root>.A origin=INITIALIZE_PROPERTY_FROM_PARAMETER
|
||||
GET_VAR 'q: Q of <uninitialized parent> declared in <root>.A.<init>' type=Q of <uninitialized parent> origin=INITIALIZE_PROPERTY_FROM_PARAMETER
|
||||
FUN DEFAULT_PROPERTY_ACCESSOR name:<get-q> visibility:public modality:FINAL <> ($this:<root>.A) returnType:Q of <root>.A
|
||||
correspondingProperty: PROPERTY name:q visibility:public modality:FINAL [val]
|
||||
$this: VALUE_PARAMETER name:<this> type:<root>.A
|
||||
@@ -33,9 +33,9 @@ FILE fqName:<root> fileName:/typeAliasCtorForGenericClass.kt
|
||||
$this: VALUE_PARAMETER name:<this> type:kotlin.Any
|
||||
FUN name:bar visibility:public modality:FINAL <> () returnType:kotlin.Unit
|
||||
BLOCK_BODY
|
||||
VAR name:b type:IrErrorType [val]
|
||||
ERROR_CALL 'Unresolved reference: <Unresolved name: B>#' type=IrErrorType
|
||||
CONST Int type=kotlin.Int value=2
|
||||
VAR name:b2 type:IrErrorType [val]
|
||||
ERROR_CALL 'Unresolved reference: <Unresolved name: B2>#' type=IrErrorType
|
||||
GET_VAR 'val b: IrErrorType [val] declared in <root>.bar' type=IrErrorType origin=null
|
||||
VAR name:b type:<root>.A<kotlin.Int> [val]
|
||||
CONSTRUCTOR_CALL 'public constructor <init> (q: Q of <uninitialized parent>) [primary] declared in <root>.A' type=<root>.A<kotlin.Int> origin=null
|
||||
<class: Q>: <none>
|
||||
VAR name:b2 type:<root>.A<<root>.A<kotlin.Int>> [val]
|
||||
CONSTRUCTOR_CALL 'public constructor <init> (q: Q of <uninitialized parent>) [primary] declared in <root>.A' type=<root>.A<<root>.A<kotlin.Int>> origin=null
|
||||
<class: Q>: <none>
|
||||
|
||||
Reference in New Issue
Block a user