Minor: trim in RenderIrElementVisitor

This commit is contained in:
Dmitry Petrov
2019-07-30 15:54:04 +03:00
parent efe62c983a
commit bdec8b04e8
576 changed files with 17789 additions and 17960 deletions
@@ -89,6 +89,9 @@ class RenderIrElementVisitor : IrElementVisitor<String, Nothing?> {
private inline fun buildTrimEnd(fn: StringBuilder.() -> Unit): String = private inline fun buildTrimEnd(fn: StringBuilder.() -> Unit): String =
buildString(fn).trimEnd() buildString(fn).trimEnd()
private inline fun <T> T.runTrimEnd(fn: T.() -> String): String =
run(fn).trimEnd()
private fun IrType.render() = private fun IrType.render() =
"${renderTypeAnnotations(annotations)}${renderTypeInner()}" "${renderTypeAnnotations(annotations)}${renderTypeInner()}"
@@ -315,10 +318,12 @@ class RenderIrElementVisitor : IrElementVisitor<String, Nothing?> {
"FILE fqName:${declaration.fqName} fileName:${declaration.path}" "FILE fqName:${declaration.fqName} fileName:${declaration.path}"
override fun visitFunction(declaration: IrFunction, data: Nothing?): String = override fun visitFunction(declaration: IrFunction, data: Nothing?): String =
"FUN ${declaration.renderOriginIfNonTrivial()}" declaration.runTrimEnd {
"FUN ${renderOriginIfNonTrivial()}"
}
override fun visitSimpleFunction(declaration: IrSimpleFunction, data: Nothing?): String = override fun visitSimpleFunction(declaration: IrSimpleFunction, data: Nothing?): String =
declaration.run { declaration.runTrimEnd {
"FUN ${renderOriginIfNonTrivial()}" + "FUN ${renderOriginIfNonTrivial()}" +
"name:$name visibility:$visibility modality:$modality " + "name:$name visibility:$visibility modality:$modality " +
renderTypeParameters() + " " + renderTypeParameters() + " " +
@@ -354,7 +359,7 @@ class RenderIrElementVisitor : IrElementVisitor<String, Nothing?> {
}.joinToString(separator = ", ", prefix = "(", postfix = ")") }.joinToString(separator = ", ", prefix = "(", postfix = ")")
override fun visitConstructor(declaration: IrConstructor, data: Nothing?): String = override fun visitConstructor(declaration: IrConstructor, data: Nothing?): String =
declaration.run { declaration.runTrimEnd {
"CONSTRUCTOR ${renderOriginIfNonTrivial()}" + "CONSTRUCTOR ${renderOriginIfNonTrivial()}" +
"visibility:$visibility " + "visibility:$visibility " +
renderTypeParameters() + " " + renderTypeParameters() + " " +
@@ -371,7 +376,7 @@ class RenderIrElementVisitor : IrElementVisitor<String, Nothing?> {
) )
override fun visitProperty(declaration: IrProperty, data: Nothing?): String = override fun visitProperty(declaration: IrProperty, data: Nothing?): String =
declaration.run { declaration.runTrimEnd {
"PROPERTY ${renderOriginIfNonTrivial()}" + "PROPERTY ${renderOriginIfNonTrivial()}" +
"name:$name visibility:$visibility modality:$modality " + "name:$name visibility:$visibility modality:$modality " +
renderPropertyFlags() renderPropertyFlags()
@@ -387,9 +392,10 @@ class RenderIrElementVisitor : IrElementVisitor<String, Nothing?> {
) )
override fun visitField(declaration: IrField, data: Nothing?): String = override fun visitField(declaration: IrField, data: Nothing?): String =
"FIELD ${declaration.renderOriginIfNonTrivial()}" + declaration.runTrimEnd {
"name:${declaration.name} type:${declaration.type.render()} visibility:${declaration.visibility} " + "FIELD ${renderOriginIfNonTrivial()}name:$name type:${type.render()} visibility:$visibility ${renderFieldFlags()}"
declaration.renderFieldFlags() }
private fun IrField.renderFieldFlags() = private fun IrField.renderFieldFlags() =
renderFlagsList( renderFlagsList(
@@ -399,7 +405,7 @@ class RenderIrElementVisitor : IrElementVisitor<String, Nothing?> {
) )
override fun visitClass(declaration: IrClass, data: Nothing?): String = override fun visitClass(declaration: IrClass, data: Nothing?): String =
declaration.run { declaration.runTrimEnd {
"CLASS ${renderOriginIfNonTrivial()}" + "CLASS ${renderOriginIfNonTrivial()}" +
"$kind name:$name modality:$modality visibility:$visibility " + "$kind name:$name modality:$modality visibility:$visibility " +
renderClassFlags() + renderClassFlags() +
@@ -416,8 +422,10 @@ class RenderIrElementVisitor : IrElementVisitor<String, Nothing?> {
) )
override fun visitVariable(declaration: IrVariable, data: Nothing?): String = override fun visitVariable(declaration: IrVariable, data: Nothing?): String =
"VAR ${declaration.renderOriginIfNonTrivial()}" + declaration.runTrimEnd {
"name:${declaration.name} type:${declaration.type.render()} ${declaration.renderVariableFlags()}" "VAR ${renderOriginIfNonTrivial()}name:$name type:${type.render()} ${renderVariableFlags()}"
}
private fun IrVariable.renderVariableFlags(): String = private fun IrVariable.renderVariableFlags(): String =
renderFlagsList( renderFlagsList(
@@ -427,20 +435,23 @@ class RenderIrElementVisitor : IrElementVisitor<String, Nothing?> {
) )
override fun visitEnumEntry(declaration: IrEnumEntry, data: Nothing?): String = override fun visitEnumEntry(declaration: IrEnumEntry, data: Nothing?): String =
"ENUM_ENTRY ${declaration.renderOriginIfNonTrivial()}name:${declaration.name}" declaration.runTrimEnd {
"ENUM_ENTRY ${renderOriginIfNonTrivial()}name:$name"
}
override fun visitAnonymousInitializer(declaration: IrAnonymousInitializer, data: Nothing?): String = override fun visitAnonymousInitializer(declaration: IrAnonymousInitializer, data: Nothing?): String =
"ANONYMOUS_INITIALIZER isStatic=${declaration.isStatic}" "ANONYMOUS_INITIALIZER isStatic=${declaration.isStatic}"
override fun visitTypeParameter(declaration: IrTypeParameter, data: Nothing?): String = override fun visitTypeParameter(declaration: IrTypeParameter, data: Nothing?): String =
declaration.run { declaration.runTrimEnd {
"TYPE_PARAMETER ${renderOriginIfNonTrivial()}" + "TYPE_PARAMETER ${renderOriginIfNonTrivial()}" +
"name:$name index:$index variance:$variance " + "name:$name index:$index variance:$variance " +
"superTypes:[${superTypes.joinToString(separator = "; ") { it.render() }}]" "superTypes:[${superTypes.joinToString(separator = "; ") { it.render() }}]"
} }
override fun visitValueParameter(declaration: IrValueParameter, data: Nothing?): String = override fun visitValueParameter(declaration: IrValueParameter, data: Nothing?): String =
declaration.run { declaration.runTrimEnd {
"VALUE_PARAMETER ${renderOriginIfNonTrivial()}" + "VALUE_PARAMETER ${renderOriginIfNonTrivial()}" +
"name:$name " + "name:$name " +
(if (index >= 0) "index:$index " else "") + (if (index >= 0) "index:$index " else "") +
@@ -457,7 +468,7 @@ class RenderIrElementVisitor : IrElementVisitor<String, Nothing?> {
) )
override fun visitLocalDelegatedProperty(declaration: IrLocalDelegatedProperty, data: Nothing?): String = override fun visitLocalDelegatedProperty(declaration: IrLocalDelegatedProperty, data: Nothing?): String =
declaration.run { declaration.runTrimEnd {
"LOCAL_DELEGATED_PROPERTY ${declaration.renderOriginIfNonTrivial()}" + "LOCAL_DELEGATED_PROPERTY ${declaration.renderOriginIfNonTrivial()}" +
"name:$name type:${type.render()} flags:${renderLocalDelegatedPropertyFlags()}" "name:$name type:${type.render()} flags:${renderLocalDelegatedPropertyFlags()}"
} }
@@ -113,4 +113,3 @@ FILE fqName:<root> fileName:/annotationClasses.kt
overridden: overridden:
public open fun toString (): kotlin.String declared in kotlin.Any public open fun toString (): kotlin.String declared in kotlin.Any
$this: VALUE_PARAMETER name:<this> type:kotlin.Any $this: VALUE_PARAMETER name:<this> type:kotlin.Any
@@ -94,4 +94,3 @@ FILE fqName:<root> fileName:/argumentReorderingInDelegatingConstructorCall.kt
overridden: overridden:
public open fun toString (): kotlin.String declared in kotlin.Any public open fun toString (): kotlin.String declared in kotlin.Any
$this: VALUE_PARAMETER name:<this> type:kotlin.Any $this: VALUE_PARAMETER name:<this> type:kotlin.Any
@@ -172,4 +172,3 @@ FILE fqName:<root> fileName:/classMembers.kt
overridden: overridden:
public open fun toString (): kotlin.String declared in kotlin.Any public open fun toString (): kotlin.String declared in kotlin.Any
$this: VALUE_PARAMETER name:<this> type:kotlin.Any $this: VALUE_PARAMETER name:<this> type:kotlin.Any
-1
View File
@@ -97,4 +97,3 @@ FILE fqName:<root> fileName:/classes.kt
overridden: overridden:
public open fun toString (): kotlin.String declared in kotlin.Enum public open fun toString (): kotlin.String declared in kotlin.Enum
$this: VALUE_PARAMETER name:<this> type:kotlin.Enum $this: VALUE_PARAMETER name:<this> type:kotlin.Enum
@@ -286,4 +286,3 @@ FILE fqName:<root> fileName:/dataClassWithArrayMembers.kt
overridden: overridden:
public open fun toString (): kotlin.String declared in kotlin.Any public open fun toString (): kotlin.String declared in kotlin.Any
$this: VALUE_PARAMETER name:<this> type:kotlin.Any $this: VALUE_PARAMETER name:<this> type:kotlin.Any
@@ -225,4 +225,3 @@ FILE fqName:<root> fileName:/dataClasses.kt
overridden: overridden:
public open fun toString (): kotlin.String declared in kotlin.Any public open fun toString (): kotlin.String declared in kotlin.Any
$this: VALUE_PARAMETER name:<this> type:kotlin.Any $this: VALUE_PARAMETER name:<this> type:kotlin.Any
@@ -170,4 +170,3 @@ FILE fqName:<root> fileName:/dataClassesGeneric.kt
overridden: overridden:
public open fun toString (): kotlin.String declared in kotlin.Any public open fun toString (): kotlin.String declared in kotlin.Any
$this: VALUE_PARAMETER name:<this> type:kotlin.Any $this: VALUE_PARAMETER name:<this> type:kotlin.Any
@@ -169,4 +169,3 @@ FILE fqName:<root> fileName:/delegatedImplementation.kt
BLOCK_BODY BLOCK_BODY
DELEGATING_CONSTRUCTOR_CALL 'public constructor <init> () [primary] declared in kotlin.Any' DELEGATING_CONSTRUCTOR_CALL 'public constructor <init> () [primary] declared in kotlin.Any'
INSTANCE_INITIALIZER_CALL classDescriptor='CLASS CLASS name:Test2 modality:FINAL visibility:public superTypes:[]' INSTANCE_INITIALIZER_CALL classDescriptor='CLASS CLASS name:Test2 modality:FINAL visibility:public superTypes:[]'
@@ -52,4 +52,3 @@ FILE fqName:<root> fileName:/delegatedImplementationWithExplicitOverride.kt
FUN name:bar visibility:public modality:FINAL <> ($this:<root>.C) returnType:kotlin.Unit FUN name:bar visibility:public modality:FINAL <> ($this:<root>.C) returnType:kotlin.Unit
$this: VALUE_PARAMETER name:<this> type:<root>.C $this: VALUE_PARAMETER name:<this> type:<root>.C
BLOCK_BODY BLOCK_BODY
@@ -46,4 +46,3 @@ FILE fqName:<root> fileName:/delegatingConstructorCallsInSecondaryConstructors.k
overridden: overridden:
public open fun toString (): kotlin.String declared in kotlin.Any public open fun toString (): kotlin.String declared in kotlin.Any
$this: VALUE_PARAMETER name:<this> type:kotlin.Any $this: VALUE_PARAMETER name:<this> type:kotlin.Any
-1
View File
@@ -492,4 +492,3 @@ FILE fqName:<root> fileName:/enum.kt
overridden: overridden:
public open fun toString (): kotlin.String declared in kotlin.Enum public open fun toString (): kotlin.String declared in kotlin.Enum
$this: VALUE_PARAMETER name:<this> type:kotlin.Enum $this: VALUE_PARAMETER name:<this> type:kotlin.Enum
@@ -387,4 +387,3 @@ FILE fqName:<root> fileName:/enumClassModality.kt
overridden: overridden:
public open fun toString (): kotlin.String declared in kotlin.Any public open fun toString (): kotlin.String declared in kotlin.Any
$this: VALUE_PARAMETER name:<this> type:kotlin.Any $this: VALUE_PARAMETER name:<this> type:kotlin.Any
@@ -261,4 +261,3 @@ FILE fqName:<root> fileName:/enumWithSecondaryCtor.kt
overridden: overridden:
public open fun toString (): kotlin.String declared in kotlin.Enum public open fun toString (): kotlin.String declared in kotlin.Enum
$this: VALUE_PARAMETER name:<this> type:kotlin.Enum $this: VALUE_PARAMETER name:<this> type:kotlin.Enum
-1
View File
@@ -150,4 +150,3 @@ FILE fqName:<root> fileName:/initBlock.kt
overridden: overridden:
public open fun toString (): kotlin.String declared in kotlin.Any public open fun toString (): kotlin.String declared in kotlin.Any
$this: VALUE_PARAMETER name:<this> type:kotlin.Any $this: VALUE_PARAMETER name:<this> type:kotlin.Any
-1
View File
@@ -92,4 +92,3 @@ FILE fqName:<root> fileName:/initVal.kt
overridden: overridden:
public open fun toString (): kotlin.String declared in kotlin.Any public open fun toString (): kotlin.String declared in kotlin.Any
$this: VALUE_PARAMETER name:<this> type:kotlin.Any $this: VALUE_PARAMETER name:<this> type:kotlin.Any
-1
View File
@@ -229,4 +229,3 @@ FILE fqName:<root> fileName:/initVar.kt
overridden: overridden:
public open fun toString (): kotlin.String declared in kotlin.Any public open fun toString (): kotlin.String declared in kotlin.Any
$this: VALUE_PARAMETER name:<this> type:kotlin.Any $this: VALUE_PARAMETER name:<this> type:kotlin.Any
@@ -30,4 +30,3 @@ FILE fqName:<root> fileName:/inlineClass.kt
overridden: overridden:
public open fun toString (): kotlin.String declared in kotlin.Any public open fun toString (): kotlin.String declared in kotlin.Any
$this: VALUE_PARAMETER name:<this> type:kotlin.Any $this: VALUE_PARAMETER name:<this> type:kotlin.Any
@@ -56,4 +56,3 @@ FILE fqName:<root> fileName:/innerClass.kt
overridden: overridden:
public open fun toString (): kotlin.String declared in kotlin.Any public open fun toString (): kotlin.String declared in kotlin.Any
$this: VALUE_PARAMETER name:<this> type:kotlin.Any $this: VALUE_PARAMETER name:<this> type:kotlin.Any
@@ -53,4 +53,3 @@ FILE fqName:<root> fileName:/innerClassWithDelegatingConstructor.kt
overridden: overridden:
public open fun toString (): kotlin.String declared in kotlin.Any public open fun toString (): kotlin.String declared in kotlin.Any
$this: VALUE_PARAMETER name:<this> type:kotlin.Any $this: VALUE_PARAMETER name:<this> type:kotlin.Any
@@ -11,4 +11,3 @@ FILE fqName:<root> fileName:/localClasses.kt
$this: VALUE_PARAMETER name:<this> type:<root>.outer.LocalClass $this: VALUE_PARAMETER name:<this> type:<root>.outer.LocalClass
BLOCK_BODY BLOCK_BODY
ERROR_CALL 'Unresolved reference: <Unresolved name: foo>#' type=IrErrorType ERROR_CALL 'Unresolved reference: <Unresolved name: foo>#' type=IrErrorType
@@ -61,4 +61,3 @@ FILE fqName:<root> fileName:/objectWithInitializers.kt
overridden: overridden:
public open fun toString (): kotlin.String declared in kotlin.Any public open fun toString (): kotlin.String declared in kotlin.Any
$this: VALUE_PARAMETER name:<this> type:kotlin.Any $this: VALUE_PARAMETER name:<this> type:kotlin.Any
@@ -73,4 +73,3 @@ FILE fqName:<root> fileName:/outerClassAccess.kt
overridden: overridden:
public open fun toString (): kotlin.String declared in kotlin.Any public open fun toString (): kotlin.String declared in kotlin.Any
$this: VALUE_PARAMETER name:<this> type:kotlin.Any $this: VALUE_PARAMETER name:<this> type:kotlin.Any
@@ -130,4 +130,3 @@ FILE fqName:<root> fileName:/primaryConstructor.kt
overridden: overridden:
public open fun toString (): kotlin.String declared in kotlin.Any public open fun toString (): kotlin.String declared in kotlin.Any
$this: VALUE_PARAMETER name:<this> type:kotlin.Any $this: VALUE_PARAMETER name:<this> type:kotlin.Any
@@ -105,4 +105,3 @@ FILE fqName:<root> fileName:/primaryConstructorWithSuperConstructorCall.kt
overridden: overridden:
public open fun toString (): kotlin.String declared in kotlin.Any public open fun toString (): kotlin.String declared in kotlin.Any
$this: VALUE_PARAMETER name:<this> type:kotlin.Any $this: VALUE_PARAMETER name:<this> type:kotlin.Any
@@ -86,4 +86,3 @@ FILE fqName:<root> fileName:/qualifiedSuperCalls.kt
overridden: overridden:
public open fun toString (): kotlin.String declared in kotlin.Any public open fun toString (): kotlin.String declared in kotlin.Any
$this: VALUE_PARAMETER name:<this> type:kotlin.Any $this: VALUE_PARAMETER name:<this> type:kotlin.Any
@@ -111,4 +111,3 @@ FILE fqName:<root> fileName:/sealedClasses.kt
overridden: overridden:
public open fun toString (): kotlin.String declared in kotlin.Any public open fun toString (): kotlin.String declared in kotlin.Any
$this: VALUE_PARAMETER name:<this> type:kotlin.Any $this: VALUE_PARAMETER name:<this> type:kotlin.Any
@@ -89,4 +89,3 @@ FILE fqName:<root> fileName:/secondaryConstructorWithInitializersFromClassBody.k
overridden: overridden:
public open fun toString (): kotlin.String declared in kotlin.Any public open fun toString (): kotlin.String declared in kotlin.Any
$this: VALUE_PARAMETER name:<this> type:kotlin.Any $this: VALUE_PARAMETER name:<this> type:kotlin.Any
@@ -85,4 +85,3 @@ FILE fqName:<root> fileName:/annotationsInAnnotationArguments.kt
$this: VALUE_PARAMETER name:<this> type:kotlin.Any $this: VALUE_PARAMETER name:<this> type:kotlin.Any
FUN name:test visibility:public modality:FINAL <> () returnType:kotlin.Unit FUN name:test visibility:public modality:FINAL <> () returnType:kotlin.Unit
BLOCK_BODY BLOCK_BODY
@@ -53,4 +53,3 @@ FILE fqName:<root> fileName:/annotationsWithDefaultParameterValues.kt
BLOCK_BODY BLOCK_BODY
FUN name:test5 visibility:public modality:FINAL <> () returnType:kotlin.Unit FUN name:test5 visibility:public modality:FINAL <> () returnType:kotlin.Unit
BLOCK_BODY BLOCK_BODY
@@ -33,4 +33,3 @@ FILE fqName:<root> fileName:/annotationsWithVarargParameters.kt
BLOCK_BODY BLOCK_BODY
FUN name:test3 visibility:public modality:FINAL <> () returnType:kotlin.Unit FUN name:test3 visibility:public modality:FINAL <> () returnType:kotlin.Unit
BLOCK_BODY BLOCK_BODY
@@ -59,4 +59,3 @@ FILE fqName:<root> fileName:/arrayInAnnotationArguments.kt
BLOCK_BODY BLOCK_BODY
FUN name:test2 visibility:public modality:FINAL <> () returnType:kotlin.Unit FUN name:test2 visibility:public modality:FINAL <> () returnType:kotlin.Unit
BLOCK_BODY BLOCK_BODY
@@ -175,4 +175,3 @@ FILE fqName:<root> fileName:/classesWithAnnotations.kt
overridden: overridden:
public open fun toString (): kotlin.String declared in kotlin.Any public open fun toString (): kotlin.String declared in kotlin.Any
$this: VALUE_PARAMETER name:<this> type:kotlin.Any $this: VALUE_PARAMETER name:<this> type:kotlin.Any
@@ -40,4 +40,3 @@ FILE fqName:<root> fileName:/constExpressionsInAnnotationArguments.kt
BLOCK_BODY BLOCK_BODY
FUN name:test2 visibility:public modality:FINAL <> () returnType:kotlin.Unit FUN name:test2 visibility:public modality:FINAL <> () returnType:kotlin.Unit
BLOCK_BODY BLOCK_BODY
@@ -50,4 +50,3 @@ FILE fqName:<root> fileName:/constructorsWithAnnotations.kt
overridden: overridden:
public open fun toString (): kotlin.String declared in kotlin.Any public open fun toString (): kotlin.String declared in kotlin.Any
$this: VALUE_PARAMETER name:<this> type:kotlin.Any $this: VALUE_PARAMETER name:<this> type:kotlin.Any
@@ -109,4 +109,3 @@ FILE fqName:<root> fileName:/enumEntriesWithAnnotations.kt
overridden: overridden:
public open fun toString (): kotlin.String declared in kotlin.Enum public open fun toString (): kotlin.String declared in kotlin.Enum
$this: VALUE_PARAMETER name:<this> type:kotlin.Enum $this: VALUE_PARAMETER name:<this> type:kotlin.Enum
@@ -134,4 +134,3 @@ FILE fqName:<root> fileName:/enumsInAnnotationArguments.kt
$this: VALUE_PARAMETER name:<this> type:kotlin.Any $this: VALUE_PARAMETER name:<this> type:kotlin.Any
FUN name:test1 visibility:public modality:FINAL <> () returnType:kotlin.Unit FUN name:test1 visibility:public modality:FINAL <> () returnType:kotlin.Unit
BLOCK_BODY BLOCK_BODY
@@ -55,4 +55,3 @@ FILE fqName:<root> fileName:/fieldsWithAnnotations.kt
BLOCK_BODY BLOCK_BODY
SET_FIELD 'FIELD PROPERTY_BACKING_FIELD name:testVar type:kotlin.String visibility:public [static]' type=kotlin.Unit origin=null SET_FIELD 'FIELD PROPERTY_BACKING_FIELD name:testVar type:kotlin.String visibility:public [static]' type=kotlin.Unit origin=null
value: GET_VAR '<set-?>: kotlin.String declared in <root>.<set-testVar>' type=kotlin.String origin=null value: GET_VAR '<set-?>: kotlin.String declared in <root>.<set-testVar>' type=kotlin.String origin=null
@@ -29,4 +29,3 @@ FILE fqName:test fileName:/fileAnnotations.kt
overridden: overridden:
public open fun toString (): kotlin.String declared in kotlin.Any public open fun toString (): kotlin.String declared in kotlin.Any
$this: VALUE_PARAMETER name:<this> type:kotlin.Any $this: VALUE_PARAMETER name:<this> type:kotlin.Any
@@ -29,4 +29,3 @@ FILE fqName:<root> fileName:/functionsWithAnnotations.kt
$this: VALUE_PARAMETER name:<this> type:kotlin.Any $this: VALUE_PARAMETER name:<this> type:kotlin.Any
FUN name:testSimpleFunction visibility:public modality:FINAL <> () returnType:kotlin.Unit FUN name:testSimpleFunction visibility:public modality:FINAL <> () returnType:kotlin.Unit
BLOCK_BODY BLOCK_BODY
@@ -5,4 +5,3 @@ FILE fqName:<root> fileName:/javaAnnotation.kt
BLOCK_BODY BLOCK_BODY
FUN name:test3 visibility:public modality:FINAL <> () returnType:kotlin.Unit FUN name:test3 visibility:public modality:FINAL <> () returnType:kotlin.Unit
BLOCK_BODY BLOCK_BODY
@@ -49,4 +49,3 @@ FILE fqName:<root> fileName:/multipleAnnotationsInSquareBrackets.kt
$this: VALUE_PARAMETER name:<this> type:kotlin.Any $this: VALUE_PARAMETER name:<this> type:kotlin.Any
FUN name:test visibility:public modality:FINAL <> () returnType:kotlin.Unit FUN name:test visibility:public modality:FINAL <> () returnType:kotlin.Unit
BLOCK_BODY BLOCK_BODY
@@ -48,4 +48,3 @@ FILE fqName:<root> fileName:/primaryConstructorParameterWithAnnotations.kt
overridden: overridden:
public open fun toString (): kotlin.String declared in kotlin.Any public open fun toString (): kotlin.String declared in kotlin.Any
$this: VALUE_PARAMETER name:<this> type:kotlin.Any $this: VALUE_PARAMETER name:<this> type:kotlin.Any
@@ -38,4 +38,3 @@ FILE fqName:<root> fileName:/propertiesWithAnnotations.kt
BLOCK_BODY BLOCK_BODY
RETURN type=kotlin.Nothing from='public final fun <get-testVal> (): kotlin.String declared in <root>' RETURN type=kotlin.Nothing from='public final fun <get-testVal> (): kotlin.String declared in <root>'
GET_FIELD 'FIELD PROPERTY_BACKING_FIELD name:testVal type:kotlin.String visibility:public [final,static]' type=kotlin.String origin=null GET_FIELD 'FIELD PROPERTY_BACKING_FIELD name:testVal type:kotlin.String visibility:public [final,static]' type=kotlin.String origin=null
@@ -83,4 +83,3 @@ FILE fqName:<root> fileName:/propertyAccessorsFromClassHeaderWithAnnotations.kt
overridden: overridden:
public open fun toString (): kotlin.String declared in kotlin.Any public open fun toString (): kotlin.String declared in kotlin.Any
$this: VALUE_PARAMETER name:<this> type:kotlin.Any $this: VALUE_PARAMETER name:<this> type:kotlin.Any
@@ -72,4 +72,3 @@ FILE fqName:<root> fileName:/propertyAccessorsWithAnnotations.kt
BLOCK_BODY BLOCK_BODY
SET_FIELD 'FIELD PROPERTY_BACKING_FIELD name:test4 type:kotlin.String visibility:public [static]' type=kotlin.Unit origin=null SET_FIELD 'FIELD PROPERTY_BACKING_FIELD name:test4 type:kotlin.String visibility:public [static]' type=kotlin.Unit origin=null
value: GET_VAR '<set-?>: kotlin.String declared in <root>.<set-test4>' type=kotlin.String origin=null value: GET_VAR '<set-?>: kotlin.String declared in <root>.<set-test4>' type=kotlin.String origin=null
@@ -73,4 +73,3 @@ FILE fqName:<root> fileName:/propertySetterParameterWithAnnotations.kt
overridden: overridden:
public open fun toString (): kotlin.String declared in kotlin.Any public open fun toString (): kotlin.String declared in kotlin.Any
$this: VALUE_PARAMETER name:<this> type:kotlin.Any $this: VALUE_PARAMETER name:<this> type:kotlin.Any
@@ -58,4 +58,3 @@ FILE fqName:<root> fileName:/receiverParameterWithAnnotations.kt
BLOCK_BODY BLOCK_BODY
RETURN type=kotlin.Nothing from='public final fun <get-topLevelP> (): kotlin.String declared in <root>' RETURN type=kotlin.Nothing from='public final fun <get-topLevelP> (): kotlin.String declared in <root>'
CONST String type=kotlin.String value="" CONST String type=kotlin.String value=""
@@ -29,4 +29,3 @@ FILE fqName:<root> fileName:/spreadOperatorInAnnotationArguments.kt
$this: VALUE_PARAMETER name:<this> type:kotlin.Any $this: VALUE_PARAMETER name:<this> type:kotlin.Any
FUN name:test visibility:public modality:FINAL <> () returnType:kotlin.Unit FUN name:test visibility:public modality:FINAL <> () returnType:kotlin.Unit
BLOCK_BODY BLOCK_BODY
@@ -27,4 +27,3 @@ FILE fqName:<root> fileName:/typeAliasesWithAnnotations.kt
overridden: overridden:
public open fun toString (): kotlin.String declared in kotlin.Any public open fun toString (): kotlin.String declared in kotlin.Any
$this: VALUE_PARAMETER name:<this> type:kotlin.Any $this: VALUE_PARAMETER name:<this> type:kotlin.Any
@@ -18,4 +18,3 @@ FILE fqName:<root> fileName:/typeParametersWithAnnotations.kt
FUN name:foo visibility:public modality:FINAL <T> () returnType:kotlin.Unit FUN name:foo visibility:public modality:FINAL <T> () returnType:kotlin.Unit
TYPE_PARAMETER name:T index:0 variance: superTypes:[] TYPE_PARAMETER name:T index:0 variance: superTypes:[]
BLOCK_BODY BLOCK_BODY
@@ -61,4 +61,3 @@ FILE fqName:<root> fileName:/valueParametersWithAnnotations.kt
overridden: overridden:
public open fun toString (): kotlin.String declared in kotlin.Any public open fun toString (): kotlin.String declared in kotlin.Any
$this: VALUE_PARAMETER name:<this> type:kotlin.Any $this: VALUE_PARAMETER name:<this> type:kotlin.Any
@@ -87,4 +87,3 @@ FILE fqName:<root> fileName:/varargsInAnnotationArguments.kt
BLOCK_BODY BLOCK_BODY
FUN name:test2 visibility:public modality:FINAL <> () returnType:kotlin.Unit FUN name:test2 visibility:public modality:FINAL <> () returnType:kotlin.Unit
BLOCK_BODY BLOCK_BODY
@@ -33,4 +33,3 @@ FILE fqName:<root> fileName:/variablesWithAnnotations.kt
CONST String type=kotlin.String value="testVal" CONST String type=kotlin.String value="testVal"
VAR name:testVar type:kotlin.String [var] VAR name:testVar type:kotlin.String [var]
CONST String type=kotlin.String value="testVar" CONST String type=kotlin.String value="testVar"
@@ -134,4 +134,3 @@ FILE fqName:<root> fileName:/classLevelProperties.kt
overridden: overridden:
public open fun toString (): kotlin.String declared in kotlin.Any public open fun toString (): kotlin.String declared in kotlin.Any
$this: VALUE_PARAMETER name:<this> type:kotlin.Any $this: VALUE_PARAMETER name:<this> type:kotlin.Any
@@ -72,4 +72,3 @@ FILE fqName:<root> fileName:/constValInitializers.kt
BLOCK_BODY BLOCK_BODY
RETURN type=kotlin.Nothing from='public final fun <get-STR4> (): kotlin.String declared in <root>' RETURN type=kotlin.Nothing from='public final fun <get-STR4> (): kotlin.String declared in <root>'
GET_FIELD 'FIELD PROPERTY_BACKING_FIELD name:STR4 type:kotlin.String visibility:public [final,static]' type=kotlin.String origin=null GET_FIELD 'FIELD PROPERTY_BACKING_FIELD name:STR4 type:kotlin.String visibility:public [final,static]' type=kotlin.String origin=null
@@ -53,4 +53,3 @@ FILE fqName:<root> fileName:/extensionProperties.kt
overridden: overridden:
public open fun toString (): kotlin.String declared in kotlin.Any public open fun toString (): kotlin.String declared in kotlin.Any
$this: VALUE_PARAMETER name:<this> type:kotlin.Any $this: VALUE_PARAMETER name:<this> type:kotlin.Any
@@ -10,4 +10,3 @@ FILE fqName:<root> fileName:/fileWithAnnotations.kt
BLOCK_BODY BLOCK_BODY
RETURN type=kotlin.Nothing from='public final fun <get-bar> (): kotlin.Int declared in <root>' RETURN type=kotlin.Nothing from='public final fun <get-bar> (): kotlin.Int declared in <root>'
GET_FIELD 'FIELD PROPERTY_BACKING_FIELD name:bar type:kotlin.Int visibility:public [final,static]' type=kotlin.Int origin=null GET_FIELD 'FIELD PROPERTY_BACKING_FIELD name:bar type:kotlin.Int visibility:public [final,static]' type=kotlin.Int origin=null
@@ -11,4 +11,3 @@ FILE fqName:<root> fileName:/kt27005.kt
TYPE_PARAMETER name:T index:0 variance: superTypes:[] TYPE_PARAMETER name:T index:0 variance: superTypes:[]
BLOCK_BODY BLOCK_BODY
CALL 'public final fun TODO (): kotlin.Nothing [inline] declared in kotlin' type=kotlin.Nothing origin=null CALL 'public final fun TODO (): kotlin.Nothing [inline] declared in kotlin' type=kotlin.Nothing origin=null
@@ -40,4 +40,3 @@ FILE fqName:interop fileName:/Definitions.kt
overridden: overridden:
public open fun toString (): kotlin.String declared in kotlin.Any public open fun toString (): kotlin.String declared in kotlin.Any
$this: VALUE_PARAMETER name:<this> type:kotlin.Any $this: VALUE_PARAMETER name:<this> type:kotlin.Any
@@ -60,4 +60,3 @@ FILE fqName:<root> fileName:/localClassWithOverrides.kt
SET_FIELD 'FIELD PROPERTY_BACKING_FIELD name:avar type:kotlin.Int visibility:public' type=kotlin.Unit origin=null SET_FIELD 'FIELD PROPERTY_BACKING_FIELD name:avar type:kotlin.Int visibility:public' type=kotlin.Unit origin=null
receiver: GET_VAR '<this>: <root>.outer.Local declared in <root>.outer.Local.<set-avar>' type=<root>.outer.Local origin=null receiver: GET_VAR '<this>: <root>.outer.Local declared in <root>.outer.Local.<set-avar>' type=<root>.outer.Local origin=null
value: GET_VAR '<set-?>: kotlin.Int declared in <root>.outer.Local.<set-avar>' type=kotlin.Int origin=null value: GET_VAR '<set-?>: kotlin.Int declared in <root>.outer.Local.<set-avar>' type=kotlin.Int origin=null
@@ -9,4 +9,3 @@ FILE fqName:<root> fileName:/localVarInDoWhile.kt
$this: CALL 'public final fun EQEQ (arg0: kotlin.Any?, arg1: kotlin.Any?): kotlin.Boolean declared in kotlin.internal.ir' 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: x>#' type=IrErrorType arg0: ERROR_CALL 'Unresolved reference: <Unresolved name: x>#' type=IrErrorType
arg1: CONST Int type=kotlin.Unit value=42 arg1: CONST Int type=kotlin.Unit value=42
@@ -93,4 +93,3 @@ FILE fqName:<root> fileName:/expectClassInherited.kt
overridden: overridden:
public open fun toString (): kotlin.String declared in kotlin.Any public open fun toString (): kotlin.String declared in kotlin.Any
$this: VALUE_PARAMETER name:<this> type:kotlin.Any $this: VALUE_PARAMETER name:<this> type:kotlin.Any
@@ -152,4 +152,3 @@ FILE fqName:<root> fileName:/expectedEnumClass.kt
overridden: overridden:
public open fun toString (): kotlin.String declared in kotlin.Enum public open fun toString (): kotlin.String declared in kotlin.Enum
$this: VALUE_PARAMETER name:<this> type:kotlin.Enum $this: VALUE_PARAMETER name:<this> type:kotlin.Enum
@@ -75,4 +75,3 @@ FILE fqName:<root> fileName:/expectedSealedClass.kt
overridden: overridden:
public open fun toString (): kotlin.String declared in kotlin.Any public open fun toString (): kotlin.String declared in kotlin.Any
$this: VALUE_PARAMETER name:<this> type:kotlin.Any $this: VALUE_PARAMETER name:<this> type:kotlin.Any
@@ -91,4 +91,3 @@ FILE fqName:<root> fileName:/class.kt
overridden: overridden:
public open fun toString (): kotlin.String declared in kotlin.Any public open fun toString (): kotlin.String declared in kotlin.Any
$this: VALUE_PARAMETER name:<this> type:kotlin.Any $this: VALUE_PARAMETER name:<this> type:kotlin.Any
@@ -64,4 +64,3 @@ FILE fqName:<root> fileName:/dataClassMembers.kt
overridden: overridden:
public open fun toString (): kotlin.String declared in kotlin.Any public open fun toString (): kotlin.String declared in kotlin.Any
$this: VALUE_PARAMETER name:<this> type:kotlin.Any $this: VALUE_PARAMETER name:<this> type:kotlin.Any
@@ -126,4 +126,3 @@ FILE fqName:<root> fileName:/defaultPropertyAccessors.kt
overridden: overridden:
public open fun toString (): kotlin.String declared in kotlin.Any public open fun toString (): kotlin.String declared in kotlin.Any
$this: VALUE_PARAMETER name:<this> type:kotlin.Any $this: VALUE_PARAMETER name:<this> type:kotlin.Any
@@ -35,4 +35,3 @@ FILE fqName:<root> fileName:/delegatedMembers.kt
BLOCK_BODY BLOCK_BODY
DELEGATING_CONSTRUCTOR_CALL 'public constructor <init> () [primary] declared in kotlin.Any' DELEGATING_CONSTRUCTOR_CALL 'public constructor <init> () [primary] declared in kotlin.Any'
INSTANCE_INITIALIZER_CALL classDescriptor='CLASS CLASS name:Test modality:FINAL visibility:public superTypes:[]' INSTANCE_INITIALIZER_CALL classDescriptor='CLASS CLASS name:Test modality:FINAL visibility:public superTypes:[]'
@@ -52,4 +52,3 @@ FILE fqName:<root> fileName:/fun.kt
overridden: overridden:
public open fun toString (): kotlin.String declared in kotlin.Any public open fun toString (): kotlin.String declared in kotlin.Any
$this: VALUE_PARAMETER name:<this> type:kotlin.Any $this: VALUE_PARAMETER name:<this> type:kotlin.Any
@@ -44,4 +44,3 @@ FILE fqName:<root> fileName:/genericInnerClass.kt
overridden: overridden:
public open fun toString (): kotlin.String declared in kotlin.Any public open fun toString (): kotlin.String declared in kotlin.Any
$this: VALUE_PARAMETER name:<this> type:kotlin.Any $this: VALUE_PARAMETER name:<this> type:kotlin.Any
@@ -23,4 +23,3 @@ FILE fqName:<root> fileName:/localFun.kt
VALUE_PARAMETER name:i index:0 type:kotlin.Int VALUE_PARAMETER name:i index:0 type:kotlin.Int
VALUE_PARAMETER name:j index:1 type:TT of <root>.outer VALUE_PARAMETER name:j index:1 type:TT of <root>.outer
BLOCK_BODY BLOCK_BODY
@@ -124,4 +124,3 @@ FILE fqName:<root> fileName:/propertyAccessors.kt
overridden: overridden:
public open fun toString (): kotlin.String declared in kotlin.Any public open fun toString (): kotlin.String declared in kotlin.Any
$this: VALUE_PARAMETER name:<this> type:kotlin.Any $this: VALUE_PARAMETER name:<this> type:kotlin.Any
@@ -32,4 +32,3 @@ FILE fqName:<root> fileName:/typeParameterBeforeBound.kt
correspondingProperty: PROPERTY name:test3 visibility:public modality:FINAL [var] correspondingProperty: PROPERTY name:test3 visibility:public modality:FINAL [var]
VALUE_PARAMETER name:value index:0 type:kotlin.Unit VALUE_PARAMETER name:value index:0 type:kotlin.Unit
BLOCK_BODY BLOCK_BODY
@@ -112,4 +112,3 @@ FILE fqName:<root> fileName:/member.kt
overridden: overridden:
public open fun toString (): kotlin.String declared in kotlin.Any public open fun toString (): kotlin.String declared in kotlin.Any
$this: VALUE_PARAMETER name:<this> type:kotlin.Any $this: VALUE_PARAMETER name:<this> type:kotlin.Any
@@ -94,4 +94,3 @@ FILE fqName:<root> fileName:/memberExtension.kt
overridden: overridden:
public open fun toString (): kotlin.String declared in kotlin.Any public open fun toString (): kotlin.String declared in kotlin.Any
$this: VALUE_PARAMETER name:<this> type:kotlin.Any $this: VALUE_PARAMETER name:<this> type:kotlin.Any
@@ -25,4 +25,3 @@ FILE fqName:<root> fileName:/suppressedNonPublicCall.kt
$receiver: VALUE_PARAMETER name:<this> type:<root>.C $receiver: VALUE_PARAMETER name:<this> type:<root>.C
BLOCK_BODY BLOCK_BODY
CALL 'internal final fun bar (): kotlin.Unit declared in <root>.C' type=kotlin.Unit origin=null CALL 'internal final fun bar (): kotlin.Unit declared in <root>.C' type=kotlin.Unit origin=null
@@ -37,4 +37,3 @@ FILE fqName:<root> fileName:/unresolvedReference.kt
BLOCK_BODY BLOCK_BODY
RETURN type=kotlin.Nothing from='public final fun <get-test4> (): IrErrorType declared in <root>' RETURN type=kotlin.Nothing from='public final fun <get-test4> (): IrErrorType declared in <root>'
GET_FIELD 'FIELD PROPERTY_BACKING_FIELD name:test4 type:IrErrorType visibility:public [final,static]' type=IrErrorType origin=null GET_FIELD 'FIELD PROPERTY_BACKING_FIELD name:test4 type:IrErrorType visibility:public [final,static]' type=IrErrorType origin=null
@@ -27,4 +27,3 @@ FILE fqName:<root> fileName:/arrayAccess.kt
other: CALL 'public final fun get (index: kotlin.Int): kotlin.Int declared in kotlin.IntArray' type=kotlin.Int origin=null other: CALL 'public final fun get (index: kotlin.Int): kotlin.Int declared in kotlin.IntArray' type=kotlin.Int origin=null
$this: GET_VAR 'a: kotlin.IntArray declared in <root>.test' type=kotlin.IntArray origin=null $this: GET_VAR 'a: kotlin.IntArray declared in <root>.test' type=kotlin.IntArray origin=null
index: CALL 'public final fun foo (): kotlin.Int declared in <root>' type=kotlin.Int origin=null index: CALL 'public final fun foo (): kotlin.Int declared in <root>' type=kotlin.Int origin=null
@@ -23,4 +23,3 @@ FILE fqName:<root> fileName:/arrayAssignment.kt
CONST Int type=kotlin.Int value=3 CONST Int type=kotlin.Int value=3
index: CALL 'public final fun foo (): kotlin.Int declared in <root>' type=kotlin.Int origin=null index: CALL 'public final fun foo (): kotlin.Int declared in <root>' type=kotlin.Int origin=null
value: CONST Int type=kotlin.Int value=1 value: CONST Int type=kotlin.Int value=1
@@ -66,4 +66,3 @@ FILE fqName:<root> fileName:/arrayAugmentedAssignment1.kt
value: CALL 'public final fun inc (): kotlin.Int declared in kotlin.Int' type=kotlin.Int origin=null value: CALL 'public final fun inc (): kotlin.Int declared in kotlin.Int' type=kotlin.Int origin=null
$this: GET_VAR 'val <unary>: kotlin.Int [val] declared in <root>.testMember' type=kotlin.Int origin=null $this: GET_VAR 'val <unary>: kotlin.Int [val] declared in <root>.testMember' type=kotlin.Int origin=null
GET_VAR 'val <unary>: kotlin.Int [val] declared in <root>.testMember' type=kotlin.Int origin=null GET_VAR 'val <unary>: kotlin.Int [val] declared in <root>.testMember' type=kotlin.Int origin=null
@@ -42,4 +42,3 @@ FILE fqName:<root> fileName:/arrayAugmentedAssignment2.kt
VALUE_PARAMETER name:a index:0 type:<root>.IA VALUE_PARAMETER name:a index:0 type:<root>.IA
BLOCK_BODY BLOCK_BODY
ERROR_CALL 'FirArraySetCall (resolve isn't supported yet)' type=kotlin.Unit ERROR_CALL 'FirArraySetCall (resolve isn't supported yet)' type=kotlin.Unit
@@ -53,4 +53,3 @@ FILE fqName:<root> fileName:/assignments.kt
BLOCK_BODY BLOCK_BODY
SET_FIELD 'FIELD PROPERTY_BACKING_FIELD name:x type:kotlin.Int visibility:public' type=kotlin.Int origin=null SET_FIELD 'FIELD PROPERTY_BACKING_FIELD name:x type:kotlin.Int visibility:public' type=kotlin.Int origin=null
value: CONST Int type=kotlin.Int value=0 value: CONST Int type=kotlin.Int value=0
@@ -40,4 +40,3 @@ FILE fqName:<root> fileName:/augmentedAssignment1.kt
value: CONST Int type=kotlin.Int value=4 value: CONST Int type=kotlin.Int value=4
SET_FIELD 'FIELD PROPERTY_BACKING_FIELD name:p type:kotlin.Int visibility:public [static]' type=kotlin.Int origin=null SET_FIELD 'FIELD PROPERTY_BACKING_FIELD name:p type:kotlin.Int visibility:public [static]' type=kotlin.Int origin=null
value: CONST Int type=kotlin.Int value=5 value: CONST Int type=kotlin.Int value=5
@@ -21,4 +21,3 @@ FILE fqName:<root> fileName:/booleanConstsInAndAndOrOr.kt
if: CONST Boolean type=kotlin.Boolean value=true if: CONST Boolean type=kotlin.Boolean value=true
then: RETURN type=kotlin.Nothing from='public final fun test2 (b: kotlin.Boolean): kotlin.Unit declared in <root>' then: RETURN type=kotlin.Nothing from='public final fun test2 (b: kotlin.Boolean): kotlin.Unit declared in <root>'
GET_OBJECT 'CLASS IR_EXTERNAL_DECLARATION_STUB OBJECT name:Unit modality:FINAL visibility:public superTypes:[kotlin.Any]' type=kotlin.Unit GET_OBJECT 'CLASS IR_EXTERNAL_DECLARATION_STUB OBJECT name:Unit modality:FINAL visibility:public superTypes:[kotlin.Any]' type=kotlin.Unit
@@ -62,4 +62,3 @@ FILE fqName:<root> fileName:/boundCallableReferences.kt
BLOCK_BODY BLOCK_BODY
RETURN type=kotlin.Nothing from='public final fun <get-test3> (): IrErrorType declared in <root>' RETURN type=kotlin.Nothing from='public final fun <get-test3> (): IrErrorType declared in <root>'
GET_FIELD 'FIELD PROPERTY_BACKING_FIELD name:test3 type:IrErrorType visibility:public [final,static]' type=IrErrorType origin=null GET_FIELD 'FIELD PROPERTY_BACKING_FIELD name:test3 type:IrErrorType visibility:public [final,static]' type=IrErrorType origin=null
@@ -49,4 +49,3 @@ FILE fqName:<root> fileName:/breakContinue.kt
condition: CONST Boolean type=kotlin.Boolean value=true condition: CONST Boolean type=kotlin.Boolean value=true
body: CONTINUE label=L loop.label=L body: CONTINUE label=L loop.label=L
CONTINUE label=L loop.label=L CONTINUE label=L loop.label=L
@@ -133,4 +133,3 @@ FILE fqName:<root> fileName:/breakContinueInLoopHeader.kt
arg0: GET_VAR 'var i: kotlin.Int [var] declared in <root>.test5' type=kotlin.Int origin=null arg0: GET_VAR 'var i: kotlin.Int [var] declared in <root>.test5' type=kotlin.Int origin=null
arg1: CONST Int type=kotlin.Unit value=3 arg1: CONST Int type=kotlin.Unit value=3
then: BREAK label=null loop.label=Outer then: BREAK label=null loop.label=Outer
@@ -30,4 +30,3 @@ FILE fqName:<root> fileName:/callWithReorderedArguments.kt
CALL 'public final fun foo (a: kotlin.Int, b: kotlin.Int): kotlin.Unit declared in <root>' type=kotlin.Unit origin=null CALL 'public final fun foo (a: kotlin.Int, b: kotlin.Int): kotlin.Unit declared in <root>' type=kotlin.Unit origin=null
a: CONST Int type=kotlin.Int value=1 a: CONST Int type=kotlin.Int value=1
b: CALL 'public final fun reordered2 (): kotlin.Int declared in <root>' type=kotlin.Int origin=null b: CALL 'public final fun reordered2 (): kotlin.Int declared in <root>' type=kotlin.Int origin=null
@@ -51,4 +51,3 @@ FILE fqName:<root> fileName:/callableRefToGenericMember.kt
BLOCK_BODY BLOCK_BODY
RETURN type=kotlin.Nothing from='public final fun <get-test2> (): kotlin.Int declared in <root>' RETURN type=kotlin.Nothing from='public final fun <get-test2> (): kotlin.Int declared in <root>'
GET_FIELD 'FIELD PROPERTY_BACKING_FIELD name:test2 type:kotlin.Int visibility:public [final,static]' type=kotlin.Int origin=null GET_FIELD 'FIELD PROPERTY_BACKING_FIELD name:test2 type:kotlin.Int visibility:public [final,static]' type=kotlin.Int origin=null
@@ -70,4 +70,3 @@ FILE fqName:test fileName:/callableReferenceToImportedFromObject.kt
BLOCK_BODY BLOCK_BODY
RETURN type=kotlin.Nothing from='public final fun <get-test2a> (): IrErrorType declared in test' RETURN type=kotlin.Nothing from='public final fun <get-test2a> (): IrErrorType declared in test'
GET_FIELD 'FIELD PROPERTY_BACKING_FIELD name:test2a type:IrErrorType visibility:public [final,static]' type=IrErrorType origin=null GET_FIELD 'FIELD PROPERTY_BACKING_FIELD name:test2a type:IrErrorType visibility:public [final,static]' type=IrErrorType origin=null
@@ -58,4 +58,3 @@ FILE fqName:<root> fileName:/callableReferenceTypeArguments.kt
BLOCK_BODY BLOCK_BODY
RETURN type=kotlin.Nothing from='public final fun <get-test3> (): kotlin.Function1<kotlin.Int, kotlin.Unit> declared in <root>' RETURN type=kotlin.Nothing from='public final fun <get-test3> (): kotlin.Function1<kotlin.Int, kotlin.Unit> declared in <root>'
GET_FIELD 'FIELD PROPERTY_BACKING_FIELD name:test3 type:kotlin.Function1<kotlin.Int, kotlin.Unit> visibility:public [final,static]' type=kotlin.Function1<kotlin.Int, kotlin.Unit> origin=null GET_FIELD 'FIELD PROPERTY_BACKING_FIELD name:test3 type:kotlin.Function1<kotlin.Int, kotlin.Unit> visibility:public [final,static]' type=kotlin.Function1<kotlin.Int, kotlin.Unit> origin=null
-1
View File
@@ -42,4 +42,3 @@ FILE fqName:<root> fileName:/calls.kt
CALL 'public final fun foo (x: kotlin.Int, y: kotlin.Int): kotlin.Int declared in <root>' type=kotlin.Int origin=null CALL 'public final fun foo (x: kotlin.Int, y: kotlin.Int): kotlin.Int declared in <root>' type=kotlin.Int origin=null
x: CALL 'public final fun ext1 (): kotlin.Int declared in <root>' type=kotlin.Int origin=null x: CALL 'public final fun ext1 (): kotlin.Int declared in <root>' type=kotlin.Int origin=null
y: GET_VAR 'x: kotlin.Int declared in <root>.ext3' type=kotlin.Int origin=null y: GET_VAR 'x: kotlin.Int declared in <root>.ext3' type=kotlin.Int origin=null
@@ -86,4 +86,3 @@ FILE fqName:<root> fileName:/castToTypeParameter.kt
overridden: overridden:
public open fun toString (): kotlin.String declared in kotlin.Any public open fun toString (): kotlin.String declared in kotlin.Any
$this: VALUE_PARAMETER name:<this> type:kotlin.Any $this: VALUE_PARAMETER name:<this> type:kotlin.Any
@@ -10,4 +10,3 @@ FILE fqName:<root> fileName:/catchParameterAccess.kt
VAR name:e type:java.lang.Exception [val] VAR name:e type:java.lang.Exception [val]
THROW type=kotlin.Nothing 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 [val] declared in <root>.test' type=java.lang.Exception origin=null
@@ -236,4 +236,3 @@ FILE fqName:<root> fileName:/complexAugmentedAssignment.kt
VALUE_PARAMETER name:v index:0 type:<root>.B VALUE_PARAMETER name:v index:0 type:<root>.B
BLOCK_BODY BLOCK_BODY
ERROR_CALL 'Unresolved reference: R|<local>/v|' type=IrErrorType ERROR_CALL 'Unresolved reference: R|<local>/v|' type=IrErrorType
@@ -61,4 +61,3 @@ FILE fqName:<root> fileName:/conventionComparisons.kt
BLOCK_BODY BLOCK_BODY
RETURN type=kotlin.Nothing from='public final fun test4 (a1: <root>.IA, a2: <root>.IA): kotlin.Boolean declared in <root>' RETURN type=kotlin.Nothing from='public final fun test4 (a1: <root>.IA, a2: <root>.IA): kotlin.Boolean declared in <root>'
ERROR_CALL 'Comparison of arguments with unsupported type: /IA' type=kotlin.Boolean ERROR_CALL 'Comparison of arguments with unsupported type: /IA' type=kotlin.Boolean
-1
View File
@@ -107,4 +107,3 @@ FILE fqName:<root> fileName:/elvis.kt
BRANCH BRANCH
if: CONST Boolean type=kotlin.Boolean value=true if: CONST Boolean type=kotlin.Boolean value=true
then: GET_VAR 'val <elvis>: kotlin.Any? [val] declared in <root>.test5' type=kotlin.Any? origin=null then: GET_VAR 'val <elvis>: kotlin.Any? [val] declared in <root>.test5' type=kotlin.Any? origin=null
@@ -13,4 +13,3 @@ FILE fqName:<root> fileName:/extFunInvokeAsFun.kt
BLOCK_BODY BLOCK_BODY
RETURN type=kotlin.Nothing from='public final fun with2 (receiver: kotlin.Any?, block: kotlin.Function1<kotlin.Any?, kotlin.Unit>): IrErrorType declared in <root>' RETURN type=kotlin.Nothing from='public final fun with2 (receiver: kotlin.Any?, block: kotlin.Function1<kotlin.Any?, kotlin.Unit>): IrErrorType declared in <root>'
ERROR_CALL 'Unresolved reference: <Unresolved name: block>#' type=IrErrorType ERROR_CALL 'Unresolved reference: <Unresolved name: block>#' type=IrErrorType
@@ -7,4 +7,3 @@ FILE fqName:<root> fileName:/extFunSafeInvoke.kt
ERROR_CALL 'Unresolved reference: <Unresolved name: fn>#' type=IrErrorType ERROR_CALL 'Unresolved reference: <Unresolved name: fn>#' type=IrErrorType
CONST Int type=kotlin.Int value=42 CONST Int type=kotlin.Int value=42
CONST String type=kotlin.String value="Hello" CONST String type=kotlin.String value="Hello"

Some files were not shown because too many files have changed in this diff Show More