Fixed tests on IR copier
This commit is contained in:
@@ -90,7 +90,7 @@ FILE fqName:<root> fileName:/integerCoercionToT.kt
|
||||
VALUE_PARAMETER name:value index:0 type:IdType flags:
|
||||
VALUE_PARAMETER name:cv index:1 type:CInt32Var /* = CInt32VarX<kotlin.Int> */ flags:
|
||||
BLOCK_BODY
|
||||
CALL '<set-value>(Int) on CInt32VarX<Int>: Unit' type=kotlin.Unit origin=EQ
|
||||
CALL '<set-value>(T_INT) on CInt32VarX<T_INT>: Unit' type=kotlin.Unit origin=EQ
|
||||
<`0>: kotlin.Int
|
||||
$receiver: GET_VAR 'value-parameter cv: CInt32Var /* = CInt32VarX<Int> */' type=CInt32Var /* = CInt32VarX<kotlin.Int> */ origin=null
|
||||
value: CALL '<get-value>(): Int' type=kotlin.Int origin=GET_PROPERTY
|
||||
|
||||
@@ -34,12 +34,12 @@ FILE fqName:<root> fileName:/fixationOrder1.kt
|
||||
FUN name:test visibility:public modality:FINAL <> () returnType:Inv2<kotlin.String, kotlin.Int> flags:
|
||||
BLOCK_BODY
|
||||
RETURN type=kotlin.Nothing from='test(): Inv2<String, Int>'
|
||||
CALL 'check(String, Int, (String) -> Int): Inv2<String, Int>' type=Inv2<kotlin.String, kotlin.Int> origin=null
|
||||
CALL 'check(T, R, (T) -> R): Inv2<T, R>' type=Inv2<kotlin.String, kotlin.Int> origin=null
|
||||
<T>: kotlin.String
|
||||
<R>: kotlin.Int
|
||||
x: CONST String type=kotlin.String value=""
|
||||
y: CONST Int type=kotlin.Int value=1
|
||||
f: CALL 'foo(): (String) -> Int' type=(kotlin.String) -> kotlin.Int origin=null
|
||||
f: CALL 'foo(): (X) -> Y' type=(kotlin.String) -> kotlin.Int origin=null
|
||||
<X>: kotlin.String
|
||||
<Y>: kotlin.Int
|
||||
FUN name:box visibility:public modality:FINAL <> () returnType:kotlin.String flags:
|
||||
|
||||
@@ -36,11 +36,11 @@ FILE fqName:<root> fileName:/typeAliasCtorForGenericClass.kt
|
||||
FUN name:bar visibility:public modality:FINAL <> () returnType:kotlin.Unit flags:
|
||||
BLOCK_BODY
|
||||
VAR name:b type:B<kotlin.Int> /* = A<kotlin.Int> */ flags:val
|
||||
CALL 'constructor A(Int)' type=A<kotlin.Int> origin=null
|
||||
CALL 'constructor A(Q)' type=A<kotlin.Int> origin=null
|
||||
<Q>: kotlin.Int
|
||||
q: CONST Int type=kotlin.Int value=2
|
||||
VAR name:b2 type:B2<kotlin.Int> /* = A<A<kotlin.Int>> */ flags:val
|
||||
CALL 'constructor A(A<Int>)' type=A<A<kotlin.Int>> origin=null
|
||||
CALL 'constructor A(Q)' type=A<A<kotlin.Int>> origin=null
|
||||
<Q>: A<kotlin.Int>
|
||||
q: GET_VAR 'b: B<Int> /* = A<Int> */' type=B<kotlin.Int> /* = A<kotlin.Int> */ origin=null
|
||||
|
||||
|
||||
Reference in New Issue
Block a user