IR: IrTypeAlias: update testData after rebase on master

This commit is contained in:
Dmitry Petrov
2019-08-05 14:57:32 +03:00
parent f590d4da9e
commit 1d0ba4edd4
13 changed files with 60 additions and 43 deletions
@@ -7,8 +7,8 @@ FILE fqName:<root> fileName:/catchParameterAccess.kt
try: BLOCK type=kotlin.Unit origin=null
CALL 'public abstract fun invoke (): R of kotlin.Function0 declared in kotlin.Function0' type=kotlin.Unit origin=INVOKE
$this: GET_VAR 'f: kotlin.Function0<kotlin.Unit> declared in <root>.test' type=kotlin.Function0<kotlin.Unit> origin=VARIABLE_AS_FUNCTION
CATCH parameter=val e: java.lang.Exception [val] declared in <root>.test
VAR CATCH_PARAMETER name:e type:java.lang.Exception [val]
CATCH parameter=val e: java.lang.Exception{ kotlin.Exception } [val] declared in <root>.test
VAR CATCH_PARAMETER name:e type:java.lang.Exception{ kotlin.Exception } [val]
BLOCK type=kotlin.Nothing origin=null
THROW type=kotlin.Nothing
GET_VAR 'val e: java.lang.Exception [val] declared in <root>.test' type=java.lang.Exception origin=null
GET_VAR 'val e: java.lang.Exception{ kotlin.Exception } [val] declared in <root>.test' type=java.lang.Exception{ kotlin.Exception } origin=null
+5 -4
View File
@@ -46,14 +46,14 @@ FILE fqName:<root> fileName:/kt16905.kt
overridden:
public open fun toString (): kotlin.String declared in <root>.Outer.Inner
$this: VALUE_PARAMETER name:<this> type:kotlin.Any
CLASS CLASS name:InnerDerived1 modality:FINAL visibility:public [inner] superTypes:[<root>.Outer.Inner]
CLASS CLASS name:InnerDerived1 modality:FINAL visibility:public [inner] superTypes:[<root>.Outer.Inner{ <root>.OI }]
$this: VALUE_PARAMETER INSTANCE_RECEIVER name:<this> type:<root>.Outer.InnerDerived1
CONSTRUCTOR visibility:public <> ($this:<root>.Outer) returnType:<root>.Outer.InnerDerived1 [primary]
$outer: VALUE_PARAMETER name:<this> type:<root>.Outer
BLOCK_BODY
DELEGATING_CONSTRUCTOR_CALL 'public constructor <init> () [primary] declared in <root>.Outer.Inner'
$this: GET_VAR '<this>: <root>.Outer declared in <root>.Outer.InnerDerived1.<init>' type=<root>.Outer origin=null
INSTANCE_INITIALIZER_CALL classDescriptor='CLASS CLASS name:InnerDerived1 modality:FINAL visibility:public [inner] superTypes:[<root>.Outer.Inner]'
INSTANCE_INITIALIZER_CALL classDescriptor='CLASS CLASS name:InnerDerived1 modality:FINAL visibility:public [inner] superTypes:[<root>.Outer.Inner{ <root>.OI }]'
FUN FAKE_OVERRIDE name:equals visibility:public modality:OPEN <> ($this:kotlin.Any, other:kotlin.Any?) returnType:kotlin.Boolean
overridden:
public open fun equals (other: kotlin.Any?): kotlin.Boolean declared in <root>.Outer.Inner
@@ -80,8 +80,9 @@ FILE fqName:<root> fileName:/kt16905.kt
overridden:
public open fun toString (): kotlin.String declared in kotlin.Any
$this: VALUE_PARAMETER name:<this> type:kotlin.Any
FUN name:test visibility:public modality:FINAL <> () returnType:<root>.Outer.Inner
TYPEALIAS name:OI visibility:public expandedType:<root>.Outer.Inner
FUN name:test visibility:public modality:FINAL <> () returnType:<root>.Outer.Inner{ <root>.OI }
BLOCK_BODY
RETURN type=kotlin.Nothing from='public final fun test (): <root>.Outer.Inner declared in <root>'
RETURN type=kotlin.Nothing from='public final fun test (): <root>.Outer.Inner{ <root>.OI } declared in <root>'
CONSTRUCTOR_CALL 'public constructor <init> () [primary] declared in <root>.Outer.Inner' type=<root>.Outer.Inner origin=null
$outer: CONSTRUCTOR_CALL 'public constructor <init> () [primary] declared in <root>.Outer' type=<root>.Outer origin=null
@@ -31,9 +31,10 @@ FILE fqName:<root> fileName:/specializedTypeAliasConstructorCall.kt
overridden:
public open fun toString (): kotlin.String declared in kotlin.Any
$this: VALUE_PARAMETER name:<this> type:kotlin.Any
FUN name:test visibility:public modality:FINAL <> () returnType:<root>.Cell<kotlin.Int>
TYPEALIAS name:IntAlias visibility:public expandedType:<root>.Cell<kotlin.Int>
FUN name:test visibility:public modality:FINAL <> () returnType:<root>.Cell<kotlin.Int>{ <root>.IntAlias }
BLOCK_BODY
RETURN type=kotlin.Nothing from='public final fun test (): <root>.Cell<kotlin.Int> declared in <root>'
RETURN type=kotlin.Nothing from='public final fun test (): <root>.Cell<kotlin.Int>{ <root>.IntAlias } declared in <root>'
CONSTRUCTOR_CALL 'public constructor <init> (value: T of <root>.Cell) [primary] declared in <root>.Cell' type=<root>.Cell<kotlin.Int> origin=null
<class: T>: kotlin.Int
value: CONST Int type=kotlin.Int value=42