diff --git a/compiler/fir/fir2ir/testData/ir/irText/properties/backingField/backingFieldVisibility.txt b/compiler/fir/fir2ir/testData/ir/irText/properties/backingField/backingFieldVisibility.ir.txt similarity index 100% rename from compiler/fir/fir2ir/testData/ir/irText/properties/backingField/backingFieldVisibility.txt rename to compiler/fir/fir2ir/testData/ir/irText/properties/backingField/backingFieldVisibility.ir.txt diff --git a/compiler/fir/fir2ir/testData/ir/irText/properties/backingField/explicitBackingFieldType.txt b/compiler/fir/fir2ir/testData/ir/irText/properties/backingField/explicitBackingFieldType.ir.txt similarity index 100% rename from compiler/fir/fir2ir/testData/ir/irText/properties/backingField/explicitBackingFieldType.txt rename to compiler/fir/fir2ir/testData/ir/irText/properties/backingField/explicitBackingFieldType.ir.txt diff --git a/compiler/fir/fir2ir/testData/ir/irText/properties/backingField/independentBackingFieldType.txt b/compiler/fir/fir2ir/testData/ir/irText/properties/backingField/independentBackingFieldType.ir.txt similarity index 100% rename from compiler/fir/fir2ir/testData/ir/irText/properties/backingField/independentBackingFieldType.txt rename to compiler/fir/fir2ir/testData/ir/irText/properties/backingField/independentBackingFieldType.ir.txt diff --git a/compiler/fir/fir2ir/testData/ir/irText/properties/backingField/propertyTypeNarrowing.txt b/compiler/fir/fir2ir/testData/ir/irText/properties/backingField/propertyTypeNarrowing.ir.txt similarity index 100% rename from compiler/fir/fir2ir/testData/ir/irText/properties/backingField/propertyTypeNarrowing.txt rename to compiler/fir/fir2ir/testData/ir/irText/properties/backingField/propertyTypeNarrowing.ir.txt diff --git a/compiler/fir/fir2ir/testData/ir/irText/sample.ir.txt b/compiler/fir/fir2ir/testData/ir/irText/sample.ir.txt new file mode 100644 index 00000000000..3dfd109d8ab --- /dev/null +++ b/compiler/fir/fir2ir/testData/ir/irText/sample.ir.txt @@ -0,0 +1,3 @@ +FILE fqName: fileName:/sample.kt + FUN name:sample visibility:public modality:FINAL <> () returnType:kotlin.Unit + BLOCK_BODY diff --git a/compiler/testData/codegen/box/fir/callableReferenceToJavaField.fir.txt b/compiler/testData/codegen/box/fir/callableReferenceToJavaField.fir.ir.txt similarity index 100% rename from compiler/testData/codegen/box/fir/callableReferenceToJavaField.fir.txt rename to compiler/testData/codegen/box/fir/callableReferenceToJavaField.fir.ir.txt diff --git a/compiler/testData/codegen/box/fir/callableReferenceToJavaField.txt b/compiler/testData/codegen/box/fir/callableReferenceToJavaField.ir.txt similarity index 100% rename from compiler/testData/codegen/box/fir/callableReferenceToJavaField.txt rename to compiler/testData/codegen/box/fir/callableReferenceToJavaField.ir.txt diff --git a/compiler/testData/codegen/box/fir/noSymbolForIntRangeIterator.fir.txt b/compiler/testData/codegen/box/fir/noSymbolForIntRangeIterator.fir.ir.txt similarity index 100% rename from compiler/testData/codegen/box/fir/noSymbolForIntRangeIterator.fir.txt rename to compiler/testData/codegen/box/fir/noSymbolForIntRangeIterator.fir.ir.txt diff --git a/compiler/testData/codegen/box/fir/noSymbolForIntRangeIterator.txt b/compiler/testData/codegen/box/fir/noSymbolForIntRangeIterator.ir.txt similarity index 100% rename from compiler/testData/codegen/box/fir/noSymbolForIntRangeIterator.txt rename to compiler/testData/codegen/box/fir/noSymbolForIntRangeIterator.ir.txt diff --git a/compiler/testData/codegen/box/smartCasts/kt44814.fir.ir.txt b/compiler/testData/codegen/box/smartCasts/kt44814.fir.ir.txt new file mode 100644 index 00000000000..1eceb47c10f --- /dev/null +++ b/compiler/testData/codegen/box/smartCasts/kt44814.fir.ir.txt @@ -0,0 +1,791 @@ +FILE fqName: fileName:/kt44814.kt + CLASS CLASS name:FlyweightCapableTreeStructure modality:FINAL visibility:public superTypes:[kotlin.Any] + $this: VALUE_PARAMETER INSTANCE_RECEIVER name: type:.FlyweightCapableTreeStructure + CONSTRUCTOR visibility:public <> () returnType:.FlyweightCapableTreeStructure [primary] + BLOCK_BODY + DELEGATING_CONSTRUCTOR_CALL 'public constructor () [primary] declared in kotlin.Any' + INSTANCE_INITIALIZER_CALL classDescriptor='CLASS CLASS name:FlyweightCapableTreeStructure modality:FINAL visibility:public superTypes:[kotlin.Any]' + FUN FAKE_OVERRIDE name:equals visibility:public modality:OPEN <> ($this:kotlin.Any, other:kotlin.Any?) returnType:kotlin.Boolean [fake_override,operator] + overridden: + public open fun equals (other: kotlin.Any?): kotlin.Boolean [operator] declared in kotlin.Any + $this: VALUE_PARAMETER name: type:kotlin.Any + VALUE_PARAMETER name:other index:0 type:kotlin.Any? + FUN FAKE_OVERRIDE name:hashCode visibility:public modality:OPEN <> ($this:kotlin.Any) returnType:kotlin.Int [fake_override] + overridden: + public open fun hashCode (): kotlin.Int declared in kotlin.Any + $this: VALUE_PARAMETER name: type:kotlin.Any + FUN FAKE_OVERRIDE name:toString visibility:public modality:OPEN <> ($this:kotlin.Any) returnType:kotlin.String [fake_override] + overridden: + public open fun toString (): kotlin.String declared in kotlin.Any + $this: VALUE_PARAMETER name: type:kotlin.Any + CLASS CLASS name:FirSourceElement modality:SEALED visibility:public superTypes:[kotlin.Any] + sealedSubclasses: + CLASS CLASS name:FirPsiSourceElement modality:FINAL visibility:public superTypes:[.FirSourceElement] + CLASS CLASS name:FirLightSourceElement modality:FINAL visibility:public superTypes:[.FirSourceElement] + $this: VALUE_PARAMETER INSTANCE_RECEIVER name: type:.FirSourceElement + CONSTRUCTOR visibility:protected <> () returnType:.FirSourceElement [primary] + BLOCK_BODY + DELEGATING_CONSTRUCTOR_CALL 'public constructor () [primary] declared in kotlin.Any' + INSTANCE_INITIALIZER_CALL classDescriptor='CLASS CLASS name:FirSourceElement modality:SEALED visibility:public superTypes:[kotlin.Any]' + PROPERTY name:lighterASTNode visibility:public modality:ABSTRACT [val] + FUN DEFAULT_PROPERTY_ACCESSOR name: visibility:public modality:ABSTRACT <> ($this:.FirSourceElement) returnType:.LighterASTNode + correspondingProperty: PROPERTY name:lighterASTNode visibility:public modality:ABSTRACT [val] + $this: VALUE_PARAMETER name: type:.FirSourceElement + PROPERTY name:treeStructure visibility:public modality:ABSTRACT [val] + FUN DEFAULT_PROPERTY_ACCESSOR name: visibility:public modality:ABSTRACT <> ($this:.FirSourceElement) returnType:.FlyweightCapableTreeStructure + correspondingProperty: PROPERTY name:treeStructure visibility:public modality:ABSTRACT [val] + $this: VALUE_PARAMETER name: type:.FirSourceElement + FUN FAKE_OVERRIDE name:equals visibility:public modality:OPEN <> ($this:kotlin.Any, other:kotlin.Any?) returnType:kotlin.Boolean [fake_override,operator] + overridden: + public open fun equals (other: kotlin.Any?): kotlin.Boolean [operator] declared in kotlin.Any + $this: VALUE_PARAMETER name: type:kotlin.Any + VALUE_PARAMETER name:other index:0 type:kotlin.Any? + FUN FAKE_OVERRIDE name:hashCode visibility:public modality:OPEN <> ($this:kotlin.Any) returnType:kotlin.Int [fake_override] + overridden: + public open fun hashCode (): kotlin.Int declared in kotlin.Any + $this: VALUE_PARAMETER name: type:kotlin.Any + FUN FAKE_OVERRIDE name:toString visibility:public modality:OPEN <> ($this:kotlin.Any) returnType:kotlin.String [fake_override] + overridden: + public open fun toString (): kotlin.String declared in kotlin.Any + $this: VALUE_PARAMETER name: type:kotlin.Any + CLASS CLASS name:FirPsiSourceElement modality:FINAL visibility:public superTypes:[.FirSourceElement] + $this: VALUE_PARAMETER INSTANCE_RECEIVER name: type:.FirPsiSourceElement + CONSTRUCTOR visibility:public <> (psi:.PsiElement, lighterASTNode:.LighterASTNode, treeStructure:.FlyweightCapableTreeStructure) returnType:.FirPsiSourceElement [primary] + VALUE_PARAMETER name:psi index:0 type:.PsiElement + VALUE_PARAMETER name:lighterASTNode index:1 type:.LighterASTNode + VALUE_PARAMETER name:treeStructure index:2 type:.FlyweightCapableTreeStructure + BLOCK_BODY + DELEGATING_CONSTRUCTOR_CALL 'protected constructor () [primary] declared in .FirSourceElement' + INSTANCE_INITIALIZER_CALL classDescriptor='CLASS CLASS name:FirPsiSourceElement modality:FINAL visibility:public superTypes:[.FirSourceElement]' + PROPERTY name:psi visibility:public modality:FINAL [val] + FIELD PROPERTY_BACKING_FIELD name:psi type:.PsiElement visibility:private [final] + EXPRESSION_BODY + GET_VAR 'psi: .PsiElement declared in .FirPsiSourceElement.' type=.PsiElement origin=INITIALIZE_PROPERTY_FROM_PARAMETER + FUN DEFAULT_PROPERTY_ACCESSOR name: visibility:public modality:FINAL <> ($this:.FirPsiSourceElement) returnType:.PsiElement + correspondingProperty: PROPERTY name:psi visibility:public modality:FINAL [val] + $this: VALUE_PARAMETER name: type:.FirPsiSourceElement + BLOCK_BODY + RETURN type=kotlin.Nothing from='public final fun (): .PsiElement declared in .FirPsiSourceElement' + GET_FIELD 'FIELD PROPERTY_BACKING_FIELD name:psi type:.PsiElement visibility:private [final]' type=.PsiElement origin=null + receiver: GET_VAR ': .FirPsiSourceElement declared in .FirPsiSourceElement.' type=.FirPsiSourceElement origin=null + PROPERTY name:lighterASTNode visibility:public modality:FINAL [val] + overridden: + public abstract lighterASTNode: .LighterASTNode [val] + FIELD PROPERTY_BACKING_FIELD name:lighterASTNode type:.LighterASTNode visibility:private [final] + EXPRESSION_BODY + GET_VAR 'lighterASTNode: .LighterASTNode declared in .FirPsiSourceElement.' type=.LighterASTNode origin=INITIALIZE_PROPERTY_FROM_PARAMETER + FUN DEFAULT_PROPERTY_ACCESSOR name: visibility:public modality:FINAL <> ($this:.FirPsiSourceElement) returnType:.LighterASTNode + correspondingProperty: PROPERTY name:lighterASTNode visibility:public modality:FINAL [val] + overridden: + public abstract fun (): .LighterASTNode declared in .FirSourceElement + $this: VALUE_PARAMETER name: type:.FirPsiSourceElement + BLOCK_BODY + RETURN type=kotlin.Nothing from='public final fun (): .LighterASTNode declared in .FirPsiSourceElement' + GET_FIELD 'FIELD PROPERTY_BACKING_FIELD name:lighterASTNode type:.LighterASTNode visibility:private [final]' type=.LighterASTNode origin=null + receiver: GET_VAR ': .FirPsiSourceElement declared in .FirPsiSourceElement.' type=.FirPsiSourceElement origin=null + PROPERTY name:treeStructure visibility:public modality:FINAL [val] + overridden: + public abstract treeStructure: .FlyweightCapableTreeStructure [val] + FIELD PROPERTY_BACKING_FIELD name:treeStructure type:.FlyweightCapableTreeStructure visibility:private [final] + EXPRESSION_BODY + GET_VAR 'treeStructure: .FlyweightCapableTreeStructure declared in .FirPsiSourceElement.' type=.FlyweightCapableTreeStructure origin=INITIALIZE_PROPERTY_FROM_PARAMETER + FUN DEFAULT_PROPERTY_ACCESSOR name: visibility:public modality:FINAL <> ($this:.FirPsiSourceElement) returnType:.FlyweightCapableTreeStructure + correspondingProperty: PROPERTY name:treeStructure visibility:public modality:FINAL [val] + overridden: + public abstract fun (): .FlyweightCapableTreeStructure declared in .FirSourceElement + $this: VALUE_PARAMETER name: type:.FirPsiSourceElement + BLOCK_BODY + RETURN type=kotlin.Nothing from='public final fun (): .FlyweightCapableTreeStructure declared in .FirPsiSourceElement' + GET_FIELD 'FIELD PROPERTY_BACKING_FIELD name:treeStructure type:.FlyweightCapableTreeStructure visibility:private [final]' type=.FlyweightCapableTreeStructure origin=null + receiver: GET_VAR ': .FirPsiSourceElement declared in .FirPsiSourceElement.' type=.FirPsiSourceElement origin=null + FUN FAKE_OVERRIDE name:equals visibility:public modality:OPEN <> ($this:kotlin.Any, other:kotlin.Any?) returnType:kotlin.Boolean [fake_override,operator] + overridden: + public open fun equals (other: kotlin.Any?): kotlin.Boolean [fake_override,operator] declared in .FirSourceElement + $this: VALUE_PARAMETER name: type:kotlin.Any + VALUE_PARAMETER name:other index:0 type:kotlin.Any? + FUN FAKE_OVERRIDE name:hashCode visibility:public modality:OPEN <> ($this:kotlin.Any) returnType:kotlin.Int [fake_override] + overridden: + public open fun hashCode (): kotlin.Int [fake_override] declared in .FirSourceElement + $this: VALUE_PARAMETER name: type:kotlin.Any + FUN FAKE_OVERRIDE name:toString visibility:public modality:OPEN <> ($this:kotlin.Any) returnType:kotlin.String [fake_override] + overridden: + public open fun toString (): kotlin.String [fake_override] declared in .FirSourceElement + $this: VALUE_PARAMETER name: type:kotlin.Any + CLASS CLASS name:FirLightSourceElement modality:FINAL visibility:public superTypes:[.FirSourceElement] + $this: VALUE_PARAMETER INSTANCE_RECEIVER name: type:.FirLightSourceElement + CONSTRUCTOR visibility:public <> (lighterASTNode:.LighterASTNode, treeStructure:.FlyweightCapableTreeStructure) returnType:.FirLightSourceElement [primary] + VALUE_PARAMETER name:lighterASTNode index:0 type:.LighterASTNode + VALUE_PARAMETER name:treeStructure index:1 type:.FlyweightCapableTreeStructure + BLOCK_BODY + DELEGATING_CONSTRUCTOR_CALL 'protected constructor () [primary] declared in .FirSourceElement' + INSTANCE_INITIALIZER_CALL classDescriptor='CLASS CLASS name:FirLightSourceElement modality:FINAL visibility:public superTypes:[.FirSourceElement]' + PROPERTY name:lighterASTNode visibility:public modality:FINAL [val] + overridden: + public abstract lighterASTNode: .LighterASTNode [val] + FIELD PROPERTY_BACKING_FIELD name:lighterASTNode type:.LighterASTNode visibility:private [final] + EXPRESSION_BODY + GET_VAR 'lighterASTNode: .LighterASTNode declared in .FirLightSourceElement.' type=.LighterASTNode origin=INITIALIZE_PROPERTY_FROM_PARAMETER + FUN DEFAULT_PROPERTY_ACCESSOR name: visibility:public modality:FINAL <> ($this:.FirLightSourceElement) returnType:.LighterASTNode + correspondingProperty: PROPERTY name:lighterASTNode visibility:public modality:FINAL [val] + overridden: + public abstract fun (): .LighterASTNode declared in .FirSourceElement + $this: VALUE_PARAMETER name: type:.FirLightSourceElement + BLOCK_BODY + RETURN type=kotlin.Nothing from='public final fun (): .LighterASTNode declared in .FirLightSourceElement' + GET_FIELD 'FIELD PROPERTY_BACKING_FIELD name:lighterASTNode type:.LighterASTNode visibility:private [final]' type=.LighterASTNode origin=null + receiver: GET_VAR ': .FirLightSourceElement declared in .FirLightSourceElement.' type=.FirLightSourceElement origin=null + PROPERTY name:treeStructure visibility:public modality:FINAL [val] + overridden: + public abstract treeStructure: .FlyweightCapableTreeStructure [val] + FIELD PROPERTY_BACKING_FIELD name:treeStructure type:.FlyweightCapableTreeStructure visibility:private [final] + EXPRESSION_BODY + GET_VAR 'treeStructure: .FlyweightCapableTreeStructure declared in .FirLightSourceElement.' type=.FlyweightCapableTreeStructure origin=INITIALIZE_PROPERTY_FROM_PARAMETER + FUN DEFAULT_PROPERTY_ACCESSOR name: visibility:public modality:FINAL <> ($this:.FirLightSourceElement) returnType:.FlyweightCapableTreeStructure + correspondingProperty: PROPERTY name:treeStructure visibility:public modality:FINAL [val] + overridden: + public abstract fun (): .FlyweightCapableTreeStructure declared in .FirSourceElement + $this: VALUE_PARAMETER name: type:.FirLightSourceElement + BLOCK_BODY + RETURN type=kotlin.Nothing from='public final fun (): .FlyweightCapableTreeStructure declared in .FirLightSourceElement' + GET_FIELD 'FIELD PROPERTY_BACKING_FIELD name:treeStructure type:.FlyweightCapableTreeStructure visibility:private [final]' type=.FlyweightCapableTreeStructure origin=null + receiver: GET_VAR ': .FirLightSourceElement declared in .FirLightSourceElement.' type=.FirLightSourceElement origin=null + FUN FAKE_OVERRIDE name:equals visibility:public modality:OPEN <> ($this:kotlin.Any, other:kotlin.Any?) returnType:kotlin.Boolean [fake_override,operator] + overridden: + public open fun equals (other: kotlin.Any?): kotlin.Boolean [fake_override,operator] declared in .FirSourceElement + $this: VALUE_PARAMETER name: type:kotlin.Any + VALUE_PARAMETER name:other index:0 type:kotlin.Any? + FUN FAKE_OVERRIDE name:hashCode visibility:public modality:OPEN <> ($this:kotlin.Any) returnType:kotlin.Int [fake_override] + overridden: + public open fun hashCode (): kotlin.Int [fake_override] declared in .FirSourceElement + $this: VALUE_PARAMETER name: type:kotlin.Any + FUN FAKE_OVERRIDE name:toString visibility:public modality:OPEN <> ($this:kotlin.Any) returnType:kotlin.String [fake_override] + overridden: + public open fun toString (): kotlin.String [fake_override] declared in .FirSourceElement + $this: VALUE_PARAMETER name: type:kotlin.Any + CLASS CLASS name:PsiElement modality:OPEN visibility:public superTypes:[kotlin.Any] + $this: VALUE_PARAMETER INSTANCE_RECEIVER name: type:.PsiElement + CONSTRUCTOR visibility:public <> () returnType:.PsiElement [primary] + BLOCK_BODY + DELEGATING_CONSTRUCTOR_CALL 'public constructor () [primary] declared in kotlin.Any' + INSTANCE_INITIALIZER_CALL classDescriptor='CLASS CLASS name:PsiElement modality:OPEN visibility:public superTypes:[kotlin.Any]' + FUN FAKE_OVERRIDE name:equals visibility:public modality:OPEN <> ($this:kotlin.Any, other:kotlin.Any?) returnType:kotlin.Boolean [fake_override,operator] + overridden: + public open fun equals (other: kotlin.Any?): kotlin.Boolean [operator] declared in kotlin.Any + $this: VALUE_PARAMETER name: type:kotlin.Any + VALUE_PARAMETER name:other index:0 type:kotlin.Any? + FUN FAKE_OVERRIDE name:hashCode visibility:public modality:OPEN <> ($this:kotlin.Any) returnType:kotlin.Int [fake_override] + overridden: + public open fun hashCode (): kotlin.Int declared in kotlin.Any + $this: VALUE_PARAMETER name: type:kotlin.Any + FUN FAKE_OVERRIDE name:toString visibility:public modality:OPEN <> ($this:kotlin.Any) returnType:kotlin.String [fake_override] + overridden: + public open fun toString (): kotlin.String declared in kotlin.Any + $this: VALUE_PARAMETER name: type:kotlin.Any + CLASS CLASS name:ASTNode modality:FINAL visibility:public superTypes:[kotlin.Any] + $this: VALUE_PARAMETER INSTANCE_RECEIVER name: type:.ASTNode + CONSTRUCTOR visibility:public <> () returnType:.ASTNode [primary] + BLOCK_BODY + DELEGATING_CONSTRUCTOR_CALL 'public constructor () [primary] declared in kotlin.Any' + INSTANCE_INITIALIZER_CALL classDescriptor='CLASS CLASS name:ASTNode modality:FINAL visibility:public superTypes:[kotlin.Any]' + FUN FAKE_OVERRIDE name:equals visibility:public modality:OPEN <> ($this:kotlin.Any, other:kotlin.Any?) returnType:kotlin.Boolean [fake_override,operator] + overridden: + public open fun equals (other: kotlin.Any?): kotlin.Boolean [operator] declared in kotlin.Any + $this: VALUE_PARAMETER name: type:kotlin.Any + VALUE_PARAMETER name:other index:0 type:kotlin.Any? + FUN FAKE_OVERRIDE name:hashCode visibility:public modality:OPEN <> ($this:kotlin.Any) returnType:kotlin.Int [fake_override] + overridden: + public open fun hashCode (): kotlin.Int declared in kotlin.Any + $this: VALUE_PARAMETER name: type:kotlin.Any + FUN FAKE_OVERRIDE name:toString visibility:public modality:OPEN <> ($this:kotlin.Any) returnType:kotlin.String [fake_override] + overridden: + public open fun toString (): kotlin.String declared in kotlin.Any + $this: VALUE_PARAMETER name: type:kotlin.Any + CLASS CLASS name:LighterASTNode modality:FINAL visibility:public superTypes:[kotlin.Any] + $this: VALUE_PARAMETER INSTANCE_RECEIVER name: type:.LighterASTNode + CONSTRUCTOR visibility:public <> (_children:kotlin.collections.List<.LighterASTNode?>) returnType:.LighterASTNode [primary] + VALUE_PARAMETER name:_children index:0 type:kotlin.collections.List<.LighterASTNode?> + EXPRESSION_BODY + CALL 'public final fun emptyList (): kotlin.collections.List declared in kotlin.collections.CollectionsKt' type=kotlin.collections.List<.LighterASTNode?> origin=null + : .LighterASTNode? + BLOCK_BODY + DELEGATING_CONSTRUCTOR_CALL 'public constructor () [primary] declared in kotlin.Any' + INSTANCE_INITIALIZER_CALL classDescriptor='CLASS CLASS name:LighterASTNode modality:FINAL visibility:public superTypes:[kotlin.Any]' + PROPERTY name:_children visibility:public modality:FINAL [val] + FIELD PROPERTY_BACKING_FIELD name:_children type:kotlin.collections.List<.LighterASTNode?> visibility:private [final] + EXPRESSION_BODY + GET_VAR '_children: kotlin.collections.List<.LighterASTNode?> declared in .LighterASTNode.' type=kotlin.collections.List<.LighterASTNode?> origin=INITIALIZE_PROPERTY_FROM_PARAMETER + FUN DEFAULT_PROPERTY_ACCESSOR name: visibility:public modality:FINAL <> ($this:.LighterASTNode) returnType:kotlin.collections.List<.LighterASTNode?> + correspondingProperty: PROPERTY name:_children visibility:public modality:FINAL [val] + $this: VALUE_PARAMETER name: type:.LighterASTNode + BLOCK_BODY + RETURN type=kotlin.Nothing from='public final fun (): kotlin.collections.List<.LighterASTNode?> declared in .LighterASTNode' + GET_FIELD 'FIELD PROPERTY_BACKING_FIELD name:_children type:kotlin.collections.List<.LighterASTNode?> visibility:private [final]' type=kotlin.collections.List<.LighterASTNode?> origin=null + receiver: GET_VAR ': .LighterASTNode declared in .LighterASTNode.' type=.LighterASTNode origin=null + FUN name:getChildren visibility:public modality:FINAL <> ($this:.LighterASTNode, treeStructure:.FlyweightCapableTreeStructure) returnType:kotlin.collections.List<.LighterASTNode?> + $this: VALUE_PARAMETER name: type:.LighterASTNode + VALUE_PARAMETER name:treeStructure index:0 type:.FlyweightCapableTreeStructure + BLOCK_BODY + RETURN type=kotlin.Nothing from='public final fun getChildren (treeStructure: .FlyweightCapableTreeStructure): kotlin.collections.List<.LighterASTNode?> declared in .LighterASTNode' + CALL 'public final fun (): kotlin.collections.List<.LighterASTNode?> declared in .LighterASTNode' type=kotlin.collections.List<.LighterASTNode?> origin=GET_PROPERTY + $this: GET_VAR ': .LighterASTNode declared in .LighterASTNode.getChildren' type=.LighterASTNode origin=null + PROPERTY name:tokenType visibility:public modality:FINAL [val] + FIELD PROPERTY_BACKING_FIELD name:tokenType type:.TokenType visibility:private [final] + EXPRESSION_BODY + CALL 'public final fun (): .TokenType declared in .TokenType.Companion' type=.TokenType origin=GET_PROPERTY + $this: GET_OBJECT 'CLASS OBJECT name:Companion modality:FINAL visibility:public [companion] superTypes:[kotlin.Any]' type=.TokenType.Companion + FUN DEFAULT_PROPERTY_ACCESSOR name: visibility:public modality:FINAL <> ($this:.LighterASTNode) returnType:.TokenType + correspondingProperty: PROPERTY name:tokenType visibility:public modality:FINAL [val] + $this: VALUE_PARAMETER name: type:.LighterASTNode + BLOCK_BODY + RETURN type=kotlin.Nothing from='public final fun (): .TokenType declared in .LighterASTNode' + GET_FIELD 'FIELD PROPERTY_BACKING_FIELD name:tokenType type:.TokenType visibility:private [final]' type=.TokenType origin=null + receiver: GET_VAR ': .LighterASTNode declared in .LighterASTNode.' type=.LighterASTNode origin=null + FUN FAKE_OVERRIDE name:equals visibility:public modality:OPEN <> ($this:kotlin.Any, other:kotlin.Any?) returnType:kotlin.Boolean [fake_override,operator] + overridden: + public open fun equals (other: kotlin.Any?): kotlin.Boolean [operator] declared in kotlin.Any + $this: VALUE_PARAMETER name: type:kotlin.Any + VALUE_PARAMETER name:other index:0 type:kotlin.Any? + FUN FAKE_OVERRIDE name:hashCode visibility:public modality:OPEN <> ($this:kotlin.Any) returnType:kotlin.Int [fake_override] + overridden: + public open fun hashCode (): kotlin.Int declared in kotlin.Any + $this: VALUE_PARAMETER name: type:kotlin.Any + FUN FAKE_OVERRIDE name:toString visibility:public modality:OPEN <> ($this:kotlin.Any) returnType:kotlin.String [fake_override] + overridden: + public open fun toString (): kotlin.String declared in kotlin.Any + $this: VALUE_PARAMETER name: type:kotlin.Any + CLASS CLASS name:TokenType modality:FINAL visibility:public superTypes:[kotlin.Any] + $this: VALUE_PARAMETER INSTANCE_RECEIVER name: type:.TokenType + CONSTRUCTOR visibility:public <> () returnType:.TokenType [primary] + BLOCK_BODY + DELEGATING_CONSTRUCTOR_CALL 'public constructor () [primary] declared in kotlin.Any' + INSTANCE_INITIALIZER_CALL classDescriptor='CLASS CLASS name:TokenType modality:FINAL visibility:public superTypes:[kotlin.Any]' + CLASS OBJECT name:Companion modality:FINAL visibility:public [companion] superTypes:[kotlin.Any] + $this: VALUE_PARAMETER INSTANCE_RECEIVER name: type:.TokenType.Companion + CONSTRUCTOR visibility:private <> () returnType:.TokenType.Companion [primary] + BLOCK_BODY + DELEGATING_CONSTRUCTOR_CALL 'public constructor () [primary] declared in kotlin.Any' + INSTANCE_INITIALIZER_CALL classDescriptor='CLASS OBJECT name:Companion modality:FINAL visibility:public [companion] superTypes:[kotlin.Any]' + PROPERTY name:MODIFIER_LIST visibility:public modality:FINAL [val] + FIELD PROPERTY_BACKING_FIELD name:MODIFIER_LIST type:.TokenType visibility:private [final] + EXPRESSION_BODY + CONSTRUCTOR_CALL 'public constructor () [primary] declared in .TokenType' type=.TokenType origin=null + FUN DEFAULT_PROPERTY_ACCESSOR name: visibility:public modality:FINAL <> ($this:.TokenType.Companion) returnType:.TokenType + correspondingProperty: PROPERTY name:MODIFIER_LIST visibility:public modality:FINAL [val] + $this: VALUE_PARAMETER name: type:.TokenType.Companion + BLOCK_BODY + RETURN type=kotlin.Nothing from='public final fun (): .TokenType declared in .TokenType.Companion' + GET_FIELD 'FIELD PROPERTY_BACKING_FIELD name:MODIFIER_LIST type:.TokenType visibility:private [final]' type=.TokenType origin=null + receiver: GET_VAR ': .TokenType.Companion declared in .TokenType.Companion.' type=.TokenType.Companion origin=null + FUN FAKE_OVERRIDE name:equals visibility:public modality:OPEN <> ($this:kotlin.Any, other:kotlin.Any?) returnType:kotlin.Boolean [fake_override,operator] + overridden: + public open fun equals (other: kotlin.Any?): kotlin.Boolean [operator] declared in kotlin.Any + $this: VALUE_PARAMETER name: type:kotlin.Any + VALUE_PARAMETER name:other index:0 type:kotlin.Any? + FUN FAKE_OVERRIDE name:hashCode visibility:public modality:OPEN <> ($this:kotlin.Any) returnType:kotlin.Int [fake_override] + overridden: + public open fun hashCode (): kotlin.Int declared in kotlin.Any + $this: VALUE_PARAMETER name: type:kotlin.Any + FUN FAKE_OVERRIDE name:toString visibility:public modality:OPEN <> ($this:kotlin.Any) returnType:kotlin.String [fake_override] + overridden: + public open fun toString (): kotlin.String declared in kotlin.Any + $this: VALUE_PARAMETER name: type:kotlin.Any + FUN FAKE_OVERRIDE name:equals visibility:public modality:OPEN <> ($this:kotlin.Any, other:kotlin.Any?) returnType:kotlin.Boolean [fake_override,operator] + overridden: + public open fun equals (other: kotlin.Any?): kotlin.Boolean [operator] declared in kotlin.Any + $this: VALUE_PARAMETER name: type:kotlin.Any + VALUE_PARAMETER name:other index:0 type:kotlin.Any? + FUN FAKE_OVERRIDE name:hashCode visibility:public modality:OPEN <> ($this:kotlin.Any) returnType:kotlin.Int [fake_override] + overridden: + public open fun hashCode (): kotlin.Int declared in kotlin.Any + $this: VALUE_PARAMETER name: type:kotlin.Any + FUN FAKE_OVERRIDE name:toString visibility:public modality:OPEN <> ($this:kotlin.Any) returnType:kotlin.String [fake_override] + overridden: + public open fun toString (): kotlin.String declared in kotlin.Any + $this: VALUE_PARAMETER name: type:kotlin.Any + CLASS CLASS name:KtModifierKeywordToken modality:FINAL visibility:public superTypes:[kotlin.Any] + $this: VALUE_PARAMETER INSTANCE_RECEIVER name: type:.KtModifierKeywordToken + CONSTRUCTOR visibility:public <> () returnType:.KtModifierKeywordToken [primary] + BLOCK_BODY + DELEGATING_CONSTRUCTOR_CALL 'public constructor () [primary] declared in kotlin.Any' + INSTANCE_INITIALIZER_CALL classDescriptor='CLASS CLASS name:KtModifierKeywordToken modality:FINAL visibility:public superTypes:[kotlin.Any]' + FUN FAKE_OVERRIDE name:equals visibility:public modality:OPEN <> ($this:kotlin.Any, other:kotlin.Any?) returnType:kotlin.Boolean [fake_override,operator] + overridden: + public open fun equals (other: kotlin.Any?): kotlin.Boolean [operator] declared in kotlin.Any + $this: VALUE_PARAMETER name: type:kotlin.Any + VALUE_PARAMETER name:other index:0 type:kotlin.Any? + FUN FAKE_OVERRIDE name:hashCode visibility:public modality:OPEN <> ($this:kotlin.Any) returnType:kotlin.Int [fake_override] + overridden: + public open fun hashCode (): kotlin.Int declared in kotlin.Any + $this: VALUE_PARAMETER name: type:kotlin.Any + FUN FAKE_OVERRIDE name:toString visibility:public modality:OPEN <> ($this:kotlin.Any) returnType:kotlin.String [fake_override] + overridden: + public open fun toString (): kotlin.String declared in kotlin.Any + $this: VALUE_PARAMETER name: type:kotlin.Any + CLASS CLASS name:KtModifierList modality:FINAL visibility:public superTypes:[.PsiElement] + $this: VALUE_PARAMETER INSTANCE_RECEIVER name: type:.KtModifierList + CONSTRUCTOR visibility:public <> () returnType:.KtModifierList [primary] + BLOCK_BODY + DELEGATING_CONSTRUCTOR_CALL 'public constructor () [primary] declared in .PsiElement' + INSTANCE_INITIALIZER_CALL classDescriptor='CLASS CLASS name:KtModifierList modality:FINAL visibility:public superTypes:[.PsiElement]' + FUN FAKE_OVERRIDE name:equals visibility:public modality:OPEN <> ($this:kotlin.Any, other:kotlin.Any?) returnType:kotlin.Boolean [fake_override,operator] + overridden: + public open fun equals (other: kotlin.Any?): kotlin.Boolean [fake_override,operator] declared in .PsiElement + $this: VALUE_PARAMETER name: type:kotlin.Any + VALUE_PARAMETER name:other index:0 type:kotlin.Any? + FUN FAKE_OVERRIDE name:hashCode visibility:public modality:OPEN <> ($this:kotlin.Any) returnType:kotlin.Int [fake_override] + overridden: + public open fun hashCode (): kotlin.Int [fake_override] declared in .PsiElement + $this: VALUE_PARAMETER name: type:kotlin.Any + FUN FAKE_OVERRIDE name:toString visibility:public modality:OPEN <> ($this:kotlin.Any) returnType:kotlin.String [fake_override] + overridden: + public open fun toString (): kotlin.String [fake_override] declared in .PsiElement + $this: VALUE_PARAMETER name: type:kotlin.Any + CLASS CLASS name:KtModifierListOwner modality:FINAL visibility:public superTypes:[.PsiElement] + $this: VALUE_PARAMETER INSTANCE_RECEIVER name: type:.KtModifierListOwner + CONSTRUCTOR visibility:public <> () returnType:.KtModifierListOwner [primary] + BLOCK_BODY + DELEGATING_CONSTRUCTOR_CALL 'public constructor () [primary] declared in .PsiElement' + INSTANCE_INITIALIZER_CALL classDescriptor='CLASS CLASS name:KtModifierListOwner modality:FINAL visibility:public superTypes:[.PsiElement]' + PROPERTY name:modifierList visibility:public modality:FINAL [val] + FIELD PROPERTY_BACKING_FIELD name:modifierList type:.KtModifierList visibility:private [final] + EXPRESSION_BODY + CONSTRUCTOR_CALL 'public constructor () [primary] declared in .KtModifierList' type=.KtModifierList origin=null + FUN DEFAULT_PROPERTY_ACCESSOR name: visibility:public modality:FINAL <> ($this:.KtModifierListOwner) returnType:.KtModifierList + correspondingProperty: PROPERTY name:modifierList visibility:public modality:FINAL [val] + $this: VALUE_PARAMETER name: type:.KtModifierListOwner + BLOCK_BODY + RETURN type=kotlin.Nothing from='public final fun (): .KtModifierList declared in .KtModifierListOwner' + GET_FIELD 'FIELD PROPERTY_BACKING_FIELD name:modifierList type:.KtModifierList visibility:private [final]' type=.KtModifierList origin=null + receiver: GET_VAR ': .KtModifierListOwner declared in .KtModifierListOwner.' type=.KtModifierListOwner origin=null + FUN FAKE_OVERRIDE name:equals visibility:public modality:OPEN <> ($this:kotlin.Any, other:kotlin.Any?) returnType:kotlin.Boolean [fake_override,operator] + overridden: + public open fun equals (other: kotlin.Any?): kotlin.Boolean [fake_override,operator] declared in .PsiElement + $this: VALUE_PARAMETER name: type:kotlin.Any + VALUE_PARAMETER name:other index:0 type:kotlin.Any? + FUN FAKE_OVERRIDE name:hashCode visibility:public modality:OPEN <> ($this:kotlin.Any) returnType:kotlin.Int [fake_override] + overridden: + public open fun hashCode (): kotlin.Int [fake_override] declared in .PsiElement + $this: VALUE_PARAMETER name: type:kotlin.Any + FUN FAKE_OVERRIDE name:toString visibility:public modality:OPEN <> ($this:kotlin.Any) returnType:kotlin.String [fake_override] + overridden: + public open fun toString (): kotlin.String [fake_override] declared in .PsiElement + $this: VALUE_PARAMETER name: type:kotlin.Any + CLASS CLASS name:FirModifier modality:SEALED visibility:internal superTypes:[kotlin.Any] + sealedSubclasses: + CLASS CLASS name:FirPsiModifier modality:FINAL visibility:public superTypes:[.FirModifier<.ASTNode>] + CLASS CLASS name:FirLightModifier modality:FINAL visibility:public superTypes:[.FirModifier<.LighterASTNode>] + $this: VALUE_PARAMETER INSTANCE_RECEIVER name: type:.FirModifier.FirModifier> + TYPE_PARAMETER name:Node index:0 variance: superTypes:[kotlin.Any] + CONSTRUCTOR visibility:protected <> (node:Node of .FirModifier, token:.KtModifierKeywordToken) returnType:.FirModifier.FirModifier> [primary] + VALUE_PARAMETER name:node index:0 type:Node of .FirModifier + VALUE_PARAMETER name:token index:1 type:.KtModifierKeywordToken + BLOCK_BODY + DELEGATING_CONSTRUCTOR_CALL 'public constructor () [primary] declared in kotlin.Any' + INSTANCE_INITIALIZER_CALL classDescriptor='CLASS CLASS name:FirModifier modality:SEALED visibility:internal superTypes:[kotlin.Any]' + PROPERTY name:node visibility:public modality:FINAL [val] + FIELD PROPERTY_BACKING_FIELD name:node type:Node of .FirModifier visibility:private [final] + EXPRESSION_BODY + GET_VAR 'node: Node of .FirModifier declared in .FirModifier.' type=Node of .FirModifier origin=INITIALIZE_PROPERTY_FROM_PARAMETER + FUN DEFAULT_PROPERTY_ACCESSOR name: visibility:public modality:FINAL <> ($this:.FirModifier.FirModifier>) returnType:Node of .FirModifier + correspondingProperty: PROPERTY name:node visibility:public modality:FINAL [val] + $this: VALUE_PARAMETER name: type:.FirModifier.FirModifier> + BLOCK_BODY + RETURN type=kotlin.Nothing from='public final fun (): Node of .FirModifier declared in .FirModifier' + GET_FIELD 'FIELD PROPERTY_BACKING_FIELD name:node type:Node of .FirModifier visibility:private [final]' type=Node of .FirModifier origin=null + receiver: GET_VAR ': .FirModifier.FirModifier> declared in .FirModifier.' type=.FirModifier.FirModifier> origin=null + PROPERTY name:token visibility:public modality:FINAL [val] + FIELD PROPERTY_BACKING_FIELD name:token type:.KtModifierKeywordToken visibility:private [final] + EXPRESSION_BODY + GET_VAR 'token: .KtModifierKeywordToken declared in .FirModifier.' type=.KtModifierKeywordToken origin=INITIALIZE_PROPERTY_FROM_PARAMETER + FUN DEFAULT_PROPERTY_ACCESSOR name: visibility:public modality:FINAL <> ($this:.FirModifier.FirModifier>) returnType:.KtModifierKeywordToken + correspondingProperty: PROPERTY name:token visibility:public modality:FINAL [val] + $this: VALUE_PARAMETER name: type:.FirModifier.FirModifier> + BLOCK_BODY + RETURN type=kotlin.Nothing from='public final fun (): .KtModifierKeywordToken declared in .FirModifier' + GET_FIELD 'FIELD PROPERTY_BACKING_FIELD name:token type:.KtModifierKeywordToken visibility:private [final]' type=.KtModifierKeywordToken origin=null + receiver: GET_VAR ': .FirModifier.FirModifier> declared in .FirModifier.' type=.FirModifier.FirModifier> origin=null + CLASS CLASS name:FirPsiModifier modality:FINAL visibility:public superTypes:[.FirModifier<.ASTNode>] + $this: VALUE_PARAMETER INSTANCE_RECEIVER name: type:.FirModifier.FirPsiModifier + CONSTRUCTOR visibility:public <> (node:.ASTNode, token:.KtModifierKeywordToken) returnType:.FirModifier.FirPsiModifier [primary] + VALUE_PARAMETER name:node index:0 type:.ASTNode + VALUE_PARAMETER name:token index:1 type:.KtModifierKeywordToken + BLOCK_BODY + DELEGATING_CONSTRUCTOR_CALL 'protected constructor (node: Node of .FirModifier, token: .KtModifierKeywordToken) [primary] declared in .FirModifier' + : .ASTNode + node: GET_VAR 'node: .ASTNode declared in .FirModifier.FirPsiModifier.' type=.ASTNode origin=null + token: GET_VAR 'token: .KtModifierKeywordToken declared in .FirModifier.FirPsiModifier.' type=.KtModifierKeywordToken origin=null + INSTANCE_INITIALIZER_CALL classDescriptor='CLASS CLASS name:FirPsiModifier modality:FINAL visibility:public superTypes:[.FirModifier<.ASTNode>]' + PROPERTY FAKE_OVERRIDE name:node visibility:public modality:FINAL [fake_override,val] + overridden: + public final node: Node of .FirModifier [val] + FUN FAKE_OVERRIDE name: visibility:public modality:FINAL <> ($this:.FirModifier.FirModifier>) returnType:.ASTNode [fake_override] + correspondingProperty: PROPERTY FAKE_OVERRIDE name:node visibility:public modality:FINAL [fake_override,val] + overridden: + public final fun (): Node of .FirModifier declared in .FirModifier + $this: VALUE_PARAMETER name: type:.FirModifier.FirModifier> + PROPERTY FAKE_OVERRIDE name:token visibility:public modality:FINAL [fake_override,val] + overridden: + public final token: .KtModifierKeywordToken [val] + FUN FAKE_OVERRIDE name: visibility:public modality:FINAL <> ($this:.FirModifier.FirModifier>) returnType:.KtModifierKeywordToken [fake_override] + correspondingProperty: PROPERTY FAKE_OVERRIDE name:token visibility:public modality:FINAL [fake_override,val] + overridden: + public final fun (): .KtModifierKeywordToken declared in .FirModifier + $this: VALUE_PARAMETER name: type:.FirModifier.FirModifier> + FUN FAKE_OVERRIDE name:equals visibility:public modality:OPEN <> ($this:kotlin.Any, other:kotlin.Any?) returnType:kotlin.Boolean [fake_override,operator] + overridden: + public open fun equals (other: kotlin.Any?): kotlin.Boolean [fake_override,operator] declared in .FirModifier + $this: VALUE_PARAMETER name: type:kotlin.Any + VALUE_PARAMETER name:other index:0 type:kotlin.Any? + FUN FAKE_OVERRIDE name:hashCode visibility:public modality:OPEN <> ($this:kotlin.Any) returnType:kotlin.Int [fake_override] + overridden: + public open fun hashCode (): kotlin.Int [fake_override] declared in .FirModifier + $this: VALUE_PARAMETER name: type:kotlin.Any + FUN FAKE_OVERRIDE name:toString visibility:public modality:OPEN <> ($this:kotlin.Any) returnType:kotlin.String [fake_override] + overridden: + public open fun toString (): kotlin.String [fake_override] declared in .FirModifier + $this: VALUE_PARAMETER name: type:kotlin.Any + CLASS CLASS name:FirLightModifier modality:FINAL visibility:public superTypes:[.FirModifier<.LighterASTNode>] + $this: VALUE_PARAMETER INSTANCE_RECEIVER name: type:.FirModifier.FirLightModifier + CONSTRUCTOR visibility:public <> (node:.LighterASTNode, token:.KtModifierKeywordToken, tree:.FlyweightCapableTreeStructure) returnType:.FirModifier.FirLightModifier [primary] + VALUE_PARAMETER name:node index:0 type:.LighterASTNode + VALUE_PARAMETER name:token index:1 type:.KtModifierKeywordToken + VALUE_PARAMETER name:tree index:2 type:.FlyweightCapableTreeStructure + BLOCK_BODY + DELEGATING_CONSTRUCTOR_CALL 'protected constructor (node: Node of .FirModifier, token: .KtModifierKeywordToken) [primary] declared in .FirModifier' + : .LighterASTNode + node: GET_VAR 'node: .LighterASTNode declared in .FirModifier.FirLightModifier.' type=.LighterASTNode origin=null + token: GET_VAR 'token: .KtModifierKeywordToken declared in .FirModifier.FirLightModifier.' type=.KtModifierKeywordToken origin=null + INSTANCE_INITIALIZER_CALL classDescriptor='CLASS CLASS name:FirLightModifier modality:FINAL visibility:public superTypes:[.FirModifier<.LighterASTNode>]' + PROPERTY name:tree visibility:public modality:FINAL [val] + FIELD PROPERTY_BACKING_FIELD name:tree type:.FlyweightCapableTreeStructure visibility:private [final] + EXPRESSION_BODY + GET_VAR 'tree: .FlyweightCapableTreeStructure declared in .FirModifier.FirLightModifier.' type=.FlyweightCapableTreeStructure origin=INITIALIZE_PROPERTY_FROM_PARAMETER + FUN DEFAULT_PROPERTY_ACCESSOR name: visibility:public modality:FINAL <> ($this:.FirModifier.FirLightModifier) returnType:.FlyweightCapableTreeStructure + correspondingProperty: PROPERTY name:tree visibility:public modality:FINAL [val] + $this: VALUE_PARAMETER name: type:.FirModifier.FirLightModifier + BLOCK_BODY + RETURN type=kotlin.Nothing from='public final fun (): .FlyweightCapableTreeStructure declared in .FirModifier.FirLightModifier' + GET_FIELD 'FIELD PROPERTY_BACKING_FIELD name:tree type:.FlyweightCapableTreeStructure visibility:private [final]' type=.FlyweightCapableTreeStructure origin=null + receiver: GET_VAR ': .FirModifier.FirLightModifier declared in .FirModifier.FirLightModifier.' type=.FirModifier.FirLightModifier origin=null + PROPERTY FAKE_OVERRIDE name:node visibility:public modality:FINAL [fake_override,val] + overridden: + public final node: Node of .FirModifier [val] + FUN FAKE_OVERRIDE name: visibility:public modality:FINAL <> ($this:.FirModifier.FirModifier>) returnType:.LighterASTNode [fake_override] + correspondingProperty: PROPERTY FAKE_OVERRIDE name:node visibility:public modality:FINAL [fake_override,val] + overridden: + public final fun (): Node of .FirModifier declared in .FirModifier + $this: VALUE_PARAMETER name: type:.FirModifier.FirModifier> + PROPERTY FAKE_OVERRIDE name:token visibility:public modality:FINAL [fake_override,val] + overridden: + public final token: .KtModifierKeywordToken [val] + FUN FAKE_OVERRIDE name: visibility:public modality:FINAL <> ($this:.FirModifier.FirModifier>) returnType:.KtModifierKeywordToken [fake_override] + correspondingProperty: PROPERTY FAKE_OVERRIDE name:token visibility:public modality:FINAL [fake_override,val] + overridden: + public final fun (): .KtModifierKeywordToken declared in .FirModifier + $this: VALUE_PARAMETER name: type:.FirModifier.FirModifier> + FUN FAKE_OVERRIDE name:equals visibility:public modality:OPEN <> ($this:kotlin.Any, other:kotlin.Any?) returnType:kotlin.Boolean [fake_override,operator] + overridden: + public open fun equals (other: kotlin.Any?): kotlin.Boolean [fake_override,operator] declared in .FirModifier + $this: VALUE_PARAMETER name: type:kotlin.Any + VALUE_PARAMETER name:other index:0 type:kotlin.Any? + FUN FAKE_OVERRIDE name:hashCode visibility:public modality:OPEN <> ($this:kotlin.Any) returnType:kotlin.Int [fake_override] + overridden: + public open fun hashCode (): kotlin.Int [fake_override] declared in .FirModifier + $this: VALUE_PARAMETER name: type:kotlin.Any + FUN FAKE_OVERRIDE name:toString visibility:public modality:OPEN <> ($this:kotlin.Any) returnType:kotlin.String [fake_override] + overridden: + public open fun toString (): kotlin.String [fake_override] declared in .FirModifier + $this: VALUE_PARAMETER name: type:kotlin.Any + FUN FAKE_OVERRIDE name:equals visibility:public modality:OPEN <> ($this:kotlin.Any, other:kotlin.Any?) returnType:kotlin.Boolean [fake_override,operator] + overridden: + public open fun equals (other: kotlin.Any?): kotlin.Boolean [operator] declared in kotlin.Any + $this: VALUE_PARAMETER name: type:kotlin.Any + VALUE_PARAMETER name:other index:0 type:kotlin.Any? + FUN FAKE_OVERRIDE name:hashCode visibility:public modality:OPEN <> ($this:kotlin.Any) returnType:kotlin.Int [fake_override] + overridden: + public open fun hashCode (): kotlin.Int declared in kotlin.Any + $this: VALUE_PARAMETER name: type:kotlin.Any + FUN FAKE_OVERRIDE name:toString visibility:public modality:OPEN <> ($this:kotlin.Any) returnType:kotlin.String [fake_override] + overridden: + public open fun toString (): kotlin.String declared in kotlin.Any + $this: VALUE_PARAMETER name: type:kotlin.Any + CLASS CLASS name:FirModifierList modality:SEALED visibility:internal superTypes:[kotlin.Any] + sealedSubclasses: + CLASS CLASS name:FirPsiModifierList modality:FINAL visibility:public superTypes:[.FirModifierList] + CLASS CLASS name:FirLightModifierList modality:FINAL visibility:public superTypes:[.FirModifierList] + $this: VALUE_PARAMETER INSTANCE_RECEIVER name: type:.FirModifierList + CONSTRUCTOR visibility:protected <> () returnType:.FirModifierList [primary] + BLOCK_BODY + DELEGATING_CONSTRUCTOR_CALL 'public constructor () [primary] declared in kotlin.Any' + INSTANCE_INITIALIZER_CALL classDescriptor='CLASS CLASS name:FirModifierList modality:SEALED visibility:internal superTypes:[kotlin.Any]' + PROPERTY name:modifiers visibility:public modality:FINAL [val] + FIELD PROPERTY_BACKING_FIELD name:modifiers type:kotlin.collections.List<.FirModifier<*>> visibility:private [final] + EXPRESSION_BODY + CALL 'public final fun emptyList (): kotlin.collections.List declared in kotlin.collections.CollectionsKt' type=kotlin.collections.List<.FirModifier<*>> origin=null + : .FirModifier<*> + FUN DEFAULT_PROPERTY_ACCESSOR name: visibility:public modality:FINAL <> ($this:.FirModifierList) returnType:kotlin.collections.List<.FirModifier<*>> + correspondingProperty: PROPERTY name:modifiers visibility:public modality:FINAL [val] + $this: VALUE_PARAMETER name: type:.FirModifierList + BLOCK_BODY + RETURN type=kotlin.Nothing from='public final fun (): kotlin.collections.List<.FirModifier<*>> declared in .FirModifierList' + GET_FIELD 'FIELD PROPERTY_BACKING_FIELD name:modifiers type:kotlin.collections.List<.FirModifier<*>> visibility:private [final]' type=kotlin.collections.List<.FirModifier<*>> origin=null + receiver: GET_VAR ': .FirModifierList declared in .FirModifierList.' type=.FirModifierList origin=null + CLASS CLASS name:FirPsiModifierList modality:FINAL visibility:public superTypes:[.FirModifierList] + $this: VALUE_PARAMETER INSTANCE_RECEIVER name: type:.FirModifierList.FirPsiModifierList + CONSTRUCTOR visibility:public <> (modifierList:.KtModifierList) returnType:.FirModifierList.FirPsiModifierList [primary] + VALUE_PARAMETER name:modifierList index:0 type:.KtModifierList + BLOCK_BODY + DELEGATING_CONSTRUCTOR_CALL 'protected constructor () [primary] declared in .FirModifierList' + INSTANCE_INITIALIZER_CALL classDescriptor='CLASS CLASS name:FirPsiModifierList modality:FINAL visibility:public superTypes:[.FirModifierList]' + PROPERTY name:modifierList visibility:public modality:FINAL [val] + FIELD PROPERTY_BACKING_FIELD name:modifierList type:.KtModifierList visibility:private [final] + EXPRESSION_BODY + GET_VAR 'modifierList: .KtModifierList declared in .FirModifierList.FirPsiModifierList.' type=.KtModifierList origin=INITIALIZE_PROPERTY_FROM_PARAMETER + FUN DEFAULT_PROPERTY_ACCESSOR name: visibility:public modality:FINAL <> ($this:.FirModifierList.FirPsiModifierList) returnType:.KtModifierList + correspondingProperty: PROPERTY name:modifierList visibility:public modality:FINAL [val] + $this: VALUE_PARAMETER name: type:.FirModifierList.FirPsiModifierList + BLOCK_BODY + RETURN type=kotlin.Nothing from='public final fun (): .KtModifierList declared in .FirModifierList.FirPsiModifierList' + GET_FIELD 'FIELD PROPERTY_BACKING_FIELD name:modifierList type:.KtModifierList visibility:private [final]' type=.KtModifierList origin=null + receiver: GET_VAR ': .FirModifierList.FirPsiModifierList declared in .FirModifierList.FirPsiModifierList.' type=.FirModifierList.FirPsiModifierList origin=null + PROPERTY FAKE_OVERRIDE name:modifiers visibility:public modality:FINAL [fake_override,val] + overridden: + public final modifiers: kotlin.collections.List<.FirModifier<*>> [val] + FUN FAKE_OVERRIDE name: visibility:public modality:FINAL <> ($this:.FirModifierList) returnType:kotlin.collections.List<.FirModifier<*>> [fake_override] + correspondingProperty: PROPERTY FAKE_OVERRIDE name:modifiers visibility:public modality:FINAL [fake_override,val] + overridden: + public final fun (): kotlin.collections.List<.FirModifier<*>> declared in .FirModifierList + $this: VALUE_PARAMETER name: type:.FirModifierList + FUN FAKE_OVERRIDE name:equals visibility:public modality:OPEN <> ($this:kotlin.Any, other:kotlin.Any?) returnType:kotlin.Boolean [fake_override,operator] + overridden: + public open fun equals (other: kotlin.Any?): kotlin.Boolean [fake_override,operator] declared in .FirModifierList + $this: VALUE_PARAMETER name: type:kotlin.Any + VALUE_PARAMETER name:other index:0 type:kotlin.Any? + FUN FAKE_OVERRIDE name:hashCode visibility:public modality:OPEN <> ($this:kotlin.Any) returnType:kotlin.Int [fake_override] + overridden: + public open fun hashCode (): kotlin.Int [fake_override] declared in .FirModifierList + $this: VALUE_PARAMETER name: type:kotlin.Any + FUN FAKE_OVERRIDE name:toString visibility:public modality:OPEN <> ($this:kotlin.Any) returnType:kotlin.String [fake_override] + overridden: + public open fun toString (): kotlin.String [fake_override] declared in .FirModifierList + $this: VALUE_PARAMETER name: type:kotlin.Any + CLASS CLASS name:FirLightModifierList modality:FINAL visibility:public superTypes:[.FirModifierList] + $this: VALUE_PARAMETER INSTANCE_RECEIVER name: type:.FirModifierList.FirLightModifierList + CONSTRUCTOR visibility:public <> (modifierList:.LighterASTNode, tree:.FlyweightCapableTreeStructure) returnType:.FirModifierList.FirLightModifierList [primary] + VALUE_PARAMETER name:modifierList index:0 type:.LighterASTNode + VALUE_PARAMETER name:tree index:1 type:.FlyweightCapableTreeStructure + BLOCK_BODY + DELEGATING_CONSTRUCTOR_CALL 'protected constructor () [primary] declared in .FirModifierList' + INSTANCE_INITIALIZER_CALL classDescriptor='CLASS CLASS name:FirLightModifierList modality:FINAL visibility:public superTypes:[.FirModifierList]' + PROPERTY name:modifierList visibility:public modality:FINAL [val] + FIELD PROPERTY_BACKING_FIELD name:modifierList type:.LighterASTNode visibility:private [final] + EXPRESSION_BODY + GET_VAR 'modifierList: .LighterASTNode declared in .FirModifierList.FirLightModifierList.' type=.LighterASTNode origin=INITIALIZE_PROPERTY_FROM_PARAMETER + FUN DEFAULT_PROPERTY_ACCESSOR name: visibility:public modality:FINAL <> ($this:.FirModifierList.FirLightModifierList) returnType:.LighterASTNode + correspondingProperty: PROPERTY name:modifierList visibility:public modality:FINAL [val] + $this: VALUE_PARAMETER name: type:.FirModifierList.FirLightModifierList + BLOCK_BODY + RETURN type=kotlin.Nothing from='public final fun (): .LighterASTNode declared in .FirModifierList.FirLightModifierList' + GET_FIELD 'FIELD PROPERTY_BACKING_FIELD name:modifierList type:.LighterASTNode visibility:private [final]' type=.LighterASTNode origin=null + receiver: GET_VAR ': .FirModifierList.FirLightModifierList declared in .FirModifierList.FirLightModifierList.' type=.FirModifierList.FirLightModifierList origin=null + PROPERTY name:tree visibility:public modality:FINAL [val] + FIELD PROPERTY_BACKING_FIELD name:tree type:.FlyweightCapableTreeStructure visibility:private [final] + EXPRESSION_BODY + GET_VAR 'tree: .FlyweightCapableTreeStructure declared in .FirModifierList.FirLightModifierList.' type=.FlyweightCapableTreeStructure origin=INITIALIZE_PROPERTY_FROM_PARAMETER + FUN DEFAULT_PROPERTY_ACCESSOR name: visibility:public modality:FINAL <> ($this:.FirModifierList.FirLightModifierList) returnType:.FlyweightCapableTreeStructure + correspondingProperty: PROPERTY name:tree visibility:public modality:FINAL [val] + $this: VALUE_PARAMETER name: type:.FirModifierList.FirLightModifierList + BLOCK_BODY + RETURN type=kotlin.Nothing from='public final fun (): .FlyweightCapableTreeStructure declared in .FirModifierList.FirLightModifierList' + GET_FIELD 'FIELD PROPERTY_BACKING_FIELD name:tree type:.FlyweightCapableTreeStructure visibility:private [final]' type=.FlyweightCapableTreeStructure origin=null + receiver: GET_VAR ': .FirModifierList.FirLightModifierList declared in .FirModifierList.FirLightModifierList.' type=.FirModifierList.FirLightModifierList origin=null + PROPERTY FAKE_OVERRIDE name:modifiers visibility:public modality:FINAL [fake_override,val] + overridden: + public final modifiers: kotlin.collections.List<.FirModifier<*>> [val] + FUN FAKE_OVERRIDE name: visibility:public modality:FINAL <> ($this:.FirModifierList) returnType:kotlin.collections.List<.FirModifier<*>> [fake_override] + correspondingProperty: PROPERTY FAKE_OVERRIDE name:modifiers visibility:public modality:FINAL [fake_override,val] + overridden: + public final fun (): kotlin.collections.List<.FirModifier<*>> declared in .FirModifierList + $this: VALUE_PARAMETER name: type:.FirModifierList + FUN FAKE_OVERRIDE name:equals visibility:public modality:OPEN <> ($this:kotlin.Any, other:kotlin.Any?) returnType:kotlin.Boolean [fake_override,operator] + overridden: + public open fun equals (other: kotlin.Any?): kotlin.Boolean [fake_override,operator] declared in .FirModifierList + $this: VALUE_PARAMETER name: type:kotlin.Any + VALUE_PARAMETER name:other index:0 type:kotlin.Any? + FUN FAKE_OVERRIDE name:hashCode visibility:public modality:OPEN <> ($this:kotlin.Any) returnType:kotlin.Int [fake_override] + overridden: + public open fun hashCode (): kotlin.Int [fake_override] declared in .FirModifierList + $this: VALUE_PARAMETER name: type:kotlin.Any + FUN FAKE_OVERRIDE name:toString visibility:public modality:OPEN <> ($this:kotlin.Any) returnType:kotlin.String [fake_override] + overridden: + public open fun toString (): kotlin.String [fake_override] declared in .FirModifierList + $this: VALUE_PARAMETER name: type:kotlin.Any + CLASS OBJECT name:Companion modality:FINAL visibility:public [companion] superTypes:[kotlin.Any] + $this: VALUE_PARAMETER INSTANCE_RECEIVER name: type:.FirModifierList.Companion + CONSTRUCTOR visibility:private <> () returnType:.FirModifierList.Companion [primary] + BLOCK_BODY + DELEGATING_CONSTRUCTOR_CALL 'public constructor () [primary] declared in kotlin.Any' + INSTANCE_INITIALIZER_CALL classDescriptor='CLASS OBJECT name:Companion modality:FINAL visibility:public [companion] superTypes:[kotlin.Any]' + FUN name:getModifierList visibility:public modality:FINAL <> ($this:.FirModifierList.Companion, $receiver:.FirSourceElement?) returnType:.FirModifierList? + $this: VALUE_PARAMETER name: type:.FirModifierList.Companion + $receiver: VALUE_PARAMETER name: type:.FirSourceElement? + BLOCK_BODY + RETURN type=kotlin.Nothing from='public final fun getModifierList (): .FirModifierList? declared in .FirModifierList.Companion' + BLOCK type=.FirModifierList? origin=WHEN + VAR IR_TEMPORARY_VARIABLE name:tmp_0 type:.FirSourceElement? [val] + GET_VAR ': .FirSourceElement? declared in .FirModifierList.Companion.getModifierList' type=.FirSourceElement? origin=null + WHEN type=.FirModifierList? origin=WHEN + BRANCH + if: CALL 'public final fun EQEQ (arg0: kotlin.Any?, arg1: kotlin.Any?): kotlin.Boolean declared in kotlin.internal.ir' type=kotlin.Boolean origin=EQEQ + arg0: GET_VAR 'val tmp_0: .FirSourceElement? [val] declared in .FirModifierList.Companion.getModifierList' type=.FirSourceElement? origin=null + arg1: CONST Null type=kotlin.Nothing? value=null + then: CONST Null type=kotlin.Nothing? value=null + BRANCH + if: TYPE_OP type=kotlin.Boolean origin=INSTANCEOF typeOperand=.FirPsiSourceElement + GET_VAR 'val tmp_0: .FirSourceElement? [val] declared in .FirModifierList.Companion.getModifierList' type=.FirSourceElement? origin=null + then: BLOCK type=.FirModifierList.FirPsiModifierList? origin=SAFE_CALL + VAR IR_TEMPORARY_VARIABLE name:tmp_1 type:.KtModifierList? [val] + BLOCK type=.KtModifierList? origin=SAFE_CALL + VAR IR_TEMPORARY_VARIABLE name:tmp_2 type:.KtModifierListOwner? [val] + TYPE_OP type=.KtModifierListOwner? origin=SAFE_CAST typeOperand=.KtModifierListOwner + CALL 'public final fun (): .PsiElement declared in .FirPsiSourceElement' type=.PsiElement origin=GET_PROPERTY + $this: TYPE_OP type=.FirPsiSourceElement origin=IMPLICIT_CAST typeOperand=.FirPsiSourceElement + GET_VAR ': .FirSourceElement? declared in .FirModifierList.Companion.getModifierList' type=.FirSourceElement? origin=null + WHEN type=.KtModifierList? origin=null + BRANCH + if: CALL 'public final fun EQEQ (arg0: kotlin.Any?, arg1: kotlin.Any?): kotlin.Boolean declared in kotlin.internal.ir' type=kotlin.Boolean origin=EQEQ + arg0: GET_VAR 'val tmp_2: .KtModifierListOwner? [val] declared in .FirModifierList.Companion.getModifierList' type=.KtModifierListOwner? origin=null + arg1: CONST Null type=kotlin.Nothing? value=null + then: CONST Null type=kotlin.Nothing? value=null + BRANCH + if: CONST Boolean type=kotlin.Boolean value=true + then: CALL 'public final fun (): .KtModifierList declared in .KtModifierListOwner' type=.KtModifierList origin=GET_PROPERTY + $this: GET_VAR 'val tmp_2: .KtModifierListOwner? [val] declared in .FirModifierList.Companion.getModifierList' type=.KtModifierListOwner? origin=null + WHEN type=.FirModifierList.FirPsiModifierList? origin=null + BRANCH + if: CALL 'public final fun EQEQ (arg0: kotlin.Any?, arg1: kotlin.Any?): kotlin.Boolean declared in kotlin.internal.ir' type=kotlin.Boolean origin=EQEQ + arg0: GET_VAR 'val tmp_1: .KtModifierList? [val] declared in .FirModifierList.Companion.getModifierList' type=.KtModifierList? origin=null + arg1: CONST Null type=kotlin.Nothing? value=null + then: CONST Null type=kotlin.Nothing? value=null + BRANCH + if: CONST Boolean type=kotlin.Boolean value=true + then: CALL 'public final fun let (block: kotlin.Function1): R of kotlin.StandardKt.let [inline] declared in kotlin.StandardKt' type=.FirModifierList.FirPsiModifierList origin=null + : .KtModifierList + : .FirModifierList.FirPsiModifierList + $receiver: GET_VAR 'val tmp_1: .KtModifierList? [val] declared in .FirModifierList.Companion.getModifierList' type=.KtModifierList? origin=null + block: FUN_EXPR type=kotlin.Function1<.KtModifierList, .FirModifierList.FirPsiModifierList> origin=LAMBDA + FUN LOCAL_FUNCTION_FOR_LAMBDA name: visibility:local modality:FINAL <> (it:.KtModifierList) returnType:.FirModifierList.FirPsiModifierList + VALUE_PARAMETER name:it index:0 type:.KtModifierList + BLOCK_BODY + RETURN type=kotlin.Nothing from='local final fun (it: .KtModifierList): .FirModifierList.FirPsiModifierList declared in .FirModifierList.Companion.getModifierList' + CONSTRUCTOR_CALL 'public constructor (modifierList: .KtModifierList) [primary] declared in .FirModifierList.FirPsiModifierList' type=.FirModifierList.FirPsiModifierList origin=null + modifierList: GET_VAR 'it: .KtModifierList declared in .FirModifierList.Companion.getModifierList.' type=.KtModifierList origin=null + BRANCH + if: TYPE_OP type=kotlin.Boolean origin=INSTANCEOF typeOperand=.FirLightSourceElement + GET_VAR 'val tmp_0: .FirSourceElement? [val] declared in .FirModifierList.Companion.getModifierList' type=.FirSourceElement? origin=null + then: BLOCK type=.FirModifierList.FirLightModifierList origin=null + VAR name:modifierListNode type:.LighterASTNode [val] + BLOCK type=.LighterASTNode origin=ELVIS + VAR IR_TEMPORARY_VARIABLE name:tmp_3 type:.LighterASTNode? [val] + CALL 'public final fun find (predicate: kotlin.Function1): T of kotlin.collections.CollectionsKt.find? [inline] declared in kotlin.collections.CollectionsKt' type=.LighterASTNode? origin=null + : .LighterASTNode? + $receiver: CALL 'public final fun getChildren (treeStructure: .FlyweightCapableTreeStructure): kotlin.collections.List<.LighterASTNode?> declared in .LighterASTNode' type=kotlin.collections.List<.LighterASTNode?> origin=null + $this: CALL 'public final fun (): .LighterASTNode declared in .FirLightSourceElement' type=.LighterASTNode origin=GET_PROPERTY + $this: TYPE_OP type=.FirLightSourceElement origin=IMPLICIT_CAST typeOperand=.FirLightSourceElement + GET_VAR ': .FirSourceElement? declared in .FirModifierList.Companion.getModifierList' type=.FirSourceElement? origin=null + treeStructure: CALL 'public final fun (): .FlyweightCapableTreeStructure declared in .FirLightSourceElement' type=.FlyweightCapableTreeStructure origin=GET_PROPERTY + $this: TYPE_OP type=.FirLightSourceElement origin=IMPLICIT_CAST typeOperand=.FirLightSourceElement + GET_VAR ': .FirSourceElement? declared in .FirModifierList.Companion.getModifierList' type=.FirSourceElement? origin=null + predicate: FUN_EXPR type=kotlin.Function1<.LighterASTNode?, kotlin.Boolean> origin=LAMBDA + FUN LOCAL_FUNCTION_FOR_LAMBDA name: visibility:local modality:FINAL <> (it:.LighterASTNode?) returnType:kotlin.Boolean + VALUE_PARAMETER name:it index:0 type:.LighterASTNode? + BLOCK_BODY + RETURN type=kotlin.Nothing from='local final fun (it: .LighterASTNode?): kotlin.Boolean declared in .FirModifierList.Companion.getModifierList' + CALL 'public final fun EQEQ (arg0: kotlin.Any?, arg1: kotlin.Any?): kotlin.Boolean declared in kotlin.internal.ir' type=kotlin.Boolean origin=EQEQ + arg0: BLOCK type=.TokenType? origin=SAFE_CALL + VAR IR_TEMPORARY_VARIABLE name:tmp_4 type:.LighterASTNode? [val] + GET_VAR 'it: .LighterASTNode? declared in .FirModifierList.Companion.getModifierList.' type=.LighterASTNode? origin=null + WHEN type=.TokenType? origin=null + BRANCH + if: CALL 'public final fun EQEQ (arg0: kotlin.Any?, arg1: kotlin.Any?): kotlin.Boolean declared in kotlin.internal.ir' type=kotlin.Boolean origin=EQEQ + arg0: GET_VAR 'val tmp_4: .LighterASTNode? [val] declared in .FirModifierList.Companion.getModifierList.' type=.LighterASTNode? origin=null + arg1: CONST Null type=kotlin.Nothing? value=null + then: CONST Null type=kotlin.Nothing? value=null + BRANCH + if: CONST Boolean type=kotlin.Boolean value=true + then: CALL 'public final fun (): .TokenType declared in .LighterASTNode' type=.TokenType origin=GET_PROPERTY + $this: GET_VAR 'val tmp_4: .LighterASTNode? [val] declared in .FirModifierList.Companion.getModifierList.' type=.LighterASTNode? origin=null + arg1: CALL 'public final fun (): .TokenType declared in .TokenType.Companion' type=.TokenType origin=GET_PROPERTY + $this: GET_OBJECT 'CLASS OBJECT name:Companion modality:FINAL visibility:public [companion] superTypes:[kotlin.Any]' type=.TokenType.Companion + WHEN type=.LighterASTNode origin=ELVIS + BRANCH + if: CALL 'public final fun EQEQ (arg0: kotlin.Any?, arg1: kotlin.Any?): kotlin.Boolean declared in kotlin.internal.ir' type=kotlin.Boolean origin=EQEQ + arg0: GET_VAR 'val tmp_3: .LighterASTNode? [val] declared in .FirModifierList.Companion.getModifierList' type=.LighterASTNode? origin=null + arg1: CONST Null type=kotlin.Nothing? value=null + then: RETURN type=kotlin.Nothing from='public final fun getModifierList (): .FirModifierList? declared in .FirModifierList.Companion' + CONST Null type=kotlin.Nothing? value=null + BRANCH + if: CONST Boolean type=kotlin.Boolean value=true + then: GET_VAR 'val tmp_3: .LighterASTNode? [val] declared in .FirModifierList.Companion.getModifierList' type=.LighterASTNode? origin=null + CONSTRUCTOR_CALL 'public constructor (modifierList: .LighterASTNode, tree: .FlyweightCapableTreeStructure) [primary] declared in .FirModifierList.FirLightModifierList' type=.FirModifierList.FirLightModifierList origin=null + modifierList: GET_VAR 'val modifierListNode: .LighterASTNode [val] declared in .FirModifierList.Companion.getModifierList' type=.LighterASTNode origin=null + tree: CALL 'public final fun (): .FlyweightCapableTreeStructure declared in .FirLightSourceElement' type=.FlyweightCapableTreeStructure origin=GET_PROPERTY + $this: TYPE_OP type=.FirLightSourceElement origin=IMPLICIT_CAST typeOperand=.FirLightSourceElement + GET_VAR ': .FirSourceElement? declared in .FirModifierList.Companion.getModifierList' type=.FirSourceElement? origin=null + BRANCH + if: CONST Boolean type=kotlin.Boolean value=true + then: CALL 'public final fun noWhenBranchMatchedException (): kotlin.Nothing declared in kotlin.internal.ir' type=kotlin.Nothing origin=null + FUN name:boxImpl visibility:public modality:FINAL <> ($this:.FirModifierList.Companion) returnType:kotlin.String + $this: VALUE_PARAMETER name: type:.FirModifierList.Companion + BLOCK_BODY + VAR name:sourceElement type:.FirSourceElement? [val] + CONSTRUCTOR_CALL 'public constructor (lighterASTNode: .LighterASTNode, treeStructure: .FlyweightCapableTreeStructure) [primary] declared in .FirLightSourceElement' type=.FirLightSourceElement origin=null + lighterASTNode: CONSTRUCTOR_CALL 'public constructor (_children: kotlin.collections.List<.LighterASTNode?>) [primary] declared in .LighterASTNode' type=.LighterASTNode origin=null + _children: CALL 'public final fun listOf (element: T of kotlin.collections.CollectionsKt.listOf): kotlin.collections.List declared in kotlin.collections.CollectionsKt' type=kotlin.collections.List<.LighterASTNode> origin=null + : .LighterASTNode + element: CONSTRUCTOR_CALL 'public constructor (_children: kotlin.collections.List<.LighterASTNode?>) [primary] declared in .LighterASTNode' type=.LighterASTNode origin=null + treeStructure: CONSTRUCTOR_CALL 'public constructor () [primary] declared in .FlyweightCapableTreeStructure' type=.FlyweightCapableTreeStructure origin=null + VAR name:result type:.FirModifierList? [val] + CALL 'public final fun getModifierList (): .FirModifierList? declared in .FirModifierList.Companion' type=.FirModifierList? origin=null + $this: GET_VAR ': .FirModifierList.Companion declared in .FirModifierList.Companion.boxImpl' type=.FirModifierList.Companion origin=null + $receiver: GET_VAR 'val sourceElement: .FirSourceElement? [val] declared in .FirModifierList.Companion.boxImpl' type=.FirSourceElement? origin=null + RETURN type=kotlin.Nothing from='public final fun boxImpl (): kotlin.String declared in .FirModifierList.Companion' + WHEN type=kotlin.String origin=IF + BRANCH + if: TYPE_OP type=kotlin.Boolean origin=INSTANCEOF typeOperand=.FirModifierList.FirLightModifierList + GET_VAR 'val result: .FirModifierList? [val] declared in .FirModifierList.Companion.boxImpl' type=.FirModifierList? origin=null + then: CONST String type=kotlin.String value="OK" + BRANCH + if: CONST Boolean type=kotlin.Boolean value=true + then: CONST String type=kotlin.String value="Fail" + FUN FAKE_OVERRIDE name:equals visibility:public modality:OPEN <> ($this:kotlin.Any, other:kotlin.Any?) returnType:kotlin.Boolean [fake_override,operator] + overridden: + public open fun equals (other: kotlin.Any?): kotlin.Boolean [operator] declared in kotlin.Any + $this: VALUE_PARAMETER name: type:kotlin.Any + VALUE_PARAMETER name:other index:0 type:kotlin.Any? + FUN FAKE_OVERRIDE name:hashCode visibility:public modality:OPEN <> ($this:kotlin.Any) returnType:kotlin.Int [fake_override] + overridden: + public open fun hashCode (): kotlin.Int declared in kotlin.Any + $this: VALUE_PARAMETER name: type:kotlin.Any + FUN FAKE_OVERRIDE name:toString visibility:public modality:OPEN <> ($this:kotlin.Any) returnType:kotlin.String [fake_override] + overridden: + public open fun toString (): kotlin.String declared in kotlin.Any + $this: VALUE_PARAMETER name: type:kotlin.Any + FUN FAKE_OVERRIDE name:equals visibility:public modality:OPEN <> ($this:kotlin.Any, other:kotlin.Any?) returnType:kotlin.Boolean [fake_override,operator] + overridden: + public open fun equals (other: kotlin.Any?): kotlin.Boolean [operator] declared in kotlin.Any + $this: VALUE_PARAMETER name: type:kotlin.Any + VALUE_PARAMETER name:other index:0 type:kotlin.Any? + FUN FAKE_OVERRIDE name:hashCode visibility:public modality:OPEN <> ($this:kotlin.Any) returnType:kotlin.Int [fake_override] + overridden: + public open fun hashCode (): kotlin.Int declared in kotlin.Any + $this: VALUE_PARAMETER name: type:kotlin.Any + FUN FAKE_OVERRIDE name:toString visibility:public modality:OPEN <> ($this:kotlin.Any) returnType:kotlin.String [fake_override] + overridden: + public open fun toString (): kotlin.String declared in kotlin.Any + $this: VALUE_PARAMETER name: type:kotlin.Any + FUN name:box visibility:public modality:FINAL <> () returnType:kotlin.String + BLOCK_BODY + RETURN type=kotlin.Nothing from='public final fun box (): kotlin.String declared in ' + CALL 'public final fun boxImpl (): kotlin.String declared in .FirModifierList.Companion' type=kotlin.String origin=null + $this: GET_OBJECT 'CLASS OBJECT name:Companion modality:FINAL visibility:public [companion] superTypes:[kotlin.Any]' type=.FirModifierList.Companion diff --git a/compiler/testData/codegen/box/smartCasts/kt44814.ir.txt b/compiler/testData/codegen/box/smartCasts/kt44814.ir.txt new file mode 100644 index 00000000000..25b1fd51a41 --- /dev/null +++ b/compiler/testData/codegen/box/smartCasts/kt44814.ir.txt @@ -0,0 +1,788 @@ +FILE fqName: fileName:/kt44814.kt + CLASS CLASS name:FlyweightCapableTreeStructure modality:FINAL visibility:public superTypes:[kotlin.Any] + $this: VALUE_PARAMETER INSTANCE_RECEIVER name: type:.FlyweightCapableTreeStructure + CONSTRUCTOR visibility:public <> () returnType:.FlyweightCapableTreeStructure [primary] + BLOCK_BODY + DELEGATING_CONSTRUCTOR_CALL 'public constructor () [primary] declared in kotlin.Any' + INSTANCE_INITIALIZER_CALL classDescriptor='CLASS CLASS name:FlyweightCapableTreeStructure modality:FINAL visibility:public superTypes:[kotlin.Any]' + FUN FAKE_OVERRIDE name:equals visibility:public modality:OPEN <> ($this:kotlin.Any, other:kotlin.Any?) returnType:kotlin.Boolean [fake_override,operator] + overridden: + public open fun equals (other: kotlin.Any?): kotlin.Boolean [operator] declared in kotlin.Any + $this: VALUE_PARAMETER name: type:kotlin.Any + VALUE_PARAMETER name:other index:0 type:kotlin.Any? + FUN FAKE_OVERRIDE name:hashCode visibility:public modality:OPEN <> ($this:kotlin.Any) returnType:kotlin.Int [fake_override] + overridden: + public open fun hashCode (): kotlin.Int declared in kotlin.Any + $this: VALUE_PARAMETER name: type:kotlin.Any + FUN FAKE_OVERRIDE name:toString visibility:public modality:OPEN <> ($this:kotlin.Any) returnType:kotlin.String [fake_override] + overridden: + public open fun toString (): kotlin.String declared in kotlin.Any + $this: VALUE_PARAMETER name: type:kotlin.Any + CLASS CLASS name:FirSourceElement modality:SEALED visibility:public superTypes:[kotlin.Any] + sealedSubclasses: + CLASS CLASS name:FirPsiSourceElement modality:FINAL visibility:public superTypes:[.FirSourceElement] + CLASS CLASS name:FirLightSourceElement modality:FINAL visibility:public superTypes:[.FirSourceElement] + $this: VALUE_PARAMETER INSTANCE_RECEIVER name: type:.FirSourceElement + CONSTRUCTOR visibility:protected <> () returnType:.FirSourceElement [primary] + BLOCK_BODY + DELEGATING_CONSTRUCTOR_CALL 'public constructor () [primary] declared in kotlin.Any' + INSTANCE_INITIALIZER_CALL classDescriptor='CLASS CLASS name:FirSourceElement modality:SEALED visibility:public superTypes:[kotlin.Any]' + PROPERTY name:lighterASTNode visibility:public modality:ABSTRACT [val] + FUN DEFAULT_PROPERTY_ACCESSOR name: visibility:public modality:ABSTRACT <> ($this:.FirSourceElement) returnType:.LighterASTNode + correspondingProperty: PROPERTY name:lighterASTNode visibility:public modality:ABSTRACT [val] + $this: VALUE_PARAMETER name: type:.FirSourceElement + PROPERTY name:treeStructure visibility:public modality:ABSTRACT [val] + FUN DEFAULT_PROPERTY_ACCESSOR name: visibility:public modality:ABSTRACT <> ($this:.FirSourceElement) returnType:.FlyweightCapableTreeStructure + correspondingProperty: PROPERTY name:treeStructure visibility:public modality:ABSTRACT [val] + $this: VALUE_PARAMETER name: type:.FirSourceElement + FUN FAKE_OVERRIDE name:equals visibility:public modality:OPEN <> ($this:kotlin.Any, other:kotlin.Any?) returnType:kotlin.Boolean [fake_override,operator] + overridden: + public open fun equals (other: kotlin.Any?): kotlin.Boolean [operator] declared in kotlin.Any + $this: VALUE_PARAMETER name: type:kotlin.Any + VALUE_PARAMETER name:other index:0 type:kotlin.Any? + FUN FAKE_OVERRIDE name:hashCode visibility:public modality:OPEN <> ($this:kotlin.Any) returnType:kotlin.Int [fake_override] + overridden: + public open fun hashCode (): kotlin.Int declared in kotlin.Any + $this: VALUE_PARAMETER name: type:kotlin.Any + FUN FAKE_OVERRIDE name:toString visibility:public modality:OPEN <> ($this:kotlin.Any) returnType:kotlin.String [fake_override] + overridden: + public open fun toString (): kotlin.String declared in kotlin.Any + $this: VALUE_PARAMETER name: type:kotlin.Any + CLASS CLASS name:FirPsiSourceElement modality:FINAL visibility:public superTypes:[.FirSourceElement] + $this: VALUE_PARAMETER INSTANCE_RECEIVER name: type:.FirPsiSourceElement + CONSTRUCTOR visibility:public <> (psi:.PsiElement, lighterASTNode:.LighterASTNode, treeStructure:.FlyweightCapableTreeStructure) returnType:.FirPsiSourceElement [primary] + VALUE_PARAMETER name:psi index:0 type:.PsiElement + VALUE_PARAMETER name:lighterASTNode index:1 type:.LighterASTNode + VALUE_PARAMETER name:treeStructure index:2 type:.FlyweightCapableTreeStructure + BLOCK_BODY + DELEGATING_CONSTRUCTOR_CALL 'protected constructor () [primary] declared in .FirSourceElement' + INSTANCE_INITIALIZER_CALL classDescriptor='CLASS CLASS name:FirPsiSourceElement modality:FINAL visibility:public superTypes:[.FirSourceElement]' + PROPERTY name:psi visibility:public modality:FINAL [val] + FIELD PROPERTY_BACKING_FIELD name:psi type:.PsiElement visibility:private [final] + EXPRESSION_BODY + GET_VAR 'psi: .PsiElement declared in .FirPsiSourceElement.' type=.PsiElement origin=INITIALIZE_PROPERTY_FROM_PARAMETER + FUN DEFAULT_PROPERTY_ACCESSOR name: visibility:public modality:FINAL <> ($this:.FirPsiSourceElement) returnType:.PsiElement + correspondingProperty: PROPERTY name:psi visibility:public modality:FINAL [val] + $this: VALUE_PARAMETER name: type:.FirPsiSourceElement + BLOCK_BODY + RETURN type=kotlin.Nothing from='public final fun (): .PsiElement declared in .FirPsiSourceElement' + GET_FIELD 'FIELD PROPERTY_BACKING_FIELD name:psi type:.PsiElement visibility:private [final]' type=.PsiElement origin=null + receiver: GET_VAR ': .FirPsiSourceElement declared in .FirPsiSourceElement.' type=.FirPsiSourceElement origin=null + PROPERTY name:lighterASTNode visibility:public modality:OPEN [val] + overridden: + public abstract lighterASTNode: .LighterASTNode [val] + FIELD PROPERTY_BACKING_FIELD name:lighterASTNode type:.LighterASTNode visibility:private [final] + EXPRESSION_BODY + GET_VAR 'lighterASTNode: .LighterASTNode declared in .FirPsiSourceElement.' type=.LighterASTNode origin=INITIALIZE_PROPERTY_FROM_PARAMETER + FUN DEFAULT_PROPERTY_ACCESSOR name: visibility:public modality:OPEN <> ($this:.FirPsiSourceElement) returnType:.LighterASTNode + correspondingProperty: PROPERTY name:lighterASTNode visibility:public modality:OPEN [val] + overridden: + public abstract fun (): .LighterASTNode declared in .FirSourceElement + $this: VALUE_PARAMETER name: type:.FirPsiSourceElement + BLOCK_BODY + RETURN type=kotlin.Nothing from='public open fun (): .LighterASTNode declared in .FirPsiSourceElement' + GET_FIELD 'FIELD PROPERTY_BACKING_FIELD name:lighterASTNode type:.LighterASTNode visibility:private [final]' type=.LighterASTNode origin=null + receiver: GET_VAR ': .FirPsiSourceElement declared in .FirPsiSourceElement.' type=.FirPsiSourceElement origin=null + PROPERTY name:treeStructure visibility:public modality:OPEN [val] + overridden: + public abstract treeStructure: .FlyweightCapableTreeStructure [val] + FIELD PROPERTY_BACKING_FIELD name:treeStructure type:.FlyweightCapableTreeStructure visibility:private [final] + EXPRESSION_BODY + GET_VAR 'treeStructure: .FlyweightCapableTreeStructure declared in .FirPsiSourceElement.' type=.FlyweightCapableTreeStructure origin=INITIALIZE_PROPERTY_FROM_PARAMETER + FUN DEFAULT_PROPERTY_ACCESSOR name: visibility:public modality:OPEN <> ($this:.FirPsiSourceElement) returnType:.FlyweightCapableTreeStructure + correspondingProperty: PROPERTY name:treeStructure visibility:public modality:OPEN [val] + overridden: + public abstract fun (): .FlyweightCapableTreeStructure declared in .FirSourceElement + $this: VALUE_PARAMETER name: type:.FirPsiSourceElement + BLOCK_BODY + RETURN type=kotlin.Nothing from='public open fun (): .FlyweightCapableTreeStructure declared in .FirPsiSourceElement' + GET_FIELD 'FIELD PROPERTY_BACKING_FIELD name:treeStructure type:.FlyweightCapableTreeStructure visibility:private [final]' type=.FlyweightCapableTreeStructure origin=null + receiver: GET_VAR ': .FirPsiSourceElement declared in .FirPsiSourceElement.' type=.FirPsiSourceElement origin=null + FUN FAKE_OVERRIDE name:equals visibility:public modality:OPEN <> ($this:kotlin.Any, other:kotlin.Any?) returnType:kotlin.Boolean [fake_override,operator] + overridden: + public open fun equals (other: kotlin.Any?): kotlin.Boolean [fake_override,operator] declared in .FirSourceElement + $this: VALUE_PARAMETER name: type:kotlin.Any + VALUE_PARAMETER name:other index:0 type:kotlin.Any? + FUN FAKE_OVERRIDE name:hashCode visibility:public modality:OPEN <> ($this:kotlin.Any) returnType:kotlin.Int [fake_override] + overridden: + public open fun hashCode (): kotlin.Int [fake_override] declared in .FirSourceElement + $this: VALUE_PARAMETER name: type:kotlin.Any + FUN FAKE_OVERRIDE name:toString visibility:public modality:OPEN <> ($this:kotlin.Any) returnType:kotlin.String [fake_override] + overridden: + public open fun toString (): kotlin.String [fake_override] declared in .FirSourceElement + $this: VALUE_PARAMETER name: type:kotlin.Any + CLASS CLASS name:FirLightSourceElement modality:FINAL visibility:public superTypes:[.FirSourceElement] + $this: VALUE_PARAMETER INSTANCE_RECEIVER name: type:.FirLightSourceElement + CONSTRUCTOR visibility:public <> (lighterASTNode:.LighterASTNode, treeStructure:.FlyweightCapableTreeStructure) returnType:.FirLightSourceElement [primary] + VALUE_PARAMETER name:lighterASTNode index:0 type:.LighterASTNode + VALUE_PARAMETER name:treeStructure index:1 type:.FlyweightCapableTreeStructure + BLOCK_BODY + DELEGATING_CONSTRUCTOR_CALL 'protected constructor () [primary] declared in .FirSourceElement' + INSTANCE_INITIALIZER_CALL classDescriptor='CLASS CLASS name:FirLightSourceElement modality:FINAL visibility:public superTypes:[.FirSourceElement]' + PROPERTY name:lighterASTNode visibility:public modality:OPEN [val] + overridden: + public abstract lighterASTNode: .LighterASTNode [val] + FIELD PROPERTY_BACKING_FIELD name:lighterASTNode type:.LighterASTNode visibility:private [final] + EXPRESSION_BODY + GET_VAR 'lighterASTNode: .LighterASTNode declared in .FirLightSourceElement.' type=.LighterASTNode origin=INITIALIZE_PROPERTY_FROM_PARAMETER + FUN DEFAULT_PROPERTY_ACCESSOR name: visibility:public modality:OPEN <> ($this:.FirLightSourceElement) returnType:.LighterASTNode + correspondingProperty: PROPERTY name:lighterASTNode visibility:public modality:OPEN [val] + overridden: + public abstract fun (): .LighterASTNode declared in .FirSourceElement + $this: VALUE_PARAMETER name: type:.FirLightSourceElement + BLOCK_BODY + RETURN type=kotlin.Nothing from='public open fun (): .LighterASTNode declared in .FirLightSourceElement' + GET_FIELD 'FIELD PROPERTY_BACKING_FIELD name:lighterASTNode type:.LighterASTNode visibility:private [final]' type=.LighterASTNode origin=null + receiver: GET_VAR ': .FirLightSourceElement declared in .FirLightSourceElement.' type=.FirLightSourceElement origin=null + PROPERTY name:treeStructure visibility:public modality:OPEN [val] + overridden: + public abstract treeStructure: .FlyweightCapableTreeStructure [val] + FIELD PROPERTY_BACKING_FIELD name:treeStructure type:.FlyweightCapableTreeStructure visibility:private [final] + EXPRESSION_BODY + GET_VAR 'treeStructure: .FlyweightCapableTreeStructure declared in .FirLightSourceElement.' type=.FlyweightCapableTreeStructure origin=INITIALIZE_PROPERTY_FROM_PARAMETER + FUN DEFAULT_PROPERTY_ACCESSOR name: visibility:public modality:OPEN <> ($this:.FirLightSourceElement) returnType:.FlyweightCapableTreeStructure + correspondingProperty: PROPERTY name:treeStructure visibility:public modality:OPEN [val] + overridden: + public abstract fun (): .FlyweightCapableTreeStructure declared in .FirSourceElement + $this: VALUE_PARAMETER name: type:.FirLightSourceElement + BLOCK_BODY + RETURN type=kotlin.Nothing from='public open fun (): .FlyweightCapableTreeStructure declared in .FirLightSourceElement' + GET_FIELD 'FIELD PROPERTY_BACKING_FIELD name:treeStructure type:.FlyweightCapableTreeStructure visibility:private [final]' type=.FlyweightCapableTreeStructure origin=null + receiver: GET_VAR ': .FirLightSourceElement declared in .FirLightSourceElement.' type=.FirLightSourceElement origin=null + FUN FAKE_OVERRIDE name:equals visibility:public modality:OPEN <> ($this:kotlin.Any, other:kotlin.Any?) returnType:kotlin.Boolean [fake_override,operator] + overridden: + public open fun equals (other: kotlin.Any?): kotlin.Boolean [fake_override,operator] declared in .FirSourceElement + $this: VALUE_PARAMETER name: type:kotlin.Any + VALUE_PARAMETER name:other index:0 type:kotlin.Any? + FUN FAKE_OVERRIDE name:hashCode visibility:public modality:OPEN <> ($this:kotlin.Any) returnType:kotlin.Int [fake_override] + overridden: + public open fun hashCode (): kotlin.Int [fake_override] declared in .FirSourceElement + $this: VALUE_PARAMETER name: type:kotlin.Any + FUN FAKE_OVERRIDE name:toString visibility:public modality:OPEN <> ($this:kotlin.Any) returnType:kotlin.String [fake_override] + overridden: + public open fun toString (): kotlin.String [fake_override] declared in .FirSourceElement + $this: VALUE_PARAMETER name: type:kotlin.Any + CLASS CLASS name:PsiElement modality:OPEN visibility:public superTypes:[kotlin.Any] + $this: VALUE_PARAMETER INSTANCE_RECEIVER name: type:.PsiElement + CONSTRUCTOR visibility:public <> () returnType:.PsiElement [primary] + BLOCK_BODY + DELEGATING_CONSTRUCTOR_CALL 'public constructor () [primary] declared in kotlin.Any' + INSTANCE_INITIALIZER_CALL classDescriptor='CLASS CLASS name:PsiElement modality:OPEN visibility:public superTypes:[kotlin.Any]' + FUN FAKE_OVERRIDE name:equals visibility:public modality:OPEN <> ($this:kotlin.Any, other:kotlin.Any?) returnType:kotlin.Boolean [fake_override,operator] + overridden: + public open fun equals (other: kotlin.Any?): kotlin.Boolean [operator] declared in kotlin.Any + $this: VALUE_PARAMETER name: type:kotlin.Any + VALUE_PARAMETER name:other index:0 type:kotlin.Any? + FUN FAKE_OVERRIDE name:hashCode visibility:public modality:OPEN <> ($this:kotlin.Any) returnType:kotlin.Int [fake_override] + overridden: + public open fun hashCode (): kotlin.Int declared in kotlin.Any + $this: VALUE_PARAMETER name: type:kotlin.Any + FUN FAKE_OVERRIDE name:toString visibility:public modality:OPEN <> ($this:kotlin.Any) returnType:kotlin.String [fake_override] + overridden: + public open fun toString (): kotlin.String declared in kotlin.Any + $this: VALUE_PARAMETER name: type:kotlin.Any + CLASS CLASS name:ASTNode modality:FINAL visibility:public superTypes:[kotlin.Any] + $this: VALUE_PARAMETER INSTANCE_RECEIVER name: type:.ASTNode + CONSTRUCTOR visibility:public <> () returnType:.ASTNode [primary] + BLOCK_BODY + DELEGATING_CONSTRUCTOR_CALL 'public constructor () [primary] declared in kotlin.Any' + INSTANCE_INITIALIZER_CALL classDescriptor='CLASS CLASS name:ASTNode modality:FINAL visibility:public superTypes:[kotlin.Any]' + FUN FAKE_OVERRIDE name:equals visibility:public modality:OPEN <> ($this:kotlin.Any, other:kotlin.Any?) returnType:kotlin.Boolean [fake_override,operator] + overridden: + public open fun equals (other: kotlin.Any?): kotlin.Boolean [operator] declared in kotlin.Any + $this: VALUE_PARAMETER name: type:kotlin.Any + VALUE_PARAMETER name:other index:0 type:kotlin.Any? + FUN FAKE_OVERRIDE name:hashCode visibility:public modality:OPEN <> ($this:kotlin.Any) returnType:kotlin.Int [fake_override] + overridden: + public open fun hashCode (): kotlin.Int declared in kotlin.Any + $this: VALUE_PARAMETER name: type:kotlin.Any + FUN FAKE_OVERRIDE name:toString visibility:public modality:OPEN <> ($this:kotlin.Any) returnType:kotlin.String [fake_override] + overridden: + public open fun toString (): kotlin.String declared in kotlin.Any + $this: VALUE_PARAMETER name: type:kotlin.Any + CLASS CLASS name:LighterASTNode modality:FINAL visibility:public superTypes:[kotlin.Any] + $this: VALUE_PARAMETER INSTANCE_RECEIVER name: type:.LighterASTNode + CONSTRUCTOR visibility:public <> (_children:kotlin.collections.List<.LighterASTNode?>) returnType:.LighterASTNode [primary] + VALUE_PARAMETER name:_children index:0 type:kotlin.collections.List<.LighterASTNode?> + EXPRESSION_BODY + CALL 'public final fun emptyList (): kotlin.collections.List declared in kotlin.collections.CollectionsKt' type=kotlin.collections.List<.LighterASTNode?> origin=null + : .LighterASTNode? + BLOCK_BODY + DELEGATING_CONSTRUCTOR_CALL 'public constructor () [primary] declared in kotlin.Any' + INSTANCE_INITIALIZER_CALL classDescriptor='CLASS CLASS name:LighterASTNode modality:FINAL visibility:public superTypes:[kotlin.Any]' + PROPERTY name:_children visibility:public modality:FINAL [val] + FIELD PROPERTY_BACKING_FIELD name:_children type:kotlin.collections.List<.LighterASTNode?> visibility:private [final] + EXPRESSION_BODY + GET_VAR '_children: kotlin.collections.List<.LighterASTNode?> declared in .LighterASTNode.' type=kotlin.collections.List<.LighterASTNode?> origin=INITIALIZE_PROPERTY_FROM_PARAMETER + FUN DEFAULT_PROPERTY_ACCESSOR name: visibility:public modality:FINAL <> ($this:.LighterASTNode) returnType:kotlin.collections.List<.LighterASTNode?> + correspondingProperty: PROPERTY name:_children visibility:public modality:FINAL [val] + $this: VALUE_PARAMETER name: type:.LighterASTNode + BLOCK_BODY + RETURN type=kotlin.Nothing from='public final fun (): kotlin.collections.List<.LighterASTNode?> declared in .LighterASTNode' + GET_FIELD 'FIELD PROPERTY_BACKING_FIELD name:_children type:kotlin.collections.List<.LighterASTNode?> visibility:private [final]' type=kotlin.collections.List<.LighterASTNode?> origin=null + receiver: GET_VAR ': .LighterASTNode declared in .LighterASTNode.' type=.LighterASTNode origin=null + FUN name:getChildren visibility:public modality:FINAL <> ($this:.LighterASTNode, treeStructure:.FlyweightCapableTreeStructure) returnType:kotlin.collections.List<.LighterASTNode?> + $this: VALUE_PARAMETER name: type:.LighterASTNode + VALUE_PARAMETER name:treeStructure index:0 type:.FlyweightCapableTreeStructure + BLOCK_BODY + RETURN type=kotlin.Nothing from='public final fun getChildren (treeStructure: .FlyweightCapableTreeStructure): kotlin.collections.List<.LighterASTNode?> declared in .LighterASTNode' + CALL 'public final fun (): kotlin.collections.List<.LighterASTNode?> declared in .LighterASTNode' type=kotlin.collections.List<.LighterASTNode?> origin=GET_PROPERTY + $this: GET_VAR ': .LighterASTNode declared in .LighterASTNode.getChildren' type=.LighterASTNode origin=null + PROPERTY name:tokenType visibility:public modality:FINAL [val] + FIELD PROPERTY_BACKING_FIELD name:tokenType type:.TokenType visibility:private [final] + EXPRESSION_BODY + CALL 'public final fun (): .TokenType declared in .TokenType.Companion' type=.TokenType origin=GET_PROPERTY + $this: GET_OBJECT 'CLASS OBJECT name:Companion modality:FINAL visibility:public [companion] superTypes:[kotlin.Any]' type=.TokenType.Companion + FUN DEFAULT_PROPERTY_ACCESSOR name: visibility:public modality:FINAL <> ($this:.LighterASTNode) returnType:.TokenType + correspondingProperty: PROPERTY name:tokenType visibility:public modality:FINAL [val] + $this: VALUE_PARAMETER name: type:.LighterASTNode + BLOCK_BODY + RETURN type=kotlin.Nothing from='public final fun (): .TokenType declared in .LighterASTNode' + GET_FIELD 'FIELD PROPERTY_BACKING_FIELD name:tokenType type:.TokenType visibility:private [final]' type=.TokenType origin=null + receiver: GET_VAR ': .LighterASTNode declared in .LighterASTNode.' type=.LighterASTNode origin=null + FUN FAKE_OVERRIDE name:equals visibility:public modality:OPEN <> ($this:kotlin.Any, other:kotlin.Any?) returnType:kotlin.Boolean [fake_override,operator] + overridden: + public open fun equals (other: kotlin.Any?): kotlin.Boolean [operator] declared in kotlin.Any + $this: VALUE_PARAMETER name: type:kotlin.Any + VALUE_PARAMETER name:other index:0 type:kotlin.Any? + FUN FAKE_OVERRIDE name:hashCode visibility:public modality:OPEN <> ($this:kotlin.Any) returnType:kotlin.Int [fake_override] + overridden: + public open fun hashCode (): kotlin.Int declared in kotlin.Any + $this: VALUE_PARAMETER name: type:kotlin.Any + FUN FAKE_OVERRIDE name:toString visibility:public modality:OPEN <> ($this:kotlin.Any) returnType:kotlin.String [fake_override] + overridden: + public open fun toString (): kotlin.String declared in kotlin.Any + $this: VALUE_PARAMETER name: type:kotlin.Any + CLASS CLASS name:TokenType modality:FINAL visibility:public superTypes:[kotlin.Any] + $this: VALUE_PARAMETER INSTANCE_RECEIVER name: type:.TokenType + CONSTRUCTOR visibility:public <> () returnType:.TokenType [primary] + BLOCK_BODY + DELEGATING_CONSTRUCTOR_CALL 'public constructor () [primary] declared in kotlin.Any' + INSTANCE_INITIALIZER_CALL classDescriptor='CLASS CLASS name:TokenType modality:FINAL visibility:public superTypes:[kotlin.Any]' + CLASS OBJECT name:Companion modality:FINAL visibility:public [companion] superTypes:[kotlin.Any] + $this: VALUE_PARAMETER INSTANCE_RECEIVER name: type:.TokenType.Companion + CONSTRUCTOR visibility:private <> () returnType:.TokenType.Companion [primary] + BLOCK_BODY + DELEGATING_CONSTRUCTOR_CALL 'public constructor () [primary] declared in kotlin.Any' + INSTANCE_INITIALIZER_CALL classDescriptor='CLASS OBJECT name:Companion modality:FINAL visibility:public [companion] superTypes:[kotlin.Any]' + PROPERTY name:MODIFIER_LIST visibility:public modality:FINAL [val] + FIELD PROPERTY_BACKING_FIELD name:MODIFIER_LIST type:.TokenType visibility:private [final] + EXPRESSION_BODY + CONSTRUCTOR_CALL 'public constructor () [primary] declared in .TokenType' type=.TokenType origin=null + FUN DEFAULT_PROPERTY_ACCESSOR name: visibility:public modality:FINAL <> ($this:.TokenType.Companion) returnType:.TokenType + correspondingProperty: PROPERTY name:MODIFIER_LIST visibility:public modality:FINAL [val] + $this: VALUE_PARAMETER name: type:.TokenType.Companion + BLOCK_BODY + RETURN type=kotlin.Nothing from='public final fun (): .TokenType declared in .TokenType.Companion' + GET_FIELD 'FIELD PROPERTY_BACKING_FIELD name:MODIFIER_LIST type:.TokenType visibility:private [final]' type=.TokenType origin=null + receiver: GET_VAR ': .TokenType.Companion declared in .TokenType.Companion.' type=.TokenType.Companion origin=null + FUN FAKE_OVERRIDE name:equals visibility:public modality:OPEN <> ($this:kotlin.Any, other:kotlin.Any?) returnType:kotlin.Boolean [fake_override,operator] + overridden: + public open fun equals (other: kotlin.Any?): kotlin.Boolean [operator] declared in kotlin.Any + $this: VALUE_PARAMETER name: type:kotlin.Any + VALUE_PARAMETER name:other index:0 type:kotlin.Any? + FUN FAKE_OVERRIDE name:hashCode visibility:public modality:OPEN <> ($this:kotlin.Any) returnType:kotlin.Int [fake_override] + overridden: + public open fun hashCode (): kotlin.Int declared in kotlin.Any + $this: VALUE_PARAMETER name: type:kotlin.Any + FUN FAKE_OVERRIDE name:toString visibility:public modality:OPEN <> ($this:kotlin.Any) returnType:kotlin.String [fake_override] + overridden: + public open fun toString (): kotlin.String declared in kotlin.Any + $this: VALUE_PARAMETER name: type:kotlin.Any + FUN FAKE_OVERRIDE name:equals visibility:public modality:OPEN <> ($this:kotlin.Any, other:kotlin.Any?) returnType:kotlin.Boolean [fake_override,operator] + overridden: + public open fun equals (other: kotlin.Any?): kotlin.Boolean [operator] declared in kotlin.Any + $this: VALUE_PARAMETER name: type:kotlin.Any + VALUE_PARAMETER name:other index:0 type:kotlin.Any? + FUN FAKE_OVERRIDE name:hashCode visibility:public modality:OPEN <> ($this:kotlin.Any) returnType:kotlin.Int [fake_override] + overridden: + public open fun hashCode (): kotlin.Int declared in kotlin.Any + $this: VALUE_PARAMETER name: type:kotlin.Any + FUN FAKE_OVERRIDE name:toString visibility:public modality:OPEN <> ($this:kotlin.Any) returnType:kotlin.String [fake_override] + overridden: + public open fun toString (): kotlin.String declared in kotlin.Any + $this: VALUE_PARAMETER name: type:kotlin.Any + CLASS CLASS name:KtModifierKeywordToken modality:FINAL visibility:public superTypes:[kotlin.Any] + $this: VALUE_PARAMETER INSTANCE_RECEIVER name: type:.KtModifierKeywordToken + CONSTRUCTOR visibility:public <> () returnType:.KtModifierKeywordToken [primary] + BLOCK_BODY + DELEGATING_CONSTRUCTOR_CALL 'public constructor () [primary] declared in kotlin.Any' + INSTANCE_INITIALIZER_CALL classDescriptor='CLASS CLASS name:KtModifierKeywordToken modality:FINAL visibility:public superTypes:[kotlin.Any]' + FUN FAKE_OVERRIDE name:equals visibility:public modality:OPEN <> ($this:kotlin.Any, other:kotlin.Any?) returnType:kotlin.Boolean [fake_override,operator] + overridden: + public open fun equals (other: kotlin.Any?): kotlin.Boolean [operator] declared in kotlin.Any + $this: VALUE_PARAMETER name: type:kotlin.Any + VALUE_PARAMETER name:other index:0 type:kotlin.Any? + FUN FAKE_OVERRIDE name:hashCode visibility:public modality:OPEN <> ($this:kotlin.Any) returnType:kotlin.Int [fake_override] + overridden: + public open fun hashCode (): kotlin.Int declared in kotlin.Any + $this: VALUE_PARAMETER name: type:kotlin.Any + FUN FAKE_OVERRIDE name:toString visibility:public modality:OPEN <> ($this:kotlin.Any) returnType:kotlin.String [fake_override] + overridden: + public open fun toString (): kotlin.String declared in kotlin.Any + $this: VALUE_PARAMETER name: type:kotlin.Any + CLASS CLASS name:KtModifierList modality:FINAL visibility:public superTypes:[.PsiElement] + $this: VALUE_PARAMETER INSTANCE_RECEIVER name: type:.KtModifierList + CONSTRUCTOR visibility:public <> () returnType:.KtModifierList [primary] + BLOCK_BODY + DELEGATING_CONSTRUCTOR_CALL 'public constructor () [primary] declared in .PsiElement' + INSTANCE_INITIALIZER_CALL classDescriptor='CLASS CLASS name:KtModifierList modality:FINAL visibility:public superTypes:[.PsiElement]' + FUN FAKE_OVERRIDE name:equals visibility:public modality:OPEN <> ($this:kotlin.Any, other:kotlin.Any?) returnType:kotlin.Boolean [fake_override,operator] + overridden: + public open fun equals (other: kotlin.Any?): kotlin.Boolean [fake_override,operator] declared in .PsiElement + $this: VALUE_PARAMETER name: type:kotlin.Any + VALUE_PARAMETER name:other index:0 type:kotlin.Any? + FUN FAKE_OVERRIDE name:hashCode visibility:public modality:OPEN <> ($this:kotlin.Any) returnType:kotlin.Int [fake_override] + overridden: + public open fun hashCode (): kotlin.Int [fake_override] declared in .PsiElement + $this: VALUE_PARAMETER name: type:kotlin.Any + FUN FAKE_OVERRIDE name:toString visibility:public modality:OPEN <> ($this:kotlin.Any) returnType:kotlin.String [fake_override] + overridden: + public open fun toString (): kotlin.String [fake_override] declared in .PsiElement + $this: VALUE_PARAMETER name: type:kotlin.Any + CLASS CLASS name:KtModifierListOwner modality:FINAL visibility:public superTypes:[.PsiElement] + $this: VALUE_PARAMETER INSTANCE_RECEIVER name: type:.KtModifierListOwner + CONSTRUCTOR visibility:public <> () returnType:.KtModifierListOwner [primary] + BLOCK_BODY + DELEGATING_CONSTRUCTOR_CALL 'public constructor () [primary] declared in .PsiElement' + INSTANCE_INITIALIZER_CALL classDescriptor='CLASS CLASS name:KtModifierListOwner modality:FINAL visibility:public superTypes:[.PsiElement]' + PROPERTY name:modifierList visibility:public modality:FINAL [val] + FIELD PROPERTY_BACKING_FIELD name:modifierList type:.KtModifierList visibility:private [final] + EXPRESSION_BODY + CONSTRUCTOR_CALL 'public constructor () [primary] declared in .KtModifierList' type=.KtModifierList origin=null + FUN DEFAULT_PROPERTY_ACCESSOR name: visibility:public modality:FINAL <> ($this:.KtModifierListOwner) returnType:.KtModifierList + correspondingProperty: PROPERTY name:modifierList visibility:public modality:FINAL [val] + $this: VALUE_PARAMETER name: type:.KtModifierListOwner + BLOCK_BODY + RETURN type=kotlin.Nothing from='public final fun (): .KtModifierList declared in .KtModifierListOwner' + GET_FIELD 'FIELD PROPERTY_BACKING_FIELD name:modifierList type:.KtModifierList visibility:private [final]' type=.KtModifierList origin=null + receiver: GET_VAR ': .KtModifierListOwner declared in .KtModifierListOwner.' type=.KtModifierListOwner origin=null + FUN FAKE_OVERRIDE name:equals visibility:public modality:OPEN <> ($this:kotlin.Any, other:kotlin.Any?) returnType:kotlin.Boolean [fake_override,operator] + overridden: + public open fun equals (other: kotlin.Any?): kotlin.Boolean [fake_override,operator] declared in .PsiElement + $this: VALUE_PARAMETER name: type:kotlin.Any + VALUE_PARAMETER name:other index:0 type:kotlin.Any? + FUN FAKE_OVERRIDE name:hashCode visibility:public modality:OPEN <> ($this:kotlin.Any) returnType:kotlin.Int [fake_override] + overridden: + public open fun hashCode (): kotlin.Int [fake_override] declared in .PsiElement + $this: VALUE_PARAMETER name: type:kotlin.Any + FUN FAKE_OVERRIDE name:toString visibility:public modality:OPEN <> ($this:kotlin.Any) returnType:kotlin.String [fake_override] + overridden: + public open fun toString (): kotlin.String [fake_override] declared in .PsiElement + $this: VALUE_PARAMETER name: type:kotlin.Any + CLASS CLASS name:FirModifier modality:SEALED visibility:internal superTypes:[kotlin.Any] + sealedSubclasses: + CLASS CLASS name:FirPsiModifier modality:FINAL visibility:public superTypes:[.FirModifier<.ASTNode>] + CLASS CLASS name:FirLightModifier modality:FINAL visibility:public superTypes:[.FirModifier<.LighterASTNode>] + $this: VALUE_PARAMETER INSTANCE_RECEIVER name: type:.FirModifier.FirModifier> + TYPE_PARAMETER name:Node index:0 variance: superTypes:[kotlin.Any] + CONSTRUCTOR visibility:protected <> (node:Node of .FirModifier, token:.KtModifierKeywordToken) returnType:.FirModifier.FirModifier> [primary] + VALUE_PARAMETER name:node index:0 type:Node of .FirModifier + VALUE_PARAMETER name:token index:1 type:.KtModifierKeywordToken + BLOCK_BODY + DELEGATING_CONSTRUCTOR_CALL 'public constructor () [primary] declared in kotlin.Any' + INSTANCE_INITIALIZER_CALL classDescriptor='CLASS CLASS name:FirModifier modality:SEALED visibility:internal superTypes:[kotlin.Any]' + PROPERTY name:node visibility:public modality:FINAL [val] + FIELD PROPERTY_BACKING_FIELD name:node type:Node of .FirModifier visibility:private [final] + EXPRESSION_BODY + GET_VAR 'node: Node of .FirModifier declared in .FirModifier.' type=Node of .FirModifier origin=INITIALIZE_PROPERTY_FROM_PARAMETER + FUN DEFAULT_PROPERTY_ACCESSOR name: visibility:public modality:FINAL <> ($this:.FirModifier.FirModifier>) returnType:Node of .FirModifier + correspondingProperty: PROPERTY name:node visibility:public modality:FINAL [val] + $this: VALUE_PARAMETER name: type:.FirModifier.FirModifier> + BLOCK_BODY + RETURN type=kotlin.Nothing from='public final fun (): Node of .FirModifier declared in .FirModifier' + GET_FIELD 'FIELD PROPERTY_BACKING_FIELD name:node type:Node of .FirModifier visibility:private [final]' type=Node of .FirModifier origin=null + receiver: GET_VAR ': .FirModifier.FirModifier> declared in .FirModifier.' type=.FirModifier.FirModifier> origin=null + PROPERTY name:token visibility:public modality:FINAL [val] + FIELD PROPERTY_BACKING_FIELD name:token type:.KtModifierKeywordToken visibility:private [final] + EXPRESSION_BODY + GET_VAR 'token: .KtModifierKeywordToken declared in .FirModifier.' type=.KtModifierKeywordToken origin=INITIALIZE_PROPERTY_FROM_PARAMETER + FUN DEFAULT_PROPERTY_ACCESSOR name: visibility:public modality:FINAL <> ($this:.FirModifier.FirModifier>) returnType:.KtModifierKeywordToken + correspondingProperty: PROPERTY name:token visibility:public modality:FINAL [val] + $this: VALUE_PARAMETER name: type:.FirModifier.FirModifier> + BLOCK_BODY + RETURN type=kotlin.Nothing from='public final fun (): .KtModifierKeywordToken declared in .FirModifier' + GET_FIELD 'FIELD PROPERTY_BACKING_FIELD name:token type:.KtModifierKeywordToken visibility:private [final]' type=.KtModifierKeywordToken origin=null + receiver: GET_VAR ': .FirModifier.FirModifier> declared in .FirModifier.' type=.FirModifier.FirModifier> origin=null + CLASS CLASS name:FirPsiModifier modality:FINAL visibility:public superTypes:[.FirModifier<.ASTNode>] + $this: VALUE_PARAMETER INSTANCE_RECEIVER name: type:.FirModifier.FirPsiModifier + CONSTRUCTOR visibility:public <> (node:.ASTNode, token:.KtModifierKeywordToken) returnType:.FirModifier.FirPsiModifier [primary] + VALUE_PARAMETER name:node index:0 type:.ASTNode + VALUE_PARAMETER name:token index:1 type:.KtModifierKeywordToken + BLOCK_BODY + DELEGATING_CONSTRUCTOR_CALL 'protected constructor (node: Node of .FirModifier, token: .KtModifierKeywordToken) [primary] declared in .FirModifier' + : .ASTNode + node: GET_VAR 'node: .ASTNode declared in .FirModifier.FirPsiModifier.' type=.ASTNode origin=null + token: GET_VAR 'token: .KtModifierKeywordToken declared in .FirModifier.FirPsiModifier.' type=.KtModifierKeywordToken origin=null + INSTANCE_INITIALIZER_CALL classDescriptor='CLASS CLASS name:FirPsiModifier modality:FINAL visibility:public superTypes:[.FirModifier<.ASTNode>]' + PROPERTY FAKE_OVERRIDE name:node visibility:public modality:FINAL [fake_override,val] + overridden: + public final node: Node of .FirModifier [val] + FUN FAKE_OVERRIDE name: visibility:public modality:FINAL <> ($this:.FirModifier<.ASTNode>) returnType:.ASTNode [fake_override] + correspondingProperty: PROPERTY FAKE_OVERRIDE name:node visibility:public modality:FINAL [fake_override,val] + overridden: + public final fun (): Node of .FirModifier declared in .FirModifier + $this: VALUE_PARAMETER name: type:.FirModifier<.ASTNode> + PROPERTY FAKE_OVERRIDE name:token visibility:public modality:FINAL [fake_override,val] + overridden: + public final token: .KtModifierKeywordToken [val] + FUN FAKE_OVERRIDE name: visibility:public modality:FINAL <> ($this:.FirModifier<.ASTNode>) returnType:.KtModifierKeywordToken [fake_override] + correspondingProperty: PROPERTY FAKE_OVERRIDE name:token visibility:public modality:FINAL [fake_override,val] + overridden: + public final fun (): .KtModifierKeywordToken declared in .FirModifier + $this: VALUE_PARAMETER name: type:.FirModifier<.ASTNode> + FUN FAKE_OVERRIDE name:equals visibility:public modality:OPEN <> ($this:kotlin.Any, other:kotlin.Any?) returnType:kotlin.Boolean [fake_override,operator] + overridden: + public open fun equals (other: kotlin.Any?): kotlin.Boolean [fake_override,operator] declared in .FirModifier + $this: VALUE_PARAMETER name: type:kotlin.Any + VALUE_PARAMETER name:other index:0 type:kotlin.Any? + FUN FAKE_OVERRIDE name:hashCode visibility:public modality:OPEN <> ($this:kotlin.Any) returnType:kotlin.Int [fake_override] + overridden: + public open fun hashCode (): kotlin.Int [fake_override] declared in .FirModifier + $this: VALUE_PARAMETER name: type:kotlin.Any + FUN FAKE_OVERRIDE name:toString visibility:public modality:OPEN <> ($this:kotlin.Any) returnType:kotlin.String [fake_override] + overridden: + public open fun toString (): kotlin.String [fake_override] declared in .FirModifier + $this: VALUE_PARAMETER name: type:kotlin.Any + CLASS CLASS name:FirLightModifier modality:FINAL visibility:public superTypes:[.FirModifier<.LighterASTNode>] + $this: VALUE_PARAMETER INSTANCE_RECEIVER name: type:.FirModifier.FirLightModifier + CONSTRUCTOR visibility:public <> (node:.LighterASTNode, token:.KtModifierKeywordToken, tree:.FlyweightCapableTreeStructure) returnType:.FirModifier.FirLightModifier [primary] + VALUE_PARAMETER name:node index:0 type:.LighterASTNode + VALUE_PARAMETER name:token index:1 type:.KtModifierKeywordToken + VALUE_PARAMETER name:tree index:2 type:.FlyweightCapableTreeStructure + BLOCK_BODY + DELEGATING_CONSTRUCTOR_CALL 'protected constructor (node: Node of .FirModifier, token: .KtModifierKeywordToken) [primary] declared in .FirModifier' + : .LighterASTNode + node: GET_VAR 'node: .LighterASTNode declared in .FirModifier.FirLightModifier.' type=.LighterASTNode origin=null + token: GET_VAR 'token: .KtModifierKeywordToken declared in .FirModifier.FirLightModifier.' type=.KtModifierKeywordToken origin=null + INSTANCE_INITIALIZER_CALL classDescriptor='CLASS CLASS name:FirLightModifier modality:FINAL visibility:public superTypes:[.FirModifier<.LighterASTNode>]' + PROPERTY name:tree visibility:public modality:FINAL [val] + FIELD PROPERTY_BACKING_FIELD name:tree type:.FlyweightCapableTreeStructure visibility:private [final] + EXPRESSION_BODY + GET_VAR 'tree: .FlyweightCapableTreeStructure declared in .FirModifier.FirLightModifier.' type=.FlyweightCapableTreeStructure origin=INITIALIZE_PROPERTY_FROM_PARAMETER + FUN DEFAULT_PROPERTY_ACCESSOR name: visibility:public modality:FINAL <> ($this:.FirModifier.FirLightModifier) returnType:.FlyweightCapableTreeStructure + correspondingProperty: PROPERTY name:tree visibility:public modality:FINAL [val] + $this: VALUE_PARAMETER name: type:.FirModifier.FirLightModifier + BLOCK_BODY + RETURN type=kotlin.Nothing from='public final fun (): .FlyweightCapableTreeStructure declared in .FirModifier.FirLightModifier' + GET_FIELD 'FIELD PROPERTY_BACKING_FIELD name:tree type:.FlyweightCapableTreeStructure visibility:private [final]' type=.FlyweightCapableTreeStructure origin=null + receiver: GET_VAR ': .FirModifier.FirLightModifier declared in .FirModifier.FirLightModifier.' type=.FirModifier.FirLightModifier origin=null + PROPERTY FAKE_OVERRIDE name:node visibility:public modality:FINAL [fake_override,val] + overridden: + public final node: Node of .FirModifier [val] + FUN FAKE_OVERRIDE name: visibility:public modality:FINAL <> ($this:.FirModifier<.LighterASTNode>) returnType:.LighterASTNode [fake_override] + correspondingProperty: PROPERTY FAKE_OVERRIDE name:node visibility:public modality:FINAL [fake_override,val] + overridden: + public final fun (): Node of .FirModifier declared in .FirModifier + $this: VALUE_PARAMETER name: type:.FirModifier<.LighterASTNode> + PROPERTY FAKE_OVERRIDE name:token visibility:public modality:FINAL [fake_override,val] + overridden: + public final token: .KtModifierKeywordToken [val] + FUN FAKE_OVERRIDE name: visibility:public modality:FINAL <> ($this:.FirModifier<.LighterASTNode>) returnType:.KtModifierKeywordToken [fake_override] + correspondingProperty: PROPERTY FAKE_OVERRIDE name:token visibility:public modality:FINAL [fake_override,val] + overridden: + public final fun (): .KtModifierKeywordToken declared in .FirModifier + $this: VALUE_PARAMETER name: type:.FirModifier<.LighterASTNode> + FUN FAKE_OVERRIDE name:equals visibility:public modality:OPEN <> ($this:kotlin.Any, other:kotlin.Any?) returnType:kotlin.Boolean [fake_override,operator] + overridden: + public open fun equals (other: kotlin.Any?): kotlin.Boolean [fake_override,operator] declared in .FirModifier + $this: VALUE_PARAMETER name: type:kotlin.Any + VALUE_PARAMETER name:other index:0 type:kotlin.Any? + FUN FAKE_OVERRIDE name:hashCode visibility:public modality:OPEN <> ($this:kotlin.Any) returnType:kotlin.Int [fake_override] + overridden: + public open fun hashCode (): kotlin.Int [fake_override] declared in .FirModifier + $this: VALUE_PARAMETER name: type:kotlin.Any + FUN FAKE_OVERRIDE name:toString visibility:public modality:OPEN <> ($this:kotlin.Any) returnType:kotlin.String [fake_override] + overridden: + public open fun toString (): kotlin.String [fake_override] declared in .FirModifier + $this: VALUE_PARAMETER name: type:kotlin.Any + FUN FAKE_OVERRIDE name:equals visibility:public modality:OPEN <> ($this:kotlin.Any, other:kotlin.Any?) returnType:kotlin.Boolean [fake_override,operator] + overridden: + public open fun equals (other: kotlin.Any?): kotlin.Boolean [operator] declared in kotlin.Any + $this: VALUE_PARAMETER name: type:kotlin.Any + VALUE_PARAMETER name:other index:0 type:kotlin.Any? + FUN FAKE_OVERRIDE name:hashCode visibility:public modality:OPEN <> ($this:kotlin.Any) returnType:kotlin.Int [fake_override] + overridden: + public open fun hashCode (): kotlin.Int declared in kotlin.Any + $this: VALUE_PARAMETER name: type:kotlin.Any + FUN FAKE_OVERRIDE name:toString visibility:public modality:OPEN <> ($this:kotlin.Any) returnType:kotlin.String [fake_override] + overridden: + public open fun toString (): kotlin.String declared in kotlin.Any + $this: VALUE_PARAMETER name: type:kotlin.Any + CLASS CLASS name:FirModifierList modality:SEALED visibility:internal superTypes:[kotlin.Any] + sealedSubclasses: + CLASS CLASS name:FirPsiModifierList modality:FINAL visibility:public superTypes:[.FirModifierList] + CLASS CLASS name:FirLightModifierList modality:FINAL visibility:public superTypes:[.FirModifierList] + $this: VALUE_PARAMETER INSTANCE_RECEIVER name: type:.FirModifierList + CONSTRUCTOR visibility:protected <> () returnType:.FirModifierList [primary] + BLOCK_BODY + DELEGATING_CONSTRUCTOR_CALL 'public constructor () [primary] declared in kotlin.Any' + INSTANCE_INITIALIZER_CALL classDescriptor='CLASS CLASS name:FirModifierList modality:SEALED visibility:internal superTypes:[kotlin.Any]' + PROPERTY name:modifiers visibility:public modality:FINAL [val] + FIELD PROPERTY_BACKING_FIELD name:modifiers type:kotlin.collections.List<.FirModifier<*>> visibility:private [final] + EXPRESSION_BODY + CALL 'public final fun emptyList (): kotlin.collections.List declared in kotlin.collections.CollectionsKt' type=kotlin.collections.List<.FirModifier<*>> origin=null + : .FirModifier<*> + FUN DEFAULT_PROPERTY_ACCESSOR name: visibility:public modality:FINAL <> ($this:.FirModifierList) returnType:kotlin.collections.List<.FirModifier<*>> + correspondingProperty: PROPERTY name:modifiers visibility:public modality:FINAL [val] + $this: VALUE_PARAMETER name: type:.FirModifierList + BLOCK_BODY + RETURN type=kotlin.Nothing from='public final fun (): kotlin.collections.List<.FirModifier<*>> declared in .FirModifierList' + GET_FIELD 'FIELD PROPERTY_BACKING_FIELD name:modifiers type:kotlin.collections.List<.FirModifier<*>> visibility:private [final]' type=kotlin.collections.List<.FirModifier<*>> origin=null + receiver: GET_VAR ': .FirModifierList declared in .FirModifierList.' type=.FirModifierList origin=null + CLASS CLASS name:FirPsiModifierList modality:FINAL visibility:public superTypes:[.FirModifierList] + $this: VALUE_PARAMETER INSTANCE_RECEIVER name: type:.FirModifierList.FirPsiModifierList + CONSTRUCTOR visibility:public <> (modifierList:.KtModifierList) returnType:.FirModifierList.FirPsiModifierList [primary] + VALUE_PARAMETER name:modifierList index:0 type:.KtModifierList + BLOCK_BODY + DELEGATING_CONSTRUCTOR_CALL 'protected constructor () [primary] declared in .FirModifierList' + INSTANCE_INITIALIZER_CALL classDescriptor='CLASS CLASS name:FirPsiModifierList modality:FINAL visibility:public superTypes:[.FirModifierList]' + PROPERTY name:modifierList visibility:public modality:FINAL [val] + FIELD PROPERTY_BACKING_FIELD name:modifierList type:.KtModifierList visibility:private [final] + EXPRESSION_BODY + GET_VAR 'modifierList: .KtModifierList declared in .FirModifierList.FirPsiModifierList.' type=.KtModifierList origin=INITIALIZE_PROPERTY_FROM_PARAMETER + FUN DEFAULT_PROPERTY_ACCESSOR name: visibility:public modality:FINAL <> ($this:.FirModifierList.FirPsiModifierList) returnType:.KtModifierList + correspondingProperty: PROPERTY name:modifierList visibility:public modality:FINAL [val] + $this: VALUE_PARAMETER name: type:.FirModifierList.FirPsiModifierList + BLOCK_BODY + RETURN type=kotlin.Nothing from='public final fun (): .KtModifierList declared in .FirModifierList.FirPsiModifierList' + GET_FIELD 'FIELD PROPERTY_BACKING_FIELD name:modifierList type:.KtModifierList visibility:private [final]' type=.KtModifierList origin=null + receiver: GET_VAR ': .FirModifierList.FirPsiModifierList declared in .FirModifierList.FirPsiModifierList.' type=.FirModifierList.FirPsiModifierList origin=null + PROPERTY FAKE_OVERRIDE name:modifiers visibility:public modality:FINAL [fake_override,val] + overridden: + public final modifiers: kotlin.collections.List<.FirModifier<*>> [val] + FUN FAKE_OVERRIDE name: visibility:public modality:FINAL <> ($this:.FirModifierList) returnType:kotlin.collections.List<.FirModifier<*>> [fake_override] + correspondingProperty: PROPERTY FAKE_OVERRIDE name:modifiers visibility:public modality:FINAL [fake_override,val] + overridden: + public final fun (): kotlin.collections.List<.FirModifier<*>> declared in .FirModifierList + $this: VALUE_PARAMETER name: type:.FirModifierList + FUN FAKE_OVERRIDE name:equals visibility:public modality:OPEN <> ($this:kotlin.Any, other:kotlin.Any?) returnType:kotlin.Boolean [fake_override,operator] + overridden: + public open fun equals (other: kotlin.Any?): kotlin.Boolean [fake_override,operator] declared in .FirModifierList + $this: VALUE_PARAMETER name: type:kotlin.Any + VALUE_PARAMETER name:other index:0 type:kotlin.Any? + FUN FAKE_OVERRIDE name:hashCode visibility:public modality:OPEN <> ($this:kotlin.Any) returnType:kotlin.Int [fake_override] + overridden: + public open fun hashCode (): kotlin.Int [fake_override] declared in .FirModifierList + $this: VALUE_PARAMETER name: type:kotlin.Any + FUN FAKE_OVERRIDE name:toString visibility:public modality:OPEN <> ($this:kotlin.Any) returnType:kotlin.String [fake_override] + overridden: + public open fun toString (): kotlin.String [fake_override] declared in .FirModifierList + $this: VALUE_PARAMETER name: type:kotlin.Any + CLASS CLASS name:FirLightModifierList modality:FINAL visibility:public superTypes:[.FirModifierList] + $this: VALUE_PARAMETER INSTANCE_RECEIVER name: type:.FirModifierList.FirLightModifierList + CONSTRUCTOR visibility:public <> (modifierList:.LighterASTNode, tree:.FlyweightCapableTreeStructure) returnType:.FirModifierList.FirLightModifierList [primary] + VALUE_PARAMETER name:modifierList index:0 type:.LighterASTNode + VALUE_PARAMETER name:tree index:1 type:.FlyweightCapableTreeStructure + BLOCK_BODY + DELEGATING_CONSTRUCTOR_CALL 'protected constructor () [primary] declared in .FirModifierList' + INSTANCE_INITIALIZER_CALL classDescriptor='CLASS CLASS name:FirLightModifierList modality:FINAL visibility:public superTypes:[.FirModifierList]' + PROPERTY name:modifierList visibility:public modality:FINAL [val] + FIELD PROPERTY_BACKING_FIELD name:modifierList type:.LighterASTNode visibility:private [final] + EXPRESSION_BODY + GET_VAR 'modifierList: .LighterASTNode declared in .FirModifierList.FirLightModifierList.' type=.LighterASTNode origin=INITIALIZE_PROPERTY_FROM_PARAMETER + FUN DEFAULT_PROPERTY_ACCESSOR name: visibility:public modality:FINAL <> ($this:.FirModifierList.FirLightModifierList) returnType:.LighterASTNode + correspondingProperty: PROPERTY name:modifierList visibility:public modality:FINAL [val] + $this: VALUE_PARAMETER name: type:.FirModifierList.FirLightModifierList + BLOCK_BODY + RETURN type=kotlin.Nothing from='public final fun (): .LighterASTNode declared in .FirModifierList.FirLightModifierList' + GET_FIELD 'FIELD PROPERTY_BACKING_FIELD name:modifierList type:.LighterASTNode visibility:private [final]' type=.LighterASTNode origin=null + receiver: GET_VAR ': .FirModifierList.FirLightModifierList declared in .FirModifierList.FirLightModifierList.' type=.FirModifierList.FirLightModifierList origin=null + PROPERTY name:tree visibility:public modality:FINAL [val] + FIELD PROPERTY_BACKING_FIELD name:tree type:.FlyweightCapableTreeStructure visibility:private [final] + EXPRESSION_BODY + GET_VAR 'tree: .FlyweightCapableTreeStructure declared in .FirModifierList.FirLightModifierList.' type=.FlyweightCapableTreeStructure origin=INITIALIZE_PROPERTY_FROM_PARAMETER + FUN DEFAULT_PROPERTY_ACCESSOR name: visibility:public modality:FINAL <> ($this:.FirModifierList.FirLightModifierList) returnType:.FlyweightCapableTreeStructure + correspondingProperty: PROPERTY name:tree visibility:public modality:FINAL [val] + $this: VALUE_PARAMETER name: type:.FirModifierList.FirLightModifierList + BLOCK_BODY + RETURN type=kotlin.Nothing from='public final fun (): .FlyweightCapableTreeStructure declared in .FirModifierList.FirLightModifierList' + GET_FIELD 'FIELD PROPERTY_BACKING_FIELD name:tree type:.FlyweightCapableTreeStructure visibility:private [final]' type=.FlyweightCapableTreeStructure origin=null + receiver: GET_VAR ': .FirModifierList.FirLightModifierList declared in .FirModifierList.FirLightModifierList.' type=.FirModifierList.FirLightModifierList origin=null + PROPERTY FAKE_OVERRIDE name:modifiers visibility:public modality:FINAL [fake_override,val] + overridden: + public final modifiers: kotlin.collections.List<.FirModifier<*>> [val] + FUN FAKE_OVERRIDE name: visibility:public modality:FINAL <> ($this:.FirModifierList) returnType:kotlin.collections.List<.FirModifier<*>> [fake_override] + correspondingProperty: PROPERTY FAKE_OVERRIDE name:modifiers visibility:public modality:FINAL [fake_override,val] + overridden: + public final fun (): kotlin.collections.List<.FirModifier<*>> declared in .FirModifierList + $this: VALUE_PARAMETER name: type:.FirModifierList + FUN FAKE_OVERRIDE name:equals visibility:public modality:OPEN <> ($this:kotlin.Any, other:kotlin.Any?) returnType:kotlin.Boolean [fake_override,operator] + overridden: + public open fun equals (other: kotlin.Any?): kotlin.Boolean [fake_override,operator] declared in .FirModifierList + $this: VALUE_PARAMETER name: type:kotlin.Any + VALUE_PARAMETER name:other index:0 type:kotlin.Any? + FUN FAKE_OVERRIDE name:hashCode visibility:public modality:OPEN <> ($this:kotlin.Any) returnType:kotlin.Int [fake_override] + overridden: + public open fun hashCode (): kotlin.Int [fake_override] declared in .FirModifierList + $this: VALUE_PARAMETER name: type:kotlin.Any + FUN FAKE_OVERRIDE name:toString visibility:public modality:OPEN <> ($this:kotlin.Any) returnType:kotlin.String [fake_override] + overridden: + public open fun toString (): kotlin.String [fake_override] declared in .FirModifierList + $this: VALUE_PARAMETER name: type:kotlin.Any + CLASS OBJECT name:Companion modality:FINAL visibility:public [companion] superTypes:[kotlin.Any] + $this: VALUE_PARAMETER INSTANCE_RECEIVER name: type:.FirModifierList.Companion + CONSTRUCTOR visibility:private <> () returnType:.FirModifierList.Companion [primary] + BLOCK_BODY + DELEGATING_CONSTRUCTOR_CALL 'public constructor () [primary] declared in kotlin.Any' + INSTANCE_INITIALIZER_CALL classDescriptor='CLASS OBJECT name:Companion modality:FINAL visibility:public [companion] superTypes:[kotlin.Any]' + FUN name:getModifierList visibility:public modality:FINAL <> ($this:.FirModifierList.Companion, $receiver:.FirSourceElement?) returnType:.FirModifierList? + $this: VALUE_PARAMETER name: type:.FirModifierList.Companion + $receiver: VALUE_PARAMETER name: type:.FirSourceElement? + BLOCK_BODY + RETURN type=kotlin.Nothing from='public final fun getModifierList (): .FirModifierList? declared in .FirModifierList.Companion' + BLOCK type=.FirModifierList? origin=WHEN + VAR IR_TEMPORARY_VARIABLE name:tmp_0 type:.FirSourceElement? [val] + GET_VAR ': .FirSourceElement? declared in .FirModifierList.Companion.getModifierList' type=.FirSourceElement? origin=null + WHEN type=.FirModifierList? origin=WHEN + BRANCH + if: CALL 'public final fun EQEQ (arg0: kotlin.Any?, arg1: kotlin.Any?): kotlin.Boolean declared in kotlin.internal.ir' type=kotlin.Boolean origin=EQEQ + arg0: GET_VAR 'val tmp_0: .FirSourceElement? [val] declared in .FirModifierList.Companion.getModifierList' type=.FirSourceElement? origin=null + arg1: CONST Null type=kotlin.Nothing? value=null + then: CONST Null type=kotlin.Nothing? value=null + BRANCH + if: TYPE_OP type=kotlin.Boolean origin=INSTANCEOF typeOperand=.FirPsiSourceElement + GET_VAR 'val tmp_0: .FirSourceElement? [val] declared in .FirModifierList.Companion.getModifierList' type=.FirSourceElement? origin=null + then: BLOCK type=.FirModifierList.FirPsiModifierList? origin=SAFE_CALL + VAR IR_TEMPORARY_VARIABLE name:tmp_1 type:.KtModifierList? [val] + BLOCK type=.KtModifierList? origin=SAFE_CALL + VAR IR_TEMPORARY_VARIABLE name:tmp_2 type:.KtModifierListOwner? [val] + TYPE_OP type=.KtModifierListOwner? origin=SAFE_CAST typeOperand=.KtModifierListOwner + CALL 'public final fun (): .PsiElement declared in .FirPsiSourceElement' type=.PsiElement origin=GET_PROPERTY + $this: TYPE_OP type=.FirPsiSourceElement origin=IMPLICIT_CAST typeOperand=.FirPsiSourceElement + GET_VAR ': .FirSourceElement? declared in .FirModifierList.Companion.getModifierList' type=.FirSourceElement? origin=null + WHEN type=.KtModifierList? origin=null + BRANCH + if: CALL 'public final fun EQEQ (arg0: kotlin.Any?, arg1: kotlin.Any?): kotlin.Boolean declared in kotlin.internal.ir' type=kotlin.Boolean origin=EQEQ + arg0: GET_VAR 'val tmp_2: .KtModifierListOwner? [val] declared in .FirModifierList.Companion.getModifierList' type=.KtModifierListOwner? origin=null + arg1: CONST Null type=kotlin.Nothing? value=null + then: CONST Null type=kotlin.Nothing? value=null + BRANCH + if: CONST Boolean type=kotlin.Boolean value=true + then: CALL 'public final fun (): .KtModifierList declared in .KtModifierListOwner' type=.KtModifierList origin=GET_PROPERTY + $this: GET_VAR 'val tmp_2: .KtModifierListOwner? [val] declared in .FirModifierList.Companion.getModifierList' type=.KtModifierListOwner? origin=null + WHEN type=.FirModifierList.FirPsiModifierList? origin=null + BRANCH + if: CALL 'public final fun EQEQ (arg0: kotlin.Any?, arg1: kotlin.Any?): kotlin.Boolean declared in kotlin.internal.ir' type=kotlin.Boolean origin=EQEQ + arg0: GET_VAR 'val tmp_1: .KtModifierList? [val] declared in .FirModifierList.Companion.getModifierList' type=.KtModifierList? origin=null + arg1: CONST Null type=kotlin.Nothing? value=null + then: CONST Null type=kotlin.Nothing? value=null + BRANCH + if: CONST Boolean type=kotlin.Boolean value=true + then: CALL 'public final fun let (block: kotlin.Function1): R of kotlin.StandardKt.let [inline] declared in kotlin.StandardKt' type=.FirModifierList.FirPsiModifierList origin=null + : .KtModifierList + : .FirModifierList.FirPsiModifierList + $receiver: GET_VAR 'val tmp_1: .KtModifierList? [val] declared in .FirModifierList.Companion.getModifierList' type=.KtModifierList? origin=null + block: FUN_EXPR type=kotlin.Function1<.KtModifierList, .FirModifierList.FirPsiModifierList> origin=LAMBDA + FUN LOCAL_FUNCTION_FOR_LAMBDA name: visibility:local modality:FINAL <> (it:.KtModifierList) returnType:.FirModifierList.FirPsiModifierList + VALUE_PARAMETER name:it index:0 type:.KtModifierList + BLOCK_BODY + RETURN type=kotlin.Nothing from='local final fun (it: .KtModifierList): .FirModifierList.FirPsiModifierList declared in .FirModifierList.Companion.getModifierList' + CONSTRUCTOR_CALL 'public constructor (modifierList: .KtModifierList) [primary] declared in .FirModifierList.FirPsiModifierList' type=.FirModifierList.FirPsiModifierList origin=null + modifierList: GET_VAR 'it: .KtModifierList declared in .FirModifierList.Companion.getModifierList.' type=.KtModifierList origin=null + BRANCH + if: TYPE_OP type=kotlin.Boolean origin=INSTANCEOF typeOperand=.FirLightSourceElement + GET_VAR 'val tmp_0: .FirSourceElement? [val] declared in .FirModifierList.Companion.getModifierList' type=.FirSourceElement? origin=null + then: BLOCK type=.FirModifierList.FirLightModifierList origin=null + VAR name:modifierListNode type:.LighterASTNode [val] + BLOCK type=.LighterASTNode origin=ELVIS + VAR IR_TEMPORARY_VARIABLE name:tmp_3 type:.LighterASTNode? [val] + CALL 'public final fun find (predicate: kotlin.Function1): T of kotlin.collections.CollectionsKt.find? [inline] declared in kotlin.collections.CollectionsKt' type=.LighterASTNode? origin=null + : .LighterASTNode? + $receiver: CALL 'public final fun getChildren (treeStructure: .FlyweightCapableTreeStructure): kotlin.collections.List<.LighterASTNode?> declared in .LighterASTNode' type=kotlin.collections.List<.LighterASTNode?> origin=null + $this: CALL 'public abstract fun (): .LighterASTNode declared in .FirSourceElement' type=.LighterASTNode origin=GET_PROPERTY + $this: GET_VAR ': .FirSourceElement? declared in .FirModifierList.Companion.getModifierList' type=.FirSourceElement? origin=null + treeStructure: CALL 'public abstract fun (): .FlyweightCapableTreeStructure declared in .FirSourceElement' type=.FlyweightCapableTreeStructure origin=GET_PROPERTY + $this: GET_VAR ': .FirSourceElement? declared in .FirModifierList.Companion.getModifierList' type=.FirSourceElement? origin=null + predicate: FUN_EXPR type=kotlin.Function1<.LighterASTNode?, kotlin.Boolean> origin=LAMBDA + FUN LOCAL_FUNCTION_FOR_LAMBDA name: visibility:local modality:FINAL <> (it:.LighterASTNode?) returnType:kotlin.Boolean + VALUE_PARAMETER name:it index:0 type:.LighterASTNode? + BLOCK_BODY + RETURN type=kotlin.Nothing from='local final fun (it: .LighterASTNode?): kotlin.Boolean declared in .FirModifierList.Companion.getModifierList' + CALL 'public final fun EQEQ (arg0: kotlin.Any?, arg1: kotlin.Any?): kotlin.Boolean declared in kotlin.internal.ir' type=kotlin.Boolean origin=EQEQ + arg0: BLOCK type=.TokenType? origin=SAFE_CALL + VAR IR_TEMPORARY_VARIABLE name:tmp_4 type:.LighterASTNode? [val] + GET_VAR 'it: .LighterASTNode? declared in .FirModifierList.Companion.getModifierList.' type=.LighterASTNode? origin=null + WHEN type=.TokenType? origin=null + BRANCH + if: CALL 'public final fun EQEQ (arg0: kotlin.Any?, arg1: kotlin.Any?): kotlin.Boolean declared in kotlin.internal.ir' type=kotlin.Boolean origin=EQEQ + arg0: GET_VAR 'val tmp_4: .LighterASTNode? [val] declared in .FirModifierList.Companion.getModifierList.' type=.LighterASTNode? origin=null + arg1: CONST Null type=kotlin.Nothing? value=null + then: CONST Null type=kotlin.Nothing? value=null + BRANCH + if: CONST Boolean type=kotlin.Boolean value=true + then: CALL 'public final fun (): .TokenType declared in .LighterASTNode' type=.TokenType origin=GET_PROPERTY + $this: GET_VAR 'val tmp_4: .LighterASTNode? [val] declared in .FirModifierList.Companion.getModifierList.' type=.LighterASTNode? origin=null + arg1: CALL 'public final fun (): .TokenType declared in .TokenType.Companion' type=.TokenType origin=GET_PROPERTY + $this: GET_OBJECT 'CLASS OBJECT name:Companion modality:FINAL visibility:public [companion] superTypes:[kotlin.Any]' type=.TokenType.Companion + WHEN type=.LighterASTNode origin=null + BRANCH + if: CALL 'public final fun EQEQ (arg0: kotlin.Any?, arg1: kotlin.Any?): kotlin.Boolean declared in kotlin.internal.ir' type=kotlin.Boolean origin=EQEQ + arg0: GET_VAR 'val tmp_3: .LighterASTNode? [val] declared in .FirModifierList.Companion.getModifierList' type=.LighterASTNode? origin=null + arg1: CONST Null type=kotlin.Nothing? value=null + then: RETURN type=kotlin.Nothing from='public final fun getModifierList (): .FirModifierList? declared in .FirModifierList.Companion' + CONST Null type=kotlin.Nothing? value=null + BRANCH + if: CONST Boolean type=kotlin.Boolean value=true + then: GET_VAR 'val tmp_3: .LighterASTNode? [val] declared in .FirModifierList.Companion.getModifierList' type=.LighterASTNode? origin=null + CONSTRUCTOR_CALL 'public constructor (modifierList: .LighterASTNode, tree: .FlyweightCapableTreeStructure) [primary] declared in .FirModifierList.FirLightModifierList' type=.FirModifierList.FirLightModifierList origin=null + modifierList: GET_VAR 'val modifierListNode: .LighterASTNode [val] declared in .FirModifierList.Companion.getModifierList' type=.LighterASTNode origin=null + tree: CALL 'public abstract fun (): .FlyweightCapableTreeStructure declared in .FirSourceElement' type=.FlyweightCapableTreeStructure origin=GET_PROPERTY + $this: GET_VAR ': .FirSourceElement? declared in .FirModifierList.Companion.getModifierList' type=.FirSourceElement? origin=null + BRANCH + if: CONST Boolean type=kotlin.Boolean value=true + then: CALL 'public final fun noWhenBranchMatchedException (): kotlin.Nothing declared in kotlin.internal.ir' type=kotlin.Nothing origin=null + FUN name:boxImpl visibility:public modality:FINAL <> ($this:.FirModifierList.Companion) returnType:kotlin.String + $this: VALUE_PARAMETER name: type:.FirModifierList.Companion + BLOCK_BODY + VAR name:sourceElement type:.FirSourceElement? [val] + CONSTRUCTOR_CALL 'public constructor (lighterASTNode: .LighterASTNode, treeStructure: .FlyweightCapableTreeStructure) [primary] declared in .FirLightSourceElement' type=.FirLightSourceElement origin=null + lighterASTNode: CONSTRUCTOR_CALL 'public constructor (_children: kotlin.collections.List<.LighterASTNode?>) [primary] declared in .LighterASTNode' type=.LighterASTNode origin=null + _children: CALL 'public final fun listOf (element: T of kotlin.collections.CollectionsKt.listOf): kotlin.collections.List declared in kotlin.collections.CollectionsKt' type=kotlin.collections.List<.LighterASTNode> origin=null + : .LighterASTNode + element: CONSTRUCTOR_CALL 'public constructor (_children: kotlin.collections.List<.LighterASTNode?>) [primary] declared in .LighterASTNode' type=.LighterASTNode origin=null + treeStructure: CONSTRUCTOR_CALL 'public constructor () [primary] declared in .FlyweightCapableTreeStructure' type=.FlyweightCapableTreeStructure origin=null + VAR name:result type:.FirModifierList? [val] + CALL 'public final fun getModifierList (): .FirModifierList? declared in .FirModifierList.Companion' type=.FirModifierList? origin=null + $this: GET_VAR ': .FirModifierList.Companion declared in .FirModifierList.Companion.boxImpl' type=.FirModifierList.Companion origin=null + $receiver: GET_VAR 'val sourceElement: .FirSourceElement? [val] declared in .FirModifierList.Companion.boxImpl' type=.FirSourceElement? origin=null + RETURN type=kotlin.Nothing from='public final fun boxImpl (): kotlin.String declared in .FirModifierList.Companion' + WHEN type=kotlin.String origin=IF + BRANCH + if: TYPE_OP type=kotlin.Boolean origin=INSTANCEOF typeOperand=.FirModifierList.FirLightModifierList + GET_VAR 'val result: .FirModifierList? [val] declared in .FirModifierList.Companion.boxImpl' type=.FirModifierList? origin=null + then: CONST String type=kotlin.String value="OK" + BRANCH + if: CONST Boolean type=kotlin.Boolean value=true + then: CONST String type=kotlin.String value="Fail" + FUN FAKE_OVERRIDE name:equals visibility:public modality:OPEN <> ($this:kotlin.Any, other:kotlin.Any?) returnType:kotlin.Boolean [fake_override,operator] + overridden: + public open fun equals (other: kotlin.Any?): kotlin.Boolean [operator] declared in kotlin.Any + $this: VALUE_PARAMETER name: type:kotlin.Any + VALUE_PARAMETER name:other index:0 type:kotlin.Any? + FUN FAKE_OVERRIDE name:hashCode visibility:public modality:OPEN <> ($this:kotlin.Any) returnType:kotlin.Int [fake_override] + overridden: + public open fun hashCode (): kotlin.Int declared in kotlin.Any + $this: VALUE_PARAMETER name: type:kotlin.Any + FUN FAKE_OVERRIDE name:toString visibility:public modality:OPEN <> ($this:kotlin.Any) returnType:kotlin.String [fake_override] + overridden: + public open fun toString (): kotlin.String declared in kotlin.Any + $this: VALUE_PARAMETER name: type:kotlin.Any + FUN FAKE_OVERRIDE name:equals visibility:public modality:OPEN <> ($this:kotlin.Any, other:kotlin.Any?) returnType:kotlin.Boolean [fake_override,operator] + overridden: + public open fun equals (other: kotlin.Any?): kotlin.Boolean [operator] declared in kotlin.Any + $this: VALUE_PARAMETER name: type:kotlin.Any + VALUE_PARAMETER name:other index:0 type:kotlin.Any? + FUN FAKE_OVERRIDE name:hashCode visibility:public modality:OPEN <> ($this:kotlin.Any) returnType:kotlin.Int [fake_override] + overridden: + public open fun hashCode (): kotlin.Int declared in kotlin.Any + $this: VALUE_PARAMETER name: type:kotlin.Any + FUN FAKE_OVERRIDE name:toString visibility:public modality:OPEN <> ($this:kotlin.Any) returnType:kotlin.String [fake_override] + overridden: + public open fun toString (): kotlin.String declared in kotlin.Any + $this: VALUE_PARAMETER name: type:kotlin.Any + FUN name:box visibility:public modality:FINAL <> () returnType:kotlin.String + BLOCK_BODY + RETURN type=kotlin.Nothing from='public final fun box (): kotlin.String declared in ' + CALL 'public final fun boxImpl (): kotlin.String declared in .FirModifierList.Companion' type=kotlin.String origin=null + $this: GET_OBJECT 'CLASS OBJECT name:Companion modality:FINAL visibility:public [companion] superTypes:[kotlin.Any]' type=.FirModifierList.Companion diff --git a/compiler/testData/ir/irText/classes/47424.txt b/compiler/testData/ir/irText/classes/47424.ir.txt similarity index 100% rename from compiler/testData/ir/irText/classes/47424.txt rename to compiler/testData/ir/irText/classes/47424.ir.txt diff --git a/compiler/testData/ir/irText/classes/abstractMembers.txt b/compiler/testData/ir/irText/classes/abstractMembers.ir.txt similarity index 100% rename from compiler/testData/ir/irText/classes/abstractMembers.txt rename to compiler/testData/ir/irText/classes/abstractMembers.ir.txt diff --git a/compiler/testData/ir/irText/classes/abstractMembers.kt.txt b/compiler/testData/ir/irText/classes/abstractMembers.kt.txt index 3069a90f927..7fd4ece2747 100644 --- a/compiler/testData/ir/irText/classes/abstractMembers.kt.txt +++ b/compiler/testData/ir/irText/classes/abstractMembers.kt.txt @@ -5,7 +5,7 @@ abstract class AbstractClass { } - abstract fun abstractFun() + abstract fun abstractFun() abstract val abstractVal: Int abstract get @@ -16,7 +16,7 @@ abstract class AbstractClass { } interface Interface { - abstract fun abstractFun() + abstract fun abstractFun() abstract val abstractVal: Int abstract get @@ -25,4 +25,3 @@ interface Interface { abstract set } - diff --git a/compiler/testData/ir/irText/classes/annotationClasses.txt b/compiler/testData/ir/irText/classes/annotationClasses.ir.txt similarity index 100% rename from compiler/testData/ir/irText/classes/annotationClasses.txt rename to compiler/testData/ir/irText/classes/annotationClasses.ir.txt diff --git a/compiler/testData/ir/irText/classes/argumentReorderingInDelegatingConstructorCall.txt b/compiler/testData/ir/irText/classes/argumentReorderingInDelegatingConstructorCall.ir.txt similarity index 100% rename from compiler/testData/ir/irText/classes/argumentReorderingInDelegatingConstructorCall.txt rename to compiler/testData/ir/irText/classes/argumentReorderingInDelegatingConstructorCall.ir.txt diff --git a/compiler/testData/ir/irText/classes/argumentReorderingInDelegatingConstructorCall.kt.txt b/compiler/testData/ir/irText/classes/argumentReorderingInDelegatingConstructorCall.kt.txt index 1c6432ff858..0c4f697d5f2 100644 --- a/compiler/testData/ir/irText/classes/argumentReorderingInDelegatingConstructorCall.kt.txt +++ b/compiler/testData/ir/irText/classes/argumentReorderingInDelegatingConstructorCall.kt.txt @@ -36,4 +36,3 @@ class Test2 : Base { } } - diff --git a/compiler/testData/ir/irText/classes/clashingFakeOverrideSignatures.fir.txt b/compiler/testData/ir/irText/classes/clashingFakeOverrideSignatures.fir.ir.txt similarity index 98% rename from compiler/testData/ir/irText/classes/clashingFakeOverrideSignatures.fir.txt rename to compiler/testData/ir/irText/classes/clashingFakeOverrideSignatures.fir.ir.txt index ace2eab8551..3b62d224251 100644 --- a/compiler/testData/ir/irText/classes/clashingFakeOverrideSignatures.fir.txt +++ b/compiler/testData/ir/irText/classes/clashingFakeOverrideSignatures.fir.ir.txt @@ -152,15 +152,15 @@ FILE fqName: fileName:/clashingFakeOverrideSignatures.kt CALL 'public final fun foo (x: kotlin.String): kotlin.Unit [fake_override] declared in .Derived' type=kotlin.Unit origin=null $this: GET_VAR 'd: .Derived declared in .test' type=.Derived origin=null x: CONST String type=kotlin.String value="" - CALL 'public final fun foo (y: kotlin.String): kotlin.Unit declared in .Base' type=kotlin.Unit origin=null + CALL 'public final fun foo (x: kotlin.String): kotlin.Unit [fake_override] declared in .Derived' type=kotlin.Unit origin=null $this: GET_VAR 'd: .Derived declared in .test' type=.Derived origin=null - y: CONST String type=kotlin.String value="" + x: CONST String type=kotlin.String value="" CALL 'public final fun foo (x: kotlin.String): kotlin.Unit [fake_override] declared in .Derived' type=kotlin.Unit origin=null $this: GET_VAR 'd2: .Derived2 declared in .test' type=.Derived2 origin=null x: CONST String type=kotlin.String value="" - CALL 'public final fun foo (y: kotlin.String): kotlin.Unit declared in .Base' type=kotlin.Unit origin=null + CALL 'public final fun foo (x: kotlin.String): kotlin.Unit [fake_override] declared in .Derived' type=kotlin.Unit origin=null $this: GET_VAR 'd2: .Derived2 declared in .test' type=.Derived2 origin=null - y: CONST String type=kotlin.String value="" + x: CONST String type=kotlin.String value="" CLASS CLASS name:BaseXY modality:OPEN visibility:public superTypes:[kotlin.Any] $this: VALUE_PARAMETER INSTANCE_RECEIVER name: type:.BaseXY.BaseXY, Y of .BaseXY> TYPE_PARAMETER name:X index:0 variance: superTypes:[kotlin.Any?] @@ -380,13 +380,13 @@ FILE fqName: fileName:/clashingFakeOverrideSignatures.kt CALL 'public final fun foo (x: kotlin.String): kotlin.Unit [fake_override] declared in .outerFun.LocalDerived' type=kotlin.Unit origin=null $this: GET_VAR 'd: .outerFun.LocalDerived declared in .outerFun.test' type=.outerFun.LocalDerived origin=null x: CONST String type=kotlin.String value="" - CALL 'public final fun foo (y: kotlin.String): kotlin.Unit declared in .outerFun.LocalBase' type=kotlin.Unit origin=null + CALL 'public final fun foo (y: kotlin.String): kotlin.Unit [fake_override] declared in .outerFun.LocalDerived' type=kotlin.Unit origin=null $this: GET_VAR 'd: .outerFun.LocalDerived declared in .outerFun.test' type=.outerFun.LocalDerived origin=null y: CONST String type=kotlin.String value="" CALL 'public final fun foo (x: kotlin.String): kotlin.Unit [fake_override] declared in .outerFun.LocalDerived' type=kotlin.Unit origin=null $this: GET_VAR 'd2: .outerFun.LocalDerived2 declared in .outerFun.test' type=.outerFun.LocalDerived2 origin=null x: CONST String type=kotlin.String value="" - CALL 'public final fun foo (y: kotlin.String): kotlin.Unit declared in .outerFun.LocalBase' type=kotlin.Unit origin=null + CALL 'public final fun foo (y: kotlin.String): kotlin.Unit [fake_override] declared in .outerFun.LocalDerived' type=kotlin.Unit origin=null $this: GET_VAR 'd2: .outerFun.LocalDerived2 declared in .outerFun.test' type=.outerFun.LocalDerived2 origin=null y: CONST String type=kotlin.String value="" CLASS CLASS name:Outer modality:OPEN visibility:public superTypes:[kotlin.Any] diff --git a/compiler/testData/ir/irText/classes/clashingFakeOverrideSignatures.fir.kt.txt b/compiler/testData/ir/irText/classes/clashingFakeOverrideSignatures.fir.kt.txt index a2d4c878a57..4d7a82dd667 100644 --- a/compiler/testData/ir/irText/classes/clashingFakeOverrideSignatures.fir.kt.txt +++ b/compiler/testData/ir/irText/classes/clashingFakeOverrideSignatures.fir.kt.txt @@ -45,9 +45,9 @@ fun test(b: Base, d: Derived, d2: Derived2) { b.foo(x = "") b.foo(y = "") d.foo(x = "") - d.foo(y = "") + d.foo(x = "") + d2.foo(x = "") d2.foo(x = "") - d2.foo(y = "") } open class BaseXY { diff --git a/compiler/testData/ir/irText/classes/clashingFakeOverrideSignatures.txt b/compiler/testData/ir/irText/classes/clashingFakeOverrideSignatures.ir.txt similarity index 100% rename from compiler/testData/ir/irText/classes/clashingFakeOverrideSignatures.txt rename to compiler/testData/ir/irText/classes/clashingFakeOverrideSignatures.ir.txt diff --git a/compiler/testData/ir/irText/classes/classMembers.txt b/compiler/testData/ir/irText/classes/classMembers.ir.txt similarity index 100% rename from compiler/testData/ir/irText/classes/classMembers.txt rename to compiler/testData/ir/irText/classes/classMembers.ir.txt diff --git a/compiler/testData/ir/irText/classes/classMembers.kt.txt b/compiler/testData/ir/irText/classes/classMembers.kt.txt index 2242eebf0c2..96d4d713458 100644 --- a/compiler/testData/ir/irText/classes/classMembers.kt.txt +++ b/compiler/testData/ir/irText/classes/classMembers.kt.txt @@ -61,7 +61,7 @@ class C { } interface NestedInterface { - abstract fun foo() + abstract fun foo() fun bar() { return .foo() } @@ -78,4 +78,3 @@ class C { } } - diff --git a/compiler/testData/ir/irText/classes/classes.fir.txt b/compiler/testData/ir/irText/classes/classes.fir.ir.txt similarity index 100% rename from compiler/testData/ir/irText/classes/classes.fir.txt rename to compiler/testData/ir/irText/classes/classes.fir.ir.txt diff --git a/compiler/testData/ir/irText/classes/classes.txt b/compiler/testData/ir/irText/classes/classes.ir.txt similarity index 100% rename from compiler/testData/ir/irText/classes/classes.txt rename to compiler/testData/ir/irText/classes/classes.ir.txt diff --git a/compiler/testData/ir/irText/classes/cloneable.fir.txt b/compiler/testData/ir/irText/classes/cloneable.fir.ir.txt similarity index 100% rename from compiler/testData/ir/irText/classes/cloneable.fir.txt rename to compiler/testData/ir/irText/classes/cloneable.fir.ir.txt diff --git a/compiler/testData/ir/irText/classes/cloneable.txt b/compiler/testData/ir/irText/classes/cloneable.ir.txt similarity index 100% rename from compiler/testData/ir/irText/classes/cloneable.txt rename to compiler/testData/ir/irText/classes/cloneable.ir.txt diff --git a/compiler/testData/ir/irText/classes/cloneable.kt.txt b/compiler/testData/ir/irText/classes/cloneable.kt.txt index 3f3e225b76d..d5d61aabac7 100644 --- a/compiler/testData/ir/irText/classes/cloneable.kt.txt +++ b/compiler/testData/ir/irText/classes/cloneable.kt.txt @@ -32,4 +32,3 @@ class OC : I { } } - diff --git a/compiler/testData/ir/irText/classes/companionObject.txt b/compiler/testData/ir/irText/classes/companionObject.ir.txt similarity index 100% rename from compiler/testData/ir/irText/classes/companionObject.txt rename to compiler/testData/ir/irText/classes/companionObject.ir.txt diff --git a/compiler/testData/ir/irText/classes/companionObject.kt.txt b/compiler/testData/ir/irText/classes/companionObject.kt.txt index c84b9b0b937..0d749bff43f 100644 --- a/compiler/testData/ir/irText/classes/companionObject.kt.txt +++ b/compiler/testData/ir/irText/classes/companionObject.kt.txt @@ -33,4 +33,3 @@ class Test2 { } } - diff --git a/compiler/testData/ir/irText/classes/dataClassWithArrayMembers.fir.txt b/compiler/testData/ir/irText/classes/dataClassWithArrayMembers.fir.ir.txt similarity index 100% rename from compiler/testData/ir/irText/classes/dataClassWithArrayMembers.fir.txt rename to compiler/testData/ir/irText/classes/dataClassWithArrayMembers.fir.ir.txt diff --git a/compiler/testData/ir/irText/classes/dataClassWithArrayMembers.fir.kt.txt b/compiler/testData/ir/irText/classes/dataClassWithArrayMembers.fir.kt.txt index 4fc9e7c7b4f..80b39231a1d 100644 --- a/compiler/testData/ir/irText/classes/dataClassWithArrayMembers.fir.kt.txt +++ b/compiler/testData/ir/irText/classes/dataClassWithArrayMembers.fir.kt.txt @@ -226,4 +226,3 @@ data class Test3 { } } - diff --git a/compiler/testData/ir/irText/classes/dataClassWithArrayMembers.txt b/compiler/testData/ir/irText/classes/dataClassWithArrayMembers.ir.txt similarity index 100% rename from compiler/testData/ir/irText/classes/dataClassWithArrayMembers.txt rename to compiler/testData/ir/irText/classes/dataClassWithArrayMembers.ir.txt diff --git a/compiler/testData/ir/irText/classes/dataClassWithArrayMembers.kt.txt b/compiler/testData/ir/irText/classes/dataClassWithArrayMembers.kt.txt index a9cdad2b3e5..c5faa614d46 100644 --- a/compiler/testData/ir/irText/classes/dataClassWithArrayMembers.kt.txt +++ b/compiler/testData/ir/irText/classes/dataClassWithArrayMembers.kt.txt @@ -226,4 +226,3 @@ data class Test3 { } } - diff --git a/compiler/testData/ir/irText/classes/dataClasses.fir.txt b/compiler/testData/ir/irText/classes/dataClasses.fir.ir.txt similarity index 100% rename from compiler/testData/ir/irText/classes/dataClasses.fir.txt rename to compiler/testData/ir/irText/classes/dataClasses.fir.ir.txt diff --git a/compiler/testData/ir/irText/classes/dataClasses.txt b/compiler/testData/ir/irText/classes/dataClasses.ir.txt similarity index 100% rename from compiler/testData/ir/irText/classes/dataClasses.txt rename to compiler/testData/ir/irText/classes/dataClasses.ir.txt diff --git a/compiler/testData/ir/irText/classes/dataClasses.kt.txt b/compiler/testData/ir/irText/classes/dataClasses.kt.txt index 8633b01ed34..3a72fd1a9a8 100644 --- a/compiler/testData/ir/irText/classes/dataClasses.kt.txt +++ b/compiler/testData/ir/irText/classes/dataClasses.kt.txt @@ -197,4 +197,3 @@ data class Test3 { } } - diff --git a/compiler/testData/ir/irText/classes/dataClassesGeneric.fir.txt b/compiler/testData/ir/irText/classes/dataClassesGeneric.fir.ir.txt similarity index 100% rename from compiler/testData/ir/irText/classes/dataClassesGeneric.fir.txt rename to compiler/testData/ir/irText/classes/dataClassesGeneric.fir.ir.txt diff --git a/compiler/testData/ir/irText/classes/dataClassesGeneric.txt b/compiler/testData/ir/irText/classes/dataClassesGeneric.ir.txt similarity index 100% rename from compiler/testData/ir/irText/classes/dataClassesGeneric.txt rename to compiler/testData/ir/irText/classes/dataClassesGeneric.ir.txt diff --git a/compiler/testData/ir/irText/classes/dataClassesGeneric.kt.txt b/compiler/testData/ir/irText/classes/dataClassesGeneric.kt.txt index 97eb2fcc943..4ee9f836e40 100644 --- a/compiler/testData/ir/irText/classes/dataClassesGeneric.kt.txt +++ b/compiler/testData/ir/irText/classes/dataClassesGeneric.kt.txt @@ -172,4 +172,3 @@ data class Test4 { } } - diff --git a/compiler/testData/ir/irText/classes/delegatedGenericImplementation.fir.txt b/compiler/testData/ir/irText/classes/delegatedGenericImplementation.fir.ir.txt similarity index 100% rename from compiler/testData/ir/irText/classes/delegatedGenericImplementation.fir.txt rename to compiler/testData/ir/irText/classes/delegatedGenericImplementation.fir.ir.txt diff --git a/compiler/testData/ir/irText/classes/delegatedGenericImplementation.txt b/compiler/testData/ir/irText/classes/delegatedGenericImplementation.ir.txt similarity index 100% rename from compiler/testData/ir/irText/classes/delegatedGenericImplementation.txt rename to compiler/testData/ir/irText/classes/delegatedGenericImplementation.ir.txt diff --git a/compiler/testData/ir/irText/classes/delegatedImplementation.fir.txt b/compiler/testData/ir/irText/classes/delegatedImplementation.fir.ir.txt similarity index 100% rename from compiler/testData/ir/irText/classes/delegatedImplementation.fir.txt rename to compiler/testData/ir/irText/classes/delegatedImplementation.fir.ir.txt diff --git a/compiler/testData/ir/irText/classes/delegatedImplementation.txt b/compiler/testData/ir/irText/classes/delegatedImplementation.ir.txt similarity index 100% rename from compiler/testData/ir/irText/classes/delegatedImplementation.txt rename to compiler/testData/ir/irText/classes/delegatedImplementation.ir.txt diff --git a/compiler/testData/ir/irText/classes/delegatedImplementationOfJavaInterface.fir.txt b/compiler/testData/ir/irText/classes/delegatedImplementationOfJavaInterface.fir.ir.txt similarity index 100% rename from compiler/testData/ir/irText/classes/delegatedImplementationOfJavaInterface.fir.txt rename to compiler/testData/ir/irText/classes/delegatedImplementationOfJavaInterface.fir.ir.txt diff --git a/compiler/testData/ir/irText/classes/delegatedImplementationOfJavaInterface.fir.kt.txt b/compiler/testData/ir/irText/classes/delegatedImplementationOfJavaInterface.fir.kt.txt index 19a02b4c61b..0af46a7c1ba 100644 --- a/compiler/testData/ir/irText/classes/delegatedImplementationOfJavaInterface.fir.kt.txt +++ b/compiler/testData/ir/irText/classes/delegatedImplementationOfJavaInterface.fir.kt.txt @@ -37,4 +37,3 @@ class Test : J { private get } - diff --git a/compiler/testData/ir/irText/classes/delegatedImplementationOfJavaInterface.txt b/compiler/testData/ir/irText/classes/delegatedImplementationOfJavaInterface.ir.txt similarity index 100% rename from compiler/testData/ir/irText/classes/delegatedImplementationOfJavaInterface.txt rename to compiler/testData/ir/irText/classes/delegatedImplementationOfJavaInterface.ir.txt diff --git a/compiler/testData/ir/irText/classes/delegatedImplementationOfJavaInterface.kt.txt b/compiler/testData/ir/irText/classes/delegatedImplementationOfJavaInterface.kt.txt index 020745b2374..14304fec3fe 100644 --- a/compiler/testData/ir/irText/classes/delegatedImplementationOfJavaInterface.kt.txt +++ b/compiler/testData/ir/irText/classes/delegatedImplementationOfJavaInterface.kt.txt @@ -36,4 +36,3 @@ class Test : J { } } - diff --git a/compiler/testData/ir/irText/classes/delegatedImplementationWithExplicitOverride.fir.txt b/compiler/testData/ir/irText/classes/delegatedImplementationWithExplicitOverride.fir.ir.txt similarity index 100% rename from compiler/testData/ir/irText/classes/delegatedImplementationWithExplicitOverride.fir.txt rename to compiler/testData/ir/irText/classes/delegatedImplementationWithExplicitOverride.fir.ir.txt diff --git a/compiler/testData/ir/irText/classes/delegatedImplementationWithExplicitOverride.txt b/compiler/testData/ir/irText/classes/delegatedImplementationWithExplicitOverride.ir.txt similarity index 100% rename from compiler/testData/ir/irText/classes/delegatedImplementationWithExplicitOverride.txt rename to compiler/testData/ir/irText/classes/delegatedImplementationWithExplicitOverride.ir.txt diff --git a/compiler/testData/ir/irText/classes/delegatedImplementationWithExplicitOverride.kt.txt b/compiler/testData/ir/irText/classes/delegatedImplementationWithExplicitOverride.kt.txt index 97d4259efde..f5ab2ebfe2b 100644 --- a/compiler/testData/ir/irText/classes/delegatedImplementationWithExplicitOverride.kt.txt +++ b/compiler/testData/ir/irText/classes/delegatedImplementationWithExplicitOverride.kt.txt @@ -1,6 +1,6 @@ interface IFooBar { - abstract fun foo() - abstract fun bar() + abstract fun foo() + abstract fun bar() } @@ -35,4 +35,3 @@ class C : IFooBar { } } - diff --git a/compiler/testData/ir/irText/classes/delegatingConstructorCallToTypeAliasConstructor.fir.txt b/compiler/testData/ir/irText/classes/delegatingConstructorCallToTypeAliasConstructor.fir.ir.txt similarity index 100% rename from compiler/testData/ir/irText/classes/delegatingConstructorCallToTypeAliasConstructor.fir.txt rename to compiler/testData/ir/irText/classes/delegatingConstructorCallToTypeAliasConstructor.fir.ir.txt diff --git a/compiler/testData/ir/irText/classes/delegatingConstructorCallToTypeAliasConstructor.txt b/compiler/testData/ir/irText/classes/delegatingConstructorCallToTypeAliasConstructor.ir.txt similarity index 100% rename from compiler/testData/ir/irText/classes/delegatingConstructorCallToTypeAliasConstructor.txt rename to compiler/testData/ir/irText/classes/delegatingConstructorCallToTypeAliasConstructor.ir.txt diff --git a/compiler/testData/ir/irText/classes/delegatingConstructorCallToTypeAliasConstructor.kt.txt b/compiler/testData/ir/irText/classes/delegatingConstructorCallToTypeAliasConstructor.kt.txt index 84e7e981f0b..128caac0260 100644 --- a/compiler/testData/ir/irText/classes/delegatingConstructorCallToTypeAliasConstructor.kt.txt +++ b/compiler/testData/ir/irText/classes/delegatingConstructorCallToTypeAliasConstructor.kt.txt @@ -30,4 +30,3 @@ class C2 : Cell { } } - diff --git a/compiler/testData/ir/irText/classes/delegatingConstructorCallsInSecondaryConstructors.txt b/compiler/testData/ir/irText/classes/delegatingConstructorCallsInSecondaryConstructors.ir.txt similarity index 100% rename from compiler/testData/ir/irText/classes/delegatingConstructorCallsInSecondaryConstructors.txt rename to compiler/testData/ir/irText/classes/delegatingConstructorCallsInSecondaryConstructors.ir.txt diff --git a/compiler/testData/ir/irText/classes/delegatingConstructorCallsInSecondaryConstructors.kt.txt b/compiler/testData/ir/irText/classes/delegatingConstructorCallsInSecondaryConstructors.kt.txt index 76909b1c2f5..4aa34fe4a53 100644 --- a/compiler/testData/ir/irText/classes/delegatingConstructorCallsInSecondaryConstructors.kt.txt +++ b/compiler/testData/ir/irText/classes/delegatingConstructorCallsInSecondaryConstructors.kt.txt @@ -25,4 +25,3 @@ class Test : Base { } } - diff --git a/compiler/testData/ir/irText/classes/enum.fir.txt b/compiler/testData/ir/irText/classes/enum.fir.ir.txt similarity index 100% rename from compiler/testData/ir/irText/classes/enum.fir.txt rename to compiler/testData/ir/irText/classes/enum.fir.ir.txt diff --git a/compiler/testData/ir/irText/classes/enum.txt b/compiler/testData/ir/irText/classes/enum.ir.txt similarity index 100% rename from compiler/testData/ir/irText/classes/enum.txt rename to compiler/testData/ir/irText/classes/enum.ir.txt diff --git a/compiler/testData/ir/irText/classes/enum.kt.txt b/compiler/testData/ir/irText/classes/enum.kt.txt index f0eeba98d9f..b787204bd05 100644 --- a/compiler/testData/ir/irText/classes/enum.kt.txt +++ b/compiler/testData/ir/irText/classes/enum.kt.txt @@ -59,7 +59,7 @@ abstract enum class TestEnum3 : Enum { } - abstract fun foo() + abstract fun foo() fun values(): Array /* Synthetic body for ENUM_VALUES */ @@ -113,7 +113,7 @@ abstract enum class TestEnum4 : Enum { } - abstract fun foo() + abstract fun foo() fun values(): Array /* Synthetic body for ENUM_VALUES */ @@ -174,4 +174,3 @@ enum class TestEnum6 : Enum { fun valueOf(value: String): TestEnum6 /* Synthetic body for ENUM_VALUEOF */ } - diff --git a/compiler/testData/ir/irText/classes/enumClassModality.fir.txt b/compiler/testData/ir/irText/classes/enumClassModality.fir.ir.txt similarity index 100% rename from compiler/testData/ir/irText/classes/enumClassModality.fir.txt rename to compiler/testData/ir/irText/classes/enumClassModality.fir.ir.txt diff --git a/compiler/testData/ir/irText/classes/enumClassModality.txt b/compiler/testData/ir/irText/classes/enumClassModality.ir.txt similarity index 100% rename from compiler/testData/ir/irText/classes/enumClassModality.txt rename to compiler/testData/ir/irText/classes/enumClassModality.ir.txt diff --git a/compiler/testData/ir/irText/classes/enumClassModality.kt.txt b/compiler/testData/ir/irText/classes/enumClassModality.kt.txt index 6f2597bcd93..9e12e4da291 100644 --- a/compiler/testData/ir/irText/classes/enumClassModality.kt.txt +++ b/compiler/testData/ir/irText/classes/enumClassModality.kt.txt @@ -126,7 +126,7 @@ abstract enum class TestAbstractEnum1 : Enum { } - abstract fun foo() + abstract fun foo() fun values(): Array /* Synthetic body for ENUM_VALUES */ @@ -135,7 +135,7 @@ abstract enum class TestAbstractEnum1 : Enum { } interface IFoo { - abstract fun foo() + abstract fun foo() } @@ -164,4 +164,3 @@ abstract enum class TestAbstractEnum2 : Enum, IFoo { fun valueOf(value: String): TestAbstractEnum2 /* Synthetic body for ENUM_VALUEOF */ } - diff --git a/compiler/testData/ir/irText/classes/enumWithMultipleCtors.fir.txt b/compiler/testData/ir/irText/classes/enumWithMultipleCtors.fir.ir.txt similarity index 100% rename from compiler/testData/ir/irText/classes/enumWithMultipleCtors.fir.txt rename to compiler/testData/ir/irText/classes/enumWithMultipleCtors.fir.ir.txt diff --git a/compiler/testData/ir/irText/classes/enumWithMultipleCtors.txt b/compiler/testData/ir/irText/classes/enumWithMultipleCtors.ir.txt similarity index 100% rename from compiler/testData/ir/irText/classes/enumWithMultipleCtors.txt rename to compiler/testData/ir/irText/classes/enumWithMultipleCtors.ir.txt diff --git a/compiler/testData/ir/irText/classes/enumWithMultipleCtors.kt.txt b/compiler/testData/ir/irText/classes/enumWithMultipleCtors.kt.txt index 56aac42189a..2043a595047 100644 --- a/compiler/testData/ir/irText/classes/enumWithMultipleCtors.kt.txt +++ b/compiler/testData/ir/irText/classes/enumWithMultipleCtors.kt.txt @@ -58,4 +58,3 @@ open enum class A : Enum { fun valueOf(value: String): A /* Synthetic body for ENUM_VALUEOF */ } - diff --git a/compiler/testData/ir/irText/classes/enumWithSecondaryCtor.fir.txt b/compiler/testData/ir/irText/classes/enumWithSecondaryCtor.fir.ir.txt similarity index 100% rename from compiler/testData/ir/irText/classes/enumWithSecondaryCtor.fir.txt rename to compiler/testData/ir/irText/classes/enumWithSecondaryCtor.fir.ir.txt diff --git a/compiler/testData/ir/irText/classes/enumWithSecondaryCtor.txt b/compiler/testData/ir/irText/classes/enumWithSecondaryCtor.ir.txt similarity index 100% rename from compiler/testData/ir/irText/classes/enumWithSecondaryCtor.txt rename to compiler/testData/ir/irText/classes/enumWithSecondaryCtor.ir.txt diff --git a/compiler/testData/ir/irText/classes/enumWithSecondaryCtor.kt.txt b/compiler/testData/ir/irText/classes/enumWithSecondaryCtor.kt.txt index 0cece93f3bc..6df53812b47 100644 --- a/compiler/testData/ir/irText/classes/enumWithSecondaryCtor.kt.txt +++ b/compiler/testData/ir/irText/classes/enumWithSecondaryCtor.kt.txt @@ -89,11 +89,10 @@ abstract enum class Test2 : Enum { this/*Test2*/(x = 0) } - abstract fun foo() + abstract fun foo() fun values(): Array /* Synthetic body for ENUM_VALUES */ fun valueOf(value: String): Test2 /* Synthetic body for ENUM_VALUEOF */ } - diff --git a/compiler/testData/ir/irText/classes/fakeOverridesForJavaStaticMembers.fir.txt b/compiler/testData/ir/irText/classes/fakeOverridesForJavaStaticMembers.fir.ir.txt similarity index 100% rename from compiler/testData/ir/irText/classes/fakeOverridesForJavaStaticMembers.fir.txt rename to compiler/testData/ir/irText/classes/fakeOverridesForJavaStaticMembers.fir.ir.txt diff --git a/compiler/testData/ir/irText/classes/fakeOverridesForJavaStaticMembers.txt b/compiler/testData/ir/irText/classes/fakeOverridesForJavaStaticMembers.ir.txt similarity index 100% rename from compiler/testData/ir/irText/classes/fakeOverridesForJavaStaticMembers.txt rename to compiler/testData/ir/irText/classes/fakeOverridesForJavaStaticMembers.ir.txt diff --git a/compiler/testData/ir/irText/classes/fakeOverridesForJavaStaticMembers.kt.txt b/compiler/testData/ir/irText/classes/fakeOverridesForJavaStaticMembers.kt.txt index 4d90026fcf6..f4f44ae84e1 100644 --- a/compiler/testData/ir/irText/classes/fakeOverridesForJavaStaticMembers.kt.txt +++ b/compiler/testData/ir/irText/classes/fakeOverridesForJavaStaticMembers.kt.txt @@ -6,4 +6,3 @@ class Test : Base { } } - diff --git a/compiler/testData/ir/irText/classes/implicitNotNullOnDelegatedImplementation.fir.txt b/compiler/testData/ir/irText/classes/implicitNotNullOnDelegatedImplementation.fir.ir.txt similarity index 100% rename from compiler/testData/ir/irText/classes/implicitNotNullOnDelegatedImplementation.fir.txt rename to compiler/testData/ir/irText/classes/implicitNotNullOnDelegatedImplementation.fir.ir.txt diff --git a/compiler/testData/ir/irText/classes/implicitNotNullOnDelegatedImplementation.fir.kt.txt b/compiler/testData/ir/irText/classes/implicitNotNullOnDelegatedImplementation.fir.kt.txt index 485e89be08e..b077957d9bd 100644 --- a/compiler/testData/ir/irText/classes/implicitNotNullOnDelegatedImplementation.fir.kt.txt +++ b/compiler/testData/ir/irText/classes/implicitNotNullOnDelegatedImplementation.fir.kt.txt @@ -121,4 +121,3 @@ class TestK4 : IFoo { local /* final field */ val <$$delegate_0>: IFoo = K4() } - diff --git a/compiler/testData/ir/irText/classes/implicitNotNullOnDelegatedImplementation.txt b/compiler/testData/ir/irText/classes/implicitNotNullOnDelegatedImplementation.ir.txt similarity index 100% rename from compiler/testData/ir/irText/classes/implicitNotNullOnDelegatedImplementation.txt rename to compiler/testData/ir/irText/classes/implicitNotNullOnDelegatedImplementation.ir.txt diff --git a/compiler/testData/ir/irText/classes/implicitNotNullOnDelegatedImplementation.kt.txt b/compiler/testData/ir/irText/classes/implicitNotNullOnDelegatedImplementation.kt.txt index 0d4907bc0c2..7bc4f358109 100644 --- a/compiler/testData/ir/irText/classes/implicitNotNullOnDelegatedImplementation.kt.txt +++ b/compiler/testData/ir/irText/classes/implicitNotNullOnDelegatedImplementation.kt.txt @@ -1,5 +1,5 @@ interface IFoo { - abstract fun foo(): String + abstract fun foo(): String } @@ -116,4 +116,3 @@ class TestK4 : IFoo { } } - diff --git a/compiler/testData/ir/irText/classes/initBlock.txt b/compiler/testData/ir/irText/classes/initBlock.ir.txt similarity index 100% rename from compiler/testData/ir/irText/classes/initBlock.txt rename to compiler/testData/ir/irText/classes/initBlock.ir.txt diff --git a/compiler/testData/ir/irText/classes/initBlock.kt.txt b/compiler/testData/ir/irText/classes/initBlock.kt.txt index 7af4b2a85ee..2e1a89dafda 100644 --- a/compiler/testData/ir/irText/classes/initBlock.kt.txt +++ b/compiler/testData/ir/irText/classes/initBlock.kt.txt @@ -83,4 +83,3 @@ class Test5 { } } - diff --git a/compiler/testData/ir/irText/classes/initVal.txt b/compiler/testData/ir/irText/classes/initVal.ir.txt similarity index 100% rename from compiler/testData/ir/irText/classes/initVal.txt rename to compiler/testData/ir/irText/classes/initVal.ir.txt diff --git a/compiler/testData/ir/irText/classes/initVal.kt.txt b/compiler/testData/ir/irText/classes/initVal.kt.txt index b421bbf410b..52d57d4031d 100644 --- a/compiler/testData/ir/irText/classes/initVal.kt.txt +++ b/compiler/testData/ir/irText/classes/initVal.kt.txt @@ -39,4 +39,3 @@ class TestInitValInInitBlock { } } - diff --git a/compiler/testData/ir/irText/classes/initValInLambda.fir.txt b/compiler/testData/ir/irText/classes/initValInLambda.fir.ir.txt similarity index 100% rename from compiler/testData/ir/irText/classes/initValInLambda.fir.txt rename to compiler/testData/ir/irText/classes/initValInLambda.fir.ir.txt diff --git a/compiler/testData/ir/irText/classes/initValInLambda.txt b/compiler/testData/ir/irText/classes/initValInLambda.ir.txt similarity index 100% rename from compiler/testData/ir/irText/classes/initValInLambda.txt rename to compiler/testData/ir/irText/classes/initValInLambda.ir.txt diff --git a/compiler/testData/ir/irText/classes/initValInLambda.kt.txt b/compiler/testData/ir/irText/classes/initValInLambda.kt.txt index 3d4f99039ad..727822427ed 100644 --- a/compiler/testData/ir/irText/classes/initValInLambda.kt.txt +++ b/compiler/testData/ir/irText/classes/initValInLambda.kt.txt @@ -16,4 +16,3 @@ class TestInitValInLambdaCalledOnce { } } - diff --git a/compiler/testData/ir/irText/classes/initVar.txt b/compiler/testData/ir/irText/classes/initVar.ir.txt similarity index 100% rename from compiler/testData/ir/irText/classes/initVar.txt rename to compiler/testData/ir/irText/classes/initVar.ir.txt diff --git a/compiler/testData/ir/irText/classes/initVar.kt.txt b/compiler/testData/ir/irText/classes/initVar.kt.txt index 0dfe1c66952..9572f405988 100644 --- a/compiler/testData/ir/irText/classes/initVar.kt.txt +++ b/compiler/testData/ir/irText/classes/initVar.kt.txt @@ -93,4 +93,3 @@ class TestInitVarWithCustomSetterInCtor { } } - diff --git a/compiler/testData/ir/irText/classes/inlineClass.fir.txt b/compiler/testData/ir/irText/classes/inlineClass.fir.ir.txt similarity index 100% rename from compiler/testData/ir/irText/classes/inlineClass.fir.txt rename to compiler/testData/ir/irText/classes/inlineClass.fir.ir.txt diff --git a/compiler/testData/ir/irText/classes/inlineClass.txt b/compiler/testData/ir/irText/classes/inlineClass.ir.txt similarity index 100% rename from compiler/testData/ir/irText/classes/inlineClass.txt rename to compiler/testData/ir/irText/classes/inlineClass.ir.txt diff --git a/compiler/testData/ir/irText/classes/inlineClass.kt.txt b/compiler/testData/ir/irText/classes/inlineClass.kt.txt index 5139d28a36d..880670884af 100644 --- a/compiler/testData/ir/irText/classes/inlineClass.kt.txt +++ b/compiler/testData/ir/irText/classes/inlineClass.kt.txt @@ -29,4 +29,3 @@ inline class Test { } } - diff --git a/compiler/testData/ir/irText/classes/inlineClassSyntheticMethods.fir.txt b/compiler/testData/ir/irText/classes/inlineClassSyntheticMethods.fir.ir.txt similarity index 100% rename from compiler/testData/ir/irText/classes/inlineClassSyntheticMethods.fir.txt rename to compiler/testData/ir/irText/classes/inlineClassSyntheticMethods.fir.ir.txt diff --git a/compiler/testData/ir/irText/classes/inlineClassSyntheticMethods.txt b/compiler/testData/ir/irText/classes/inlineClassSyntheticMethods.ir.txt similarity index 100% rename from compiler/testData/ir/irText/classes/inlineClassSyntheticMethods.txt rename to compiler/testData/ir/irText/classes/inlineClassSyntheticMethods.ir.txt diff --git a/compiler/testData/ir/irText/classes/inlineClassSyntheticMethods.kt.txt b/compiler/testData/ir/irText/classes/inlineClassSyntheticMethods.kt.txt index 4977347848e..db3820d0130 100644 --- a/compiler/testData/ir/irText/classes/inlineClassSyntheticMethods.kt.txt +++ b/compiler/testData/ir/irText/classes/inlineClassSyntheticMethods.kt.txt @@ -58,4 +58,3 @@ fun box(): String { } return "OK" } - diff --git a/compiler/testData/ir/irText/classes/innerClass.fir.txt b/compiler/testData/ir/irText/classes/innerClass.fir.ir.txt similarity index 100% rename from compiler/testData/ir/irText/classes/innerClass.fir.txt rename to compiler/testData/ir/irText/classes/innerClass.fir.ir.txt diff --git a/compiler/testData/ir/irText/classes/innerClass.txt b/compiler/testData/ir/irText/classes/innerClass.ir.txt similarity index 100% rename from compiler/testData/ir/irText/classes/innerClass.txt rename to compiler/testData/ir/irText/classes/innerClass.ir.txt diff --git a/compiler/testData/ir/irText/classes/innerClass.kt.txt b/compiler/testData/ir/irText/classes/innerClass.kt.txt index 39793360801..70489fb8082 100644 --- a/compiler/testData/ir/irText/classes/innerClass.kt.txt +++ b/compiler/testData/ir/irText/classes/innerClass.kt.txt @@ -24,4 +24,3 @@ class Outer { } } - diff --git a/compiler/testData/ir/irText/classes/innerClassWithDelegatingConstructor.fir.txt b/compiler/testData/ir/irText/classes/innerClassWithDelegatingConstructor.fir.ir.txt similarity index 100% rename from compiler/testData/ir/irText/classes/innerClassWithDelegatingConstructor.fir.txt rename to compiler/testData/ir/irText/classes/innerClassWithDelegatingConstructor.fir.ir.txt diff --git a/compiler/testData/ir/irText/classes/innerClassWithDelegatingConstructor.txt b/compiler/testData/ir/irText/classes/innerClassWithDelegatingConstructor.ir.txt similarity index 100% rename from compiler/testData/ir/irText/classes/innerClassWithDelegatingConstructor.txt rename to compiler/testData/ir/irText/classes/innerClassWithDelegatingConstructor.ir.txt diff --git a/compiler/testData/ir/irText/classes/innerClassWithDelegatingConstructor.kt.txt b/compiler/testData/ir/irText/classes/innerClassWithDelegatingConstructor.kt.txt index 5075b627062..67d9bb6242f 100644 --- a/compiler/testData/ir/irText/classes/innerClassWithDelegatingConstructor.kt.txt +++ b/compiler/testData/ir/irText/classes/innerClassWithDelegatingConstructor.kt.txt @@ -23,4 +23,3 @@ class Outer { } } - diff --git a/compiler/testData/ir/irText/classes/kt19306.fir.txt b/compiler/testData/ir/irText/classes/kt19306.fir.ir.txt similarity index 100% rename from compiler/testData/ir/irText/classes/kt19306.fir.txt rename to compiler/testData/ir/irText/classes/kt19306.fir.ir.txt diff --git a/compiler/testData/ir/irText/classes/kt19306.txt b/compiler/testData/ir/irText/classes/kt19306.ir.txt similarity index 100% rename from compiler/testData/ir/irText/classes/kt19306.txt rename to compiler/testData/ir/irText/classes/kt19306.ir.txt diff --git a/compiler/testData/ir/irText/classes/kt31649.fir.txt b/compiler/testData/ir/irText/classes/kt31649.fir.ir.txt similarity index 100% rename from compiler/testData/ir/irText/classes/kt31649.fir.txt rename to compiler/testData/ir/irText/classes/kt31649.fir.ir.txt diff --git a/compiler/testData/ir/irText/classes/kt31649.txt b/compiler/testData/ir/irText/classes/kt31649.ir.txt similarity index 100% rename from compiler/testData/ir/irText/classes/kt31649.txt rename to compiler/testData/ir/irText/classes/kt31649.ir.txt diff --git a/compiler/testData/ir/irText/classes/kt31649.kt.txt b/compiler/testData/ir/irText/classes/kt31649.kt.txt index 29ce0bca107..41ff6794b37 100644 --- a/compiler/testData/ir/irText/classes/kt31649.kt.txt +++ b/compiler/testData/ir/irText/classes/kt31649.kt.txt @@ -78,4 +78,3 @@ inline class TestInline { } } - diff --git a/compiler/testData/ir/irText/classes/kt43217.fir.txt b/compiler/testData/ir/irText/classes/kt43217.fir.ir.txt similarity index 100% rename from compiler/testData/ir/irText/classes/kt43217.fir.txt rename to compiler/testData/ir/irText/classes/kt43217.fir.ir.txt diff --git a/compiler/testData/ir/irText/classes/kt43217.txt b/compiler/testData/ir/irText/classes/kt43217.ir.txt similarity index 100% rename from compiler/testData/ir/irText/classes/kt43217.txt rename to compiler/testData/ir/irText/classes/kt43217.ir.txt diff --git a/compiler/testData/ir/irText/classes/kt43217.kt.txt b/compiler/testData/ir/irText/classes/kt43217.kt.txt index 9c1b3171d8e..5d82e859d36 100644 --- a/compiler/testData/ir/irText/classes/kt43217.kt.txt +++ b/compiler/testData/ir/irText/classes/kt43217.kt.txt @@ -38,4 +38,3 @@ class C : DoubleExpression { } } - diff --git a/compiler/testData/ir/irText/classes/kt44013.fir.txt b/compiler/testData/ir/irText/classes/kt44013.fir.ir.txt similarity index 100% rename from compiler/testData/ir/irText/classes/kt44013.fir.txt rename to compiler/testData/ir/irText/classes/kt44013.fir.ir.txt diff --git a/compiler/testData/ir/irText/classes/kt44013.txt b/compiler/testData/ir/irText/classes/kt44013.ir.txt similarity index 100% rename from compiler/testData/ir/irText/classes/kt44013.txt rename to compiler/testData/ir/irText/classes/kt44013.ir.txt diff --git a/compiler/testData/ir/irText/classes/kt45853.fir.txt b/compiler/testData/ir/irText/classes/kt45853.fir.txt deleted file mode 100644 index c9cce8f7460..00000000000 --- a/compiler/testData/ir/irText/classes/kt45853.fir.txt +++ /dev/null @@ -1,57 +0,0 @@ -FILE fqName: fileName:/kt45853.kt - CLASS CLASS name:A modality:ABSTRACT visibility:public superTypes:[kotlin.Any] - $this: VALUE_PARAMETER INSTANCE_RECEIVER name: type:.A - CONSTRUCTOR visibility:public <> () returnType:.A [primary] - BLOCK_BODY - DELEGATING_CONSTRUCTOR_CALL 'public constructor () [primary] declared in kotlin.Any' - INSTANCE_INITIALIZER_CALL classDescriptor='CLASS CLASS name:A modality:ABSTRACT visibility:public superTypes:[kotlin.Any]' - PROPERTY name:a visibility:public modality:ABSTRACT [val] - FUN DEFAULT_PROPERTY_ACCESSOR name: visibility:public modality:ABSTRACT <> ($this:.A) returnType:.A? - correspondingProperty: PROPERTY name:a visibility:public modality:ABSTRACT [val] - $this: VALUE_PARAMETER name: type:.A - FUN FAKE_OVERRIDE name:equals visibility:public modality:OPEN <> ($this:kotlin.Any, other:kotlin.Any?) returnType:kotlin.Boolean [fake_override,operator] - overridden: - public open fun equals (other: kotlin.Any?): kotlin.Boolean [operator] declared in kotlin.Any - $this: VALUE_PARAMETER name: type:kotlin.Any - VALUE_PARAMETER name:other index:0 type:kotlin.Any? - FUN FAKE_OVERRIDE name:hashCode visibility:public modality:OPEN <> ($this:kotlin.Any) returnType:kotlin.Int [fake_override] - overridden: - public open fun hashCode (): kotlin.Int declared in kotlin.Any - $this: VALUE_PARAMETER name: type:kotlin.Any - FUN FAKE_OVERRIDE name:toString visibility:public modality:OPEN <> ($this:kotlin.Any) returnType:kotlin.String [fake_override] - overridden: - public open fun toString (): kotlin.String declared in kotlin.Any - $this: VALUE_PARAMETER name: type:kotlin.Any - CLASS CLASS name:B modality:FINAL visibility:public superTypes:[.AX] - $this: VALUE_PARAMETER INSTANCE_RECEIVER name: type:.B - CONSTRUCTOR visibility:public <> () returnType:.B [primary] - BLOCK_BODY - DELEGATING_CONSTRUCTOR_CALL 'public constructor () [primary] declared in .AX' - INSTANCE_INITIALIZER_CALL classDescriptor='CLASS CLASS name:B modality:FINAL visibility:public superTypes:[.AX]' - FUN name:getA visibility:public modality:FINAL <> ($this:.B) returnType:.X? - $this: VALUE_PARAMETER name: type:.B - BLOCK_BODY - RETURN type=kotlin.Nothing from='public final fun getA (): .X? declared in .B' - CALL 'public open fun (): @[FlexibleNullability] .AX? declared in .AX' superQualifier='CLASS IR_EXTERNAL_JAVA_DECLARATION_STUB CLASS name:AX modality:ABSTRACT visibility:public superTypes:[.A; .X]' type=@[FlexibleNullability] .AX? origin=GET_PROPERTY - $this: GET_VAR ': .B declared in .B.getA' type=.B origin=null - PROPERTY FAKE_OVERRIDE name:a visibility:public modality:OPEN [fake_override,val] - overridden: - public open a: @[FlexibleNullability] .AX? [val] - FUN FAKE_OVERRIDE name: visibility:public modality:OPEN <> ($this:.AX) returnType:@[FlexibleNullability] .AX? [fake_override] - correspondingProperty: PROPERTY FAKE_OVERRIDE name:a visibility:public modality:OPEN [fake_override,val] - overridden: - public open fun (): @[FlexibleNullability] .AX? declared in .AX - $this: VALUE_PARAMETER name: type:.AX - FUN FAKE_OVERRIDE name:equals visibility:public modality:OPEN <> ($this:kotlin.Any, other:kotlin.Any?) returnType:kotlin.Boolean [fake_override,operator] - overridden: - public open fun equals (other: kotlin.Any?): kotlin.Boolean [fake_override,operator] declared in .AX - $this: VALUE_PARAMETER name: type:kotlin.Any - VALUE_PARAMETER name:other index:0 type:kotlin.Any? - FUN FAKE_OVERRIDE name:hashCode visibility:public modality:OPEN <> ($this:kotlin.Any) returnType:kotlin.Int [fake_override] - overridden: - public open fun hashCode (): kotlin.Int [fake_override] declared in .AX - $this: VALUE_PARAMETER name: type:kotlin.Any - FUN FAKE_OVERRIDE name:toString visibility:public modality:OPEN <> ($this:kotlin.Any) returnType:kotlin.String [fake_override] - overridden: - public open fun toString (): kotlin.String [fake_override] declared in .AX - $this: VALUE_PARAMETER name: type:kotlin.Any diff --git a/compiler/testData/ir/irText/classes/kt45853.txt b/compiler/testData/ir/irText/classes/kt45853.ir.txt similarity index 100% rename from compiler/testData/ir/irText/classes/kt45853.txt rename to compiler/testData/ir/irText/classes/kt45853.ir.txt diff --git a/compiler/testData/ir/irText/classes/kt45853__AX.txt b/compiler/testData/ir/irText/classes/kt45853__AX.ir.txt similarity index 100% rename from compiler/testData/ir/irText/classes/kt45853__AX.txt rename to compiler/testData/ir/irText/classes/kt45853__AX.ir.txt diff --git a/compiler/testData/ir/irText/classes/kt45853__X.txt b/compiler/testData/ir/irText/classes/kt45853__X.ir.txt similarity index 100% rename from compiler/testData/ir/irText/classes/kt45853__X.txt rename to compiler/testData/ir/irText/classes/kt45853__X.ir.txt diff --git a/compiler/testData/ir/irText/classes/kt45934.fir.txt b/compiler/testData/ir/irText/classes/kt45934.fir.ir.txt similarity index 100% rename from compiler/testData/ir/irText/classes/kt45934.fir.txt rename to compiler/testData/ir/irText/classes/kt45934.fir.ir.txt diff --git a/compiler/testData/ir/irText/classes/kt45934.txt b/compiler/testData/ir/irText/classes/kt45934.ir.txt similarity index 100% rename from compiler/testData/ir/irText/classes/kt45934.txt rename to compiler/testData/ir/irText/classes/kt45934.ir.txt diff --git a/compiler/testData/ir/irText/classes/lambdaInDataClassDefaultParameter.fir.txt b/compiler/testData/ir/irText/classes/lambdaInDataClassDefaultParameter.fir.ir.txt similarity index 100% rename from compiler/testData/ir/irText/classes/lambdaInDataClassDefaultParameter.fir.txt rename to compiler/testData/ir/irText/classes/lambdaInDataClassDefaultParameter.fir.ir.txt diff --git a/compiler/testData/ir/irText/classes/lambdaInDataClassDefaultParameter.txt b/compiler/testData/ir/irText/classes/lambdaInDataClassDefaultParameter.ir.txt similarity index 100% rename from compiler/testData/ir/irText/classes/lambdaInDataClassDefaultParameter.txt rename to compiler/testData/ir/irText/classes/lambdaInDataClassDefaultParameter.ir.txt diff --git a/compiler/testData/ir/irText/classes/lambdaInDataClassDefaultParameter.kt.txt b/compiler/testData/ir/irText/classes/lambdaInDataClassDefaultParameter.kt.txt index 168e6397cee..b549cf932d6 100644 --- a/compiler/testData/ir/irText/classes/lambdaInDataClassDefaultParameter.kt.txt +++ b/compiler/testData/ir/irText/classes/lambdaInDataClassDefaultParameter.kt.txt @@ -97,4 +97,3 @@ data class B { } } - diff --git a/compiler/testData/ir/irText/classes/localClasses.txt b/compiler/testData/ir/irText/classes/localClasses.ir.txt similarity index 100% rename from compiler/testData/ir/irText/classes/localClasses.txt rename to compiler/testData/ir/irText/classes/localClasses.ir.txt diff --git a/compiler/testData/ir/irText/classes/localClasses.kt.txt b/compiler/testData/ir/irText/classes/localClasses.kt.txt index 9d182803012..0b9c1fe853d 100644 --- a/compiler/testData/ir/irText/classes/localClasses.kt.txt +++ b/compiler/testData/ir/irText/classes/localClasses.kt.txt @@ -13,4 +13,3 @@ fun outer() { LocalClass().foo() } - diff --git a/compiler/testData/ir/irText/classes/objectLiteralExpressions.fir.txt b/compiler/testData/ir/irText/classes/objectLiteralExpressions.fir.ir.txt similarity index 100% rename from compiler/testData/ir/irText/classes/objectLiteralExpressions.fir.txt rename to compiler/testData/ir/irText/classes/objectLiteralExpressions.fir.ir.txt diff --git a/compiler/testData/ir/irText/classes/objectLiteralExpressions.txt b/compiler/testData/ir/irText/classes/objectLiteralExpressions.ir.txt similarity index 100% rename from compiler/testData/ir/irText/classes/objectLiteralExpressions.txt rename to compiler/testData/ir/irText/classes/objectLiteralExpressions.ir.txt diff --git a/compiler/testData/ir/irText/classes/objectLiteralExpressions.kt.txt b/compiler/testData/ir/irText/classes/objectLiteralExpressions.kt.txt index cdc3e9b1841..2132d1a9043 100644 --- a/compiler/testData/ir/irText/classes/objectLiteralExpressions.kt.txt +++ b/compiler/testData/ir/irText/classes/objectLiteralExpressions.kt.txt @@ -1,5 +1,5 @@ interface IFoo { - abstract fun foo() + abstract fun foo() } @@ -92,4 +92,3 @@ fun Outer.test4(): Inner { () } } - diff --git a/compiler/testData/ir/irText/classes/objectWithInitializers.txt b/compiler/testData/ir/irText/classes/objectWithInitializers.ir.txt similarity index 100% rename from compiler/testData/ir/irText/classes/objectWithInitializers.txt rename to compiler/testData/ir/irText/classes/objectWithInitializers.ir.txt diff --git a/compiler/testData/ir/irText/classes/objectWithInitializers.kt.txt b/compiler/testData/ir/irText/classes/objectWithInitializers.kt.txt index b70e9b78e52..2ea6b369681 100644 --- a/compiler/testData/ir/irText/classes/objectWithInitializers.kt.txt +++ b/compiler/testData/ir/irText/classes/objectWithInitializers.kt.txt @@ -26,4 +26,3 @@ object Test : Base { } } - diff --git a/compiler/testData/ir/irText/classes/openDataClass.fir.txt b/compiler/testData/ir/irText/classes/openDataClass.fir.ir.txt similarity index 100% rename from compiler/testData/ir/irText/classes/openDataClass.fir.txt rename to compiler/testData/ir/irText/classes/openDataClass.fir.ir.txt diff --git a/compiler/testData/ir/irText/classes/openDataClass.txt b/compiler/testData/ir/irText/classes/openDataClass.ir.txt similarity index 100% rename from compiler/testData/ir/irText/classes/openDataClass.txt rename to compiler/testData/ir/irText/classes/openDataClass.ir.txt diff --git a/compiler/testData/ir/irText/classes/outerClassAccess.txt b/compiler/testData/ir/irText/classes/outerClassAccess.ir.txt similarity index 100% rename from compiler/testData/ir/irText/classes/outerClassAccess.txt rename to compiler/testData/ir/irText/classes/outerClassAccess.ir.txt diff --git a/compiler/testData/ir/irText/classes/outerClassAccess.kt.txt b/compiler/testData/ir/irText/classes/outerClassAccess.kt.txt index 3e14ce133d8..fbd78e96bb3 100644 --- a/compiler/testData/ir/irText/classes/outerClassAccess.kt.txt +++ b/compiler/testData/ir/irText/classes/outerClassAccess.kt.txt @@ -40,4 +40,3 @@ class Outer { } } - diff --git a/compiler/testData/ir/irText/classes/primaryConstructor.txt b/compiler/testData/ir/irText/classes/primaryConstructor.ir.txt similarity index 100% rename from compiler/testData/ir/irText/classes/primaryConstructor.txt rename to compiler/testData/ir/irText/classes/primaryConstructor.ir.txt diff --git a/compiler/testData/ir/irText/classes/primaryConstructor.kt.txt b/compiler/testData/ir/irText/classes/primaryConstructor.kt.txt index 2e4cfbda380..f425e7236fa 100644 --- a/compiler/testData/ir/irText/classes/primaryConstructor.kt.txt +++ b/compiler/testData/ir/irText/classes/primaryConstructor.kt.txt @@ -51,4 +51,3 @@ class Test3 { } } - diff --git a/compiler/testData/ir/irText/classes/primaryConstructorWithSuperConstructorCall.txt b/compiler/testData/ir/irText/classes/primaryConstructorWithSuperConstructorCall.ir.txt similarity index 100% rename from compiler/testData/ir/irText/classes/primaryConstructorWithSuperConstructorCall.txt rename to compiler/testData/ir/irText/classes/primaryConstructorWithSuperConstructorCall.ir.txt diff --git a/compiler/testData/ir/irText/classes/primaryConstructorWithSuperConstructorCall.kt.txt b/compiler/testData/ir/irText/classes/primaryConstructorWithSuperConstructorCall.kt.txt index 52ff9edb877..ad72db20377 100644 --- a/compiler/testData/ir/irText/classes/primaryConstructorWithSuperConstructorCall.kt.txt +++ b/compiler/testData/ir/irText/classes/primaryConstructorWithSuperConstructorCall.kt.txt @@ -45,4 +45,3 @@ class TestWithDelegatingConstructor : Base { } } - diff --git a/compiler/testData/ir/irText/classes/qualifiedSuperCalls.fir.txt b/compiler/testData/ir/irText/classes/qualifiedSuperCalls.fir.ir.txt similarity index 100% rename from compiler/testData/ir/irText/classes/qualifiedSuperCalls.fir.txt rename to compiler/testData/ir/irText/classes/qualifiedSuperCalls.fir.ir.txt diff --git a/compiler/testData/ir/irText/classes/qualifiedSuperCalls.txt b/compiler/testData/ir/irText/classes/qualifiedSuperCalls.ir.txt similarity index 100% rename from compiler/testData/ir/irText/classes/qualifiedSuperCalls.txt rename to compiler/testData/ir/irText/classes/qualifiedSuperCalls.ir.txt diff --git a/compiler/testData/ir/irText/classes/qualifiedSuperCalls.kt.txt b/compiler/testData/ir/irText/classes/qualifiedSuperCalls.kt.txt index 6f9d3519e5b..b6675975ff3 100644 --- a/compiler/testData/ir/irText/classes/qualifiedSuperCalls.kt.txt +++ b/compiler/testData/ir/irText/classes/qualifiedSuperCalls.kt.txt @@ -38,4 +38,3 @@ class CBoth : ILeft, IRight { } } - diff --git a/compiler/testData/ir/irText/classes/sealedClasses.txt b/compiler/testData/ir/irText/classes/sealedClasses.ir.txt similarity index 100% rename from compiler/testData/ir/irText/classes/sealedClasses.txt rename to compiler/testData/ir/irText/classes/sealedClasses.ir.txt diff --git a/compiler/testData/ir/irText/classes/sealedClasses.kt.txt b/compiler/testData/ir/irText/classes/sealedClasses.kt.txt index a902da26199..4bb99510fdf 100644 --- a/compiler/testData/ir/irText/classes/sealedClasses.kt.txt +++ b/compiler/testData/ir/irText/classes/sealedClasses.kt.txt @@ -45,4 +45,3 @@ sealed class Expr { } } - diff --git a/compiler/testData/ir/irText/classes/secondaryConstructorWithInitializersFromClassBody.txt b/compiler/testData/ir/irText/classes/secondaryConstructorWithInitializersFromClassBody.ir.txt similarity index 100% rename from compiler/testData/ir/irText/classes/secondaryConstructorWithInitializersFromClassBody.txt rename to compiler/testData/ir/irText/classes/secondaryConstructorWithInitializersFromClassBody.ir.txt diff --git a/compiler/testData/ir/irText/classes/secondaryConstructorWithInitializersFromClassBody.kt.txt b/compiler/testData/ir/irText/classes/secondaryConstructorWithInitializersFromClassBody.kt.txt index 48bdc9f3ebb..997168e114f 100644 --- a/compiler/testData/ir/irText/classes/secondaryConstructorWithInitializersFromClassBody.kt.txt +++ b/compiler/testData/ir/irText/classes/secondaryConstructorWithInitializersFromClassBody.kt.txt @@ -45,4 +45,3 @@ class TestInitBlock : Base { } } - diff --git a/compiler/testData/ir/irText/classes/secondaryConstructors.txt b/compiler/testData/ir/irText/classes/secondaryConstructors.ir.txt similarity index 100% rename from compiler/testData/ir/irText/classes/secondaryConstructors.txt rename to compiler/testData/ir/irText/classes/secondaryConstructors.ir.txt diff --git a/compiler/testData/ir/irText/classes/secondaryConstructors.kt.txt b/compiler/testData/ir/irText/classes/secondaryConstructors.kt.txt index 84a77059e81..aad878eb351 100644 --- a/compiler/testData/ir/irText/classes/secondaryConstructors.kt.txt +++ b/compiler/testData/ir/irText/classes/secondaryConstructors.kt.txt @@ -10,4 +10,3 @@ class C { } } - diff --git a/compiler/testData/ir/irText/classes/superCalls.fir.txt b/compiler/testData/ir/irText/classes/superCalls.fir.ir.txt similarity index 100% rename from compiler/testData/ir/irText/classes/superCalls.fir.txt rename to compiler/testData/ir/irText/classes/superCalls.fir.ir.txt diff --git a/compiler/testData/ir/irText/classes/superCalls.txt b/compiler/testData/ir/irText/classes/superCalls.ir.txt similarity index 100% rename from compiler/testData/ir/irText/classes/superCalls.txt rename to compiler/testData/ir/irText/classes/superCalls.ir.txt diff --git a/compiler/testData/ir/irText/classes/superCalls.kt.txt b/compiler/testData/ir/irText/classes/superCalls.kt.txt index 687a71a5e3c..abea417af69 100644 --- a/compiler/testData/ir/irText/classes/superCalls.kt.txt +++ b/compiler/testData/ir/irText/classes/superCalls.kt.txt @@ -35,4 +35,3 @@ class Derived : Base { } } - diff --git a/compiler/testData/ir/irText/classes/superCallsComposed.fir.txt b/compiler/testData/ir/irText/classes/superCallsComposed.fir.ir.txt similarity index 100% rename from compiler/testData/ir/irText/classes/superCallsComposed.fir.txt rename to compiler/testData/ir/irText/classes/superCallsComposed.fir.ir.txt diff --git a/compiler/testData/ir/irText/classes/superCallsComposed.txt b/compiler/testData/ir/irText/classes/superCallsComposed.ir.txt similarity index 100% rename from compiler/testData/ir/irText/classes/superCallsComposed.txt rename to compiler/testData/ir/irText/classes/superCallsComposed.ir.txt diff --git a/compiler/testData/ir/irText/classes/superCallsComposed.kt.txt b/compiler/testData/ir/irText/classes/superCallsComposed.kt.txt index bd02444c9cb..6eb02e0dfe5 100644 --- a/compiler/testData/ir/irText/classes/superCallsComposed.kt.txt +++ b/compiler/testData/ir/irText/classes/superCallsComposed.kt.txt @@ -15,7 +15,7 @@ open class Base { } interface BaseI { - abstract fun foo() + abstract fun foo() abstract val bar: String abstract get @@ -38,4 +38,3 @@ class Derived : Base, BaseI { } } - diff --git a/compiler/testData/ir/irText/declarations/annotations/annotationOnClassWithInitializer.txt b/compiler/testData/ir/irText/declarations/annotations/annotationOnClassWithInitializer.ir.txt similarity index 100% rename from compiler/testData/ir/irText/declarations/annotations/annotationOnClassWithInitializer.txt rename to compiler/testData/ir/irText/declarations/annotations/annotationOnClassWithInitializer.ir.txt diff --git a/compiler/testData/ir/irText/declarations/annotations/annotationsInAnnotationArguments.txt b/compiler/testData/ir/irText/declarations/annotations/annotationsInAnnotationArguments.ir.txt similarity index 100% rename from compiler/testData/ir/irText/declarations/annotations/annotationsInAnnotationArguments.txt rename to compiler/testData/ir/irText/declarations/annotations/annotationsInAnnotationArguments.ir.txt diff --git a/compiler/testData/ir/irText/declarations/annotations/annotationsOnDelegatedMembers.fir.txt b/compiler/testData/ir/irText/declarations/annotations/annotationsOnDelegatedMembers.fir.ir.txt similarity index 100% rename from compiler/testData/ir/irText/declarations/annotations/annotationsOnDelegatedMembers.fir.txt rename to compiler/testData/ir/irText/declarations/annotations/annotationsOnDelegatedMembers.fir.ir.txt diff --git a/compiler/testData/ir/irText/declarations/annotations/annotationsOnDelegatedMembers.txt b/compiler/testData/ir/irText/declarations/annotations/annotationsOnDelegatedMembers.ir.txt similarity index 100% rename from compiler/testData/ir/irText/declarations/annotations/annotationsOnDelegatedMembers.txt rename to compiler/testData/ir/irText/declarations/annotations/annotationsOnDelegatedMembers.ir.txt diff --git a/compiler/testData/ir/irText/declarations/annotations/annotationsWithDefaultParameterValues.txt b/compiler/testData/ir/irText/declarations/annotations/annotationsWithDefaultParameterValues.ir.txt similarity index 100% rename from compiler/testData/ir/irText/declarations/annotations/annotationsWithDefaultParameterValues.txt rename to compiler/testData/ir/irText/declarations/annotations/annotationsWithDefaultParameterValues.ir.txt diff --git a/compiler/testData/ir/irText/declarations/annotations/annotationsWithVarargParameters.txt b/compiler/testData/ir/irText/declarations/annotations/annotationsWithVarargParameters.ir.txt similarity index 100% rename from compiler/testData/ir/irText/declarations/annotations/annotationsWithVarargParameters.txt rename to compiler/testData/ir/irText/declarations/annotations/annotationsWithVarargParameters.ir.txt diff --git a/compiler/testData/ir/irText/declarations/annotations/arrayInAnnotationArguments.txt b/compiler/testData/ir/irText/declarations/annotations/arrayInAnnotationArguments.ir.txt similarity index 100% rename from compiler/testData/ir/irText/declarations/annotations/arrayInAnnotationArguments.txt rename to compiler/testData/ir/irText/declarations/annotations/arrayInAnnotationArguments.ir.txt diff --git a/compiler/testData/ir/irText/declarations/annotations/classLiteralInAnnotation.txt b/compiler/testData/ir/irText/declarations/annotations/classLiteralInAnnotation.ir.txt similarity index 100% rename from compiler/testData/ir/irText/declarations/annotations/classLiteralInAnnotation.txt rename to compiler/testData/ir/irText/declarations/annotations/classLiteralInAnnotation.ir.txt diff --git a/compiler/testData/ir/irText/declarations/annotations/classesWithAnnotations.fir.txt b/compiler/testData/ir/irText/declarations/annotations/classesWithAnnotations.fir.ir.txt similarity index 100% rename from compiler/testData/ir/irText/declarations/annotations/classesWithAnnotations.fir.txt rename to compiler/testData/ir/irText/declarations/annotations/classesWithAnnotations.fir.ir.txt diff --git a/compiler/testData/ir/irText/declarations/annotations/classesWithAnnotations.txt b/compiler/testData/ir/irText/declarations/annotations/classesWithAnnotations.ir.txt similarity index 100% rename from compiler/testData/ir/irText/declarations/annotations/classesWithAnnotations.txt rename to compiler/testData/ir/irText/declarations/annotations/classesWithAnnotations.ir.txt diff --git a/compiler/testData/ir/irText/declarations/annotations/constExpressionsInAnnotationArguments.txt b/compiler/testData/ir/irText/declarations/annotations/constExpressionsInAnnotationArguments.ir.txt similarity index 100% rename from compiler/testData/ir/irText/declarations/annotations/constExpressionsInAnnotationArguments.txt rename to compiler/testData/ir/irText/declarations/annotations/constExpressionsInAnnotationArguments.ir.txt diff --git a/compiler/testData/ir/irText/declarations/annotations/constructorsWithAnnotations.txt b/compiler/testData/ir/irText/declarations/annotations/constructorsWithAnnotations.ir.txt similarity index 100% rename from compiler/testData/ir/irText/declarations/annotations/constructorsWithAnnotations.txt rename to compiler/testData/ir/irText/declarations/annotations/constructorsWithAnnotations.ir.txt diff --git a/compiler/testData/ir/irText/declarations/annotations/delegateFieldWithAnnotations.txt b/compiler/testData/ir/irText/declarations/annotations/delegateFieldWithAnnotations.ir.txt similarity index 100% rename from compiler/testData/ir/irText/declarations/annotations/delegateFieldWithAnnotations.txt rename to compiler/testData/ir/irText/declarations/annotations/delegateFieldWithAnnotations.ir.txt diff --git a/compiler/testData/ir/irText/declarations/annotations/delegatedPropertyAccessorsWithAnnotations.fir.txt b/compiler/testData/ir/irText/declarations/annotations/delegatedPropertyAccessorsWithAnnotations.fir.ir.txt similarity index 100% rename from compiler/testData/ir/irText/declarations/annotations/delegatedPropertyAccessorsWithAnnotations.fir.txt rename to compiler/testData/ir/irText/declarations/annotations/delegatedPropertyAccessorsWithAnnotations.fir.ir.txt diff --git a/compiler/testData/ir/irText/declarations/annotations/delegatedPropertyAccessorsWithAnnotations.txt b/compiler/testData/ir/irText/declarations/annotations/delegatedPropertyAccessorsWithAnnotations.ir.txt similarity index 100% rename from compiler/testData/ir/irText/declarations/annotations/delegatedPropertyAccessorsWithAnnotations.txt rename to compiler/testData/ir/irText/declarations/annotations/delegatedPropertyAccessorsWithAnnotations.ir.txt diff --git a/compiler/testData/ir/irText/declarations/annotations/enumEntriesWithAnnotations.fir.txt b/compiler/testData/ir/irText/declarations/annotations/enumEntriesWithAnnotations.fir.ir.txt similarity index 100% rename from compiler/testData/ir/irText/declarations/annotations/enumEntriesWithAnnotations.fir.txt rename to compiler/testData/ir/irText/declarations/annotations/enumEntriesWithAnnotations.fir.ir.txt diff --git a/compiler/testData/ir/irText/declarations/annotations/enumEntriesWithAnnotations.txt b/compiler/testData/ir/irText/declarations/annotations/enumEntriesWithAnnotations.ir.txt similarity index 100% rename from compiler/testData/ir/irText/declarations/annotations/enumEntriesWithAnnotations.txt rename to compiler/testData/ir/irText/declarations/annotations/enumEntriesWithAnnotations.ir.txt diff --git a/compiler/testData/ir/irText/declarations/annotations/enumsInAnnotationArguments.fir.txt b/compiler/testData/ir/irText/declarations/annotations/enumsInAnnotationArguments.fir.ir.txt similarity index 100% rename from compiler/testData/ir/irText/declarations/annotations/enumsInAnnotationArguments.fir.txt rename to compiler/testData/ir/irText/declarations/annotations/enumsInAnnotationArguments.fir.ir.txt diff --git a/compiler/testData/ir/irText/declarations/annotations/enumsInAnnotationArguments.txt b/compiler/testData/ir/irText/declarations/annotations/enumsInAnnotationArguments.ir.txt similarity index 100% rename from compiler/testData/ir/irText/declarations/annotations/enumsInAnnotationArguments.txt rename to compiler/testData/ir/irText/declarations/annotations/enumsInAnnotationArguments.ir.txt diff --git a/compiler/testData/ir/irText/declarations/annotations/fieldsWithAnnotations.txt b/compiler/testData/ir/irText/declarations/annotations/fieldsWithAnnotations.ir.txt similarity index 100% rename from compiler/testData/ir/irText/declarations/annotations/fieldsWithAnnotations.txt rename to compiler/testData/ir/irText/declarations/annotations/fieldsWithAnnotations.ir.txt diff --git a/compiler/testData/ir/irText/declarations/annotations/fileAnnotations.txt b/compiler/testData/ir/irText/declarations/annotations/fileAnnotations.ir.txt similarity index 100% rename from compiler/testData/ir/irText/declarations/annotations/fileAnnotations.txt rename to compiler/testData/ir/irText/declarations/annotations/fileAnnotations.ir.txt diff --git a/compiler/testData/ir/irText/declarations/annotations/functionsWithAnnotations.txt b/compiler/testData/ir/irText/declarations/annotations/functionsWithAnnotations.ir.txt similarity index 100% rename from compiler/testData/ir/irText/declarations/annotations/functionsWithAnnotations.txt rename to compiler/testData/ir/irText/declarations/annotations/functionsWithAnnotations.ir.txt diff --git a/compiler/testData/ir/irText/declarations/annotations/genericAnnotationClasses.fir.kt.txt b/compiler/testData/ir/irText/declarations/annotations/genericAnnotationClasses.fir.kt.txt deleted file mode 100644 index d7df752b1d4..00000000000 --- a/compiler/testData/ir/irText/declarations/annotations/genericAnnotationClasses.fir.kt.txt +++ /dev/null @@ -1,68 +0,0 @@ -package ann - -annotation class Test1 : Annotation { - constructor(x: Int) /* primary */ - val x: Int - field = x - get - -} - -annotation class Test2 : Annotation { - constructor(x: Int = 0) /* primary */ - val x: Int - field = x - get - -} - -interface I { - -} - -annotation class Test3> : Annotation { - constructor(x: Test1>) /* primary */ - val x: Test1> - field = x - get - -} - -class C : I { - constructor() /* primary */ { - super/*Any*/() - /* () */ - - } - -} - -annotation class Test4 : Annotation { - constructor(x: Test3>) /* primary */ - val x: Test3> - field = x - get - -} - -class ARG { - constructor() /* primary */ { - super/*Any*/() - /* () */ - - } - -} - -@Test1(x = 42) -@Test2(x = 38) -@Test3(x = Test1>>(x = 39)) -@Test4(x = Test3>(x = Test1>>(x = 40))) -class CC { - constructor() /* primary */ { - super/*Any*/() - /* () */ - - } - -} diff --git a/compiler/testData/ir/irText/declarations/annotations/genericAnnotationClasses.fir.txt b/compiler/testData/ir/irText/declarations/annotations/genericAnnotationClasses.fir.txt deleted file mode 100644 index 15d2b00bc01..00000000000 --- a/compiler/testData/ir/irText/declarations/annotations/genericAnnotationClasses.fir.txt +++ /dev/null @@ -1,199 +0,0 @@ -FILE fqName:ann fileName:/genericAnnotationClasses.kt - CLASS ANNOTATION_CLASS name:Test1 modality:FINAL visibility:public superTypes:[kotlin.Annotation] - $this: VALUE_PARAMETER INSTANCE_RECEIVER name: type:ann.Test1 - TYPE_PARAMETER name:T index:0 variance: superTypes:[kotlin.Any?] - CONSTRUCTOR visibility:public <> (x:kotlin.Int) returnType:ann.Test1 [primary] - VALUE_PARAMETER name:x index:0 type:kotlin.Int - PROPERTY name:x visibility:public modality:FINAL [val] - FIELD PROPERTY_BACKING_FIELD name:x type:kotlin.Int visibility:private [final] - EXPRESSION_BODY - GET_VAR 'x: kotlin.Int declared in ann.Test1.' type=kotlin.Int origin=INITIALIZE_PROPERTY_FROM_PARAMETER - FUN DEFAULT_PROPERTY_ACCESSOR name: visibility:public modality:FINAL <> ($this:ann.Test1) returnType:kotlin.Int - correspondingProperty: PROPERTY name:x visibility:public modality:FINAL [val] - $this: VALUE_PARAMETER name: type:ann.Test1 - BLOCK_BODY - RETURN type=kotlin.Nothing from='public final fun (): kotlin.Int declared in ann.Test1' - GET_FIELD 'FIELD PROPERTY_BACKING_FIELD name:x type:kotlin.Int visibility:private [final]' type=kotlin.Int origin=null - receiver: GET_VAR ': ann.Test1 declared in ann.Test1.' type=ann.Test1 origin=null - FUN FAKE_OVERRIDE name:equals visibility:public modality:OPEN <> ($this:kotlin.Any, other:kotlin.Any?) returnType:kotlin.Boolean [fake_override,operator] - overridden: - public open fun equals (other: kotlin.Any?): kotlin.Boolean [fake_override,operator] declared in kotlin.Annotation - $this: VALUE_PARAMETER name: type:kotlin.Any - VALUE_PARAMETER name:other index:0 type:kotlin.Any? - FUN FAKE_OVERRIDE name:hashCode visibility:public modality:OPEN <> ($this:kotlin.Any) returnType:kotlin.Int [fake_override] - overridden: - public open fun hashCode (): kotlin.Int [fake_override] declared in kotlin.Annotation - $this: VALUE_PARAMETER name: type:kotlin.Any - FUN FAKE_OVERRIDE name:toString visibility:public modality:OPEN <> ($this:kotlin.Any) returnType:kotlin.String [fake_override] - overridden: - public open fun toString (): kotlin.String [fake_override] declared in kotlin.Annotation - $this: VALUE_PARAMETER name: type:kotlin.Any - CLASS ANNOTATION_CLASS name:Test2 modality:FINAL visibility:public superTypes:[kotlin.Annotation] - $this: VALUE_PARAMETER INSTANCE_RECEIVER name: type:ann.Test2 - TYPE_PARAMETER name:T1 index:0 variance: superTypes:[kotlin.Any] - TYPE_PARAMETER name:T2 index:1 variance: superTypes:[kotlin.Any?] - CONSTRUCTOR visibility:public <> (x:kotlin.Int) returnType:ann.Test2 [primary] - VALUE_PARAMETER name:x index:0 type:kotlin.Int - EXPRESSION_BODY - CONST Int type=kotlin.Int value=0 - PROPERTY name:x visibility:public modality:FINAL [val] - FIELD PROPERTY_BACKING_FIELD name:x type:kotlin.Int visibility:private [final] - EXPRESSION_BODY - GET_VAR 'x: kotlin.Int declared in ann.Test2.' type=kotlin.Int origin=INITIALIZE_PROPERTY_FROM_PARAMETER - FUN DEFAULT_PROPERTY_ACCESSOR name: visibility:public modality:FINAL <> ($this:ann.Test2) returnType:kotlin.Int - correspondingProperty: PROPERTY name:x visibility:public modality:FINAL [val] - $this: VALUE_PARAMETER name: type:ann.Test2 - BLOCK_BODY - RETURN type=kotlin.Nothing from='public final fun (): kotlin.Int declared in ann.Test2' - GET_FIELD 'FIELD PROPERTY_BACKING_FIELD name:x type:kotlin.Int visibility:private [final]' type=kotlin.Int origin=null - receiver: GET_VAR ': ann.Test2 declared in ann.Test2.' type=ann.Test2 origin=null - FUN FAKE_OVERRIDE name:equals visibility:public modality:OPEN <> ($this:kotlin.Any, other:kotlin.Any?) returnType:kotlin.Boolean [fake_override,operator] - overridden: - public open fun equals (other: kotlin.Any?): kotlin.Boolean [fake_override,operator] declared in kotlin.Annotation - $this: VALUE_PARAMETER name: type:kotlin.Any - VALUE_PARAMETER name:other index:0 type:kotlin.Any? - FUN FAKE_OVERRIDE name:hashCode visibility:public modality:OPEN <> ($this:kotlin.Any) returnType:kotlin.Int [fake_override] - overridden: - public open fun hashCode (): kotlin.Int [fake_override] declared in kotlin.Annotation - $this: VALUE_PARAMETER name: type:kotlin.Any - FUN FAKE_OVERRIDE name:toString visibility:public modality:OPEN <> ($this:kotlin.Any) returnType:kotlin.String [fake_override] - overridden: - public open fun toString (): kotlin.String [fake_override] declared in kotlin.Annotation - $this: VALUE_PARAMETER name: type:kotlin.Any - CLASS INTERFACE name:I modality:ABSTRACT visibility:public superTypes:[kotlin.Any] - $this: VALUE_PARAMETER INSTANCE_RECEIVER name: type:ann.I - TYPE_PARAMETER name:T index:0 variance: superTypes:[kotlin.Any?] - FUN FAKE_OVERRIDE name:equals visibility:public modality:OPEN <> ($this:kotlin.Any, other:kotlin.Any?) returnType:kotlin.Boolean [fake_override,operator] - overridden: - public open fun equals (other: kotlin.Any?): kotlin.Boolean [operator] declared in kotlin.Any - $this: VALUE_PARAMETER name: type:kotlin.Any - VALUE_PARAMETER name:other index:0 type:kotlin.Any? - FUN FAKE_OVERRIDE name:hashCode visibility:public modality:OPEN <> ($this:kotlin.Any) returnType:kotlin.Int [fake_override] - overridden: - public open fun hashCode (): kotlin.Int declared in kotlin.Any - $this: VALUE_PARAMETER name: type:kotlin.Any - FUN FAKE_OVERRIDE name:toString visibility:public modality:OPEN <> ($this:kotlin.Any) returnType:kotlin.String [fake_override] - overridden: - public open fun toString (): kotlin.String declared in kotlin.Any - $this: VALUE_PARAMETER name: type:kotlin.Any - CLASS ANNOTATION_CLASS name:Test3 modality:FINAL visibility:public superTypes:[kotlin.Annotation] - $this: VALUE_PARAMETER INSTANCE_RECEIVER name: type:ann.Test3 - TYPE_PARAMETER name:T1 index:0 variance: superTypes:[kotlin.Any?] - TYPE_PARAMETER name:T2 index:1 variance: superTypes:[ann.I] - CONSTRUCTOR visibility:public <> (x:ann.Test1>) returnType:ann.Test3 [primary] - VALUE_PARAMETER name:x index:0 type:ann.Test1> - PROPERTY name:x visibility:public modality:FINAL [val] - FIELD PROPERTY_BACKING_FIELD name:x type:ann.Test1> visibility:private [final] - EXPRESSION_BODY - GET_VAR 'x: ann.Test1> declared in ann.Test3.' type=ann.Test1> origin=INITIALIZE_PROPERTY_FROM_PARAMETER - FUN DEFAULT_PROPERTY_ACCESSOR name: visibility:public modality:FINAL <> ($this:ann.Test3) returnType:ann.Test1> - correspondingProperty: PROPERTY name:x visibility:public modality:FINAL [val] - $this: VALUE_PARAMETER name: type:ann.Test3 - BLOCK_BODY - RETURN type=kotlin.Nothing from='public final fun (): ann.Test1> declared in ann.Test3' - GET_FIELD 'FIELD PROPERTY_BACKING_FIELD name:x type:ann.Test1> visibility:private [final]' type=ann.Test1> origin=null - receiver: GET_VAR ': ann.Test3 declared in ann.Test3.' type=ann.Test3 origin=null - FUN FAKE_OVERRIDE name:equals visibility:public modality:OPEN <> ($this:kotlin.Any, other:kotlin.Any?) returnType:kotlin.Boolean [fake_override,operator] - overridden: - public open fun equals (other: kotlin.Any?): kotlin.Boolean [fake_override,operator] declared in kotlin.Annotation - $this: VALUE_PARAMETER name: type:kotlin.Any - VALUE_PARAMETER name:other index:0 type:kotlin.Any? - FUN FAKE_OVERRIDE name:hashCode visibility:public modality:OPEN <> ($this:kotlin.Any) returnType:kotlin.Int [fake_override] - overridden: - public open fun hashCode (): kotlin.Int [fake_override] declared in kotlin.Annotation - $this: VALUE_PARAMETER name: type:kotlin.Any - FUN FAKE_OVERRIDE name:toString visibility:public modality:OPEN <> ($this:kotlin.Any) returnType:kotlin.String [fake_override] - overridden: - public open fun toString (): kotlin.String [fake_override] declared in kotlin.Annotation - $this: VALUE_PARAMETER name: type:kotlin.Any - CLASS CLASS name:C modality:FINAL visibility:public superTypes:[ann.I] - $this: VALUE_PARAMETER INSTANCE_RECEIVER name: type:ann.C - TYPE_PARAMETER name:T index:0 variance: superTypes:[kotlin.Any?] - CONSTRUCTOR visibility:public <> () returnType:ann.C [primary] - BLOCK_BODY - DELEGATING_CONSTRUCTOR_CALL 'public constructor () [primary] declared in kotlin.Any' - INSTANCE_INITIALIZER_CALL classDescriptor='CLASS CLASS name:C modality:FINAL visibility:public superTypes:[ann.I]' - FUN FAKE_OVERRIDE name:equals visibility:public modality:OPEN <> ($this:kotlin.Any, other:kotlin.Any?) returnType:kotlin.Boolean [fake_override,operator] - overridden: - public open fun equals (other: kotlin.Any?): kotlin.Boolean [fake_override,operator] declared in ann.I - $this: VALUE_PARAMETER name: type:kotlin.Any - VALUE_PARAMETER name:other index:0 type:kotlin.Any? - FUN FAKE_OVERRIDE name:hashCode visibility:public modality:OPEN <> ($this:kotlin.Any) returnType:kotlin.Int [fake_override] - overridden: - public open fun hashCode (): kotlin.Int [fake_override] declared in ann.I - $this: VALUE_PARAMETER name: type:kotlin.Any - FUN FAKE_OVERRIDE name:toString visibility:public modality:OPEN <> ($this:kotlin.Any) returnType:kotlin.String [fake_override] - overridden: - public open fun toString (): kotlin.String [fake_override] declared in ann.I - $this: VALUE_PARAMETER name: type:kotlin.Any - CLASS ANNOTATION_CLASS name:Test4 modality:FINAL visibility:public superTypes:[kotlin.Annotation] - $this: VALUE_PARAMETER INSTANCE_RECEIVER name: type:ann.Test4 - CONSTRUCTOR visibility:public <> (x:ann.Test3>) returnType:ann.Test4 [primary] - VALUE_PARAMETER name:x index:0 type:ann.Test3> - PROPERTY name:x visibility:public modality:FINAL [val] - FIELD PROPERTY_BACKING_FIELD name:x type:ann.Test3> visibility:private [final] - EXPRESSION_BODY - GET_VAR 'x: ann.Test3> declared in ann.Test4.' type=ann.Test3> origin=INITIALIZE_PROPERTY_FROM_PARAMETER - FUN DEFAULT_PROPERTY_ACCESSOR name: visibility:public modality:FINAL <> ($this:ann.Test4) returnType:ann.Test3> - correspondingProperty: PROPERTY name:x visibility:public modality:FINAL [val] - $this: VALUE_PARAMETER name: type:ann.Test4 - BLOCK_BODY - RETURN type=kotlin.Nothing from='public final fun (): ann.Test3> declared in ann.Test4' - GET_FIELD 'FIELD PROPERTY_BACKING_FIELD name:x type:ann.Test3> visibility:private [final]' type=ann.Test3> origin=null - receiver: GET_VAR ': ann.Test4 declared in ann.Test4.' type=ann.Test4 origin=null - FUN FAKE_OVERRIDE name:equals visibility:public modality:OPEN <> ($this:kotlin.Any, other:kotlin.Any?) returnType:kotlin.Boolean [fake_override,operator] - overridden: - public open fun equals (other: kotlin.Any?): kotlin.Boolean [fake_override,operator] declared in kotlin.Annotation - $this: VALUE_PARAMETER name: type:kotlin.Any - VALUE_PARAMETER name:other index:0 type:kotlin.Any? - FUN FAKE_OVERRIDE name:hashCode visibility:public modality:OPEN <> ($this:kotlin.Any) returnType:kotlin.Int [fake_override] - overridden: - public open fun hashCode (): kotlin.Int [fake_override] declared in kotlin.Annotation - $this: VALUE_PARAMETER name: type:kotlin.Any - FUN FAKE_OVERRIDE name:toString visibility:public modality:OPEN <> ($this:kotlin.Any) returnType:kotlin.String [fake_override] - overridden: - public open fun toString (): kotlin.String [fake_override] declared in kotlin.Annotation - $this: VALUE_PARAMETER name: type:kotlin.Any - CLASS CLASS name:ARG modality:FINAL visibility:public superTypes:[kotlin.Any] - $this: VALUE_PARAMETER INSTANCE_RECEIVER name: type:ann.ARG - CONSTRUCTOR visibility:public <> () returnType:ann.ARG [primary] - BLOCK_BODY - DELEGATING_CONSTRUCTOR_CALL 'public constructor () [primary] declared in kotlin.Any' - INSTANCE_INITIALIZER_CALL classDescriptor='CLASS CLASS name:ARG modality:FINAL visibility:public superTypes:[kotlin.Any]' - FUN FAKE_OVERRIDE name:equals visibility:public modality:OPEN <> ($this:kotlin.Any, other:kotlin.Any?) returnType:kotlin.Boolean [fake_override,operator] - overridden: - public open fun equals (other: kotlin.Any?): kotlin.Boolean [operator] declared in kotlin.Any - $this: VALUE_PARAMETER name: type:kotlin.Any - VALUE_PARAMETER name:other index:0 type:kotlin.Any? - FUN FAKE_OVERRIDE name:hashCode visibility:public modality:OPEN <> ($this:kotlin.Any) returnType:kotlin.Int [fake_override] - overridden: - public open fun hashCode (): kotlin.Int declared in kotlin.Any - $this: VALUE_PARAMETER name: type:kotlin.Any - FUN FAKE_OVERRIDE name:toString visibility:public modality:OPEN <> ($this:kotlin.Any) returnType:kotlin.String [fake_override] - overridden: - public open fun toString (): kotlin.String declared in kotlin.Any - $this: VALUE_PARAMETER name: type:kotlin.Any - CLASS CLASS name:CC modality:FINAL visibility:public superTypes:[kotlin.Any] - annotations: - Test1(x = '42') - Test2(x = '38') - Test3>(x = Test1>>(x = '39')) - Test4(x = Test3(x = Test1>>(x = '40'))) - $this: VALUE_PARAMETER INSTANCE_RECEIVER name: type:ann.CC - CONSTRUCTOR visibility:public <> () returnType:ann.CC [primary] - BLOCK_BODY - DELEGATING_CONSTRUCTOR_CALL 'public constructor () [primary] declared in kotlin.Any' - INSTANCE_INITIALIZER_CALL classDescriptor='CLASS CLASS name:CC modality:FINAL visibility:public superTypes:[kotlin.Any]' - FUN FAKE_OVERRIDE name:equals visibility:public modality:OPEN <> ($this:kotlin.Any, other:kotlin.Any?) returnType:kotlin.Boolean [fake_override,operator] - overridden: - public open fun equals (other: kotlin.Any?): kotlin.Boolean [operator] declared in kotlin.Any - $this: VALUE_PARAMETER name: type:kotlin.Any - VALUE_PARAMETER name:other index:0 type:kotlin.Any? - FUN FAKE_OVERRIDE name:hashCode visibility:public modality:OPEN <> ($this:kotlin.Any) returnType:kotlin.Int [fake_override] - overridden: - public open fun hashCode (): kotlin.Int declared in kotlin.Any - $this: VALUE_PARAMETER name: type:kotlin.Any - FUN FAKE_OVERRIDE name:toString visibility:public modality:OPEN <> ($this:kotlin.Any) returnType:kotlin.String [fake_override] - overridden: - public open fun toString (): kotlin.String declared in kotlin.Any - $this: VALUE_PARAMETER name: type:kotlin.Any diff --git a/compiler/testData/ir/irText/declarations/annotations/genericAnnotationClasses.txt b/compiler/testData/ir/irText/declarations/annotations/genericAnnotationClasses.ir.txt similarity index 100% rename from compiler/testData/ir/irText/declarations/annotations/genericAnnotationClasses.txt rename to compiler/testData/ir/irText/declarations/annotations/genericAnnotationClasses.ir.txt diff --git a/compiler/testData/ir/irText/declarations/annotations/inheritingDeprecation.fir.txt b/compiler/testData/ir/irText/declarations/annotations/inheritingDeprecation.fir.ir.txt similarity index 100% rename from compiler/testData/ir/irText/declarations/annotations/inheritingDeprecation.fir.txt rename to compiler/testData/ir/irText/declarations/annotations/inheritingDeprecation.fir.ir.txt diff --git a/compiler/testData/ir/irText/declarations/annotations/inheritingDeprecation.txt b/compiler/testData/ir/irText/declarations/annotations/inheritingDeprecation.ir.txt similarity index 100% rename from compiler/testData/ir/irText/declarations/annotations/inheritingDeprecation.txt rename to compiler/testData/ir/irText/declarations/annotations/inheritingDeprecation.ir.txt diff --git a/compiler/testData/ir/irText/declarations/annotations/javaAnnotation.txt b/compiler/testData/ir/irText/declarations/annotations/javaAnnotation.ir.txt similarity index 100% rename from compiler/testData/ir/irText/declarations/annotations/javaAnnotation.txt rename to compiler/testData/ir/irText/declarations/annotations/javaAnnotation.ir.txt diff --git a/compiler/testData/ir/irText/declarations/annotations/javaAnnotation.kt.txt b/compiler/testData/ir/irText/declarations/annotations/javaAnnotation.kt.txt index 051fa58cdc8..68e3ed11c61 100644 --- a/compiler/testData/ir/irText/declarations/annotations/javaAnnotation.kt.txt +++ b/compiler/testData/ir/irText/declarations/annotations/javaAnnotation.kt.txt @@ -9,4 +9,3 @@ fun test2() { @JavaAnn(value = "abc", i = 123) fun test3() { } - diff --git a/compiler/testData/ir/irText/declarations/annotations/javaAnnotationWithSingleArrayArgument.fir.txt b/compiler/testData/ir/irText/declarations/annotations/javaAnnotationWithSingleArrayArgument.fir.ir.txt similarity index 100% rename from compiler/testData/ir/irText/declarations/annotations/javaAnnotationWithSingleArrayArgument.fir.txt rename to compiler/testData/ir/irText/declarations/annotations/javaAnnotationWithSingleArrayArgument.fir.ir.txt diff --git a/compiler/testData/ir/irText/declarations/annotations/javaAnnotationWithSingleArrayArgument.txt b/compiler/testData/ir/irText/declarations/annotations/javaAnnotationWithSingleArrayArgument.ir.txt similarity index 100% rename from compiler/testData/ir/irText/declarations/annotations/javaAnnotationWithSingleArrayArgument.txt rename to compiler/testData/ir/irText/declarations/annotations/javaAnnotationWithSingleArrayArgument.ir.txt diff --git a/compiler/testData/ir/irText/declarations/annotations/localDelegatedPropertiesWithAnnotations.fir.txt b/compiler/testData/ir/irText/declarations/annotations/localDelegatedPropertiesWithAnnotations.fir.ir.txt similarity index 100% rename from compiler/testData/ir/irText/declarations/annotations/localDelegatedPropertiesWithAnnotations.fir.txt rename to compiler/testData/ir/irText/declarations/annotations/localDelegatedPropertiesWithAnnotations.fir.ir.txt diff --git a/compiler/testData/ir/irText/declarations/annotations/localDelegatedPropertiesWithAnnotations.txt b/compiler/testData/ir/irText/declarations/annotations/localDelegatedPropertiesWithAnnotations.ir.txt similarity index 100% rename from compiler/testData/ir/irText/declarations/annotations/localDelegatedPropertiesWithAnnotations.txt rename to compiler/testData/ir/irText/declarations/annotations/localDelegatedPropertiesWithAnnotations.ir.txt diff --git a/compiler/testData/ir/irText/declarations/annotations/multipleAnnotationsInSquareBrackets.txt b/compiler/testData/ir/irText/declarations/annotations/multipleAnnotationsInSquareBrackets.ir.txt similarity index 100% rename from compiler/testData/ir/irText/declarations/annotations/multipleAnnotationsInSquareBrackets.txt rename to compiler/testData/ir/irText/declarations/annotations/multipleAnnotationsInSquareBrackets.ir.txt diff --git a/compiler/testData/ir/irText/declarations/annotations/primaryConstructorParameterWithAnnotations.txt b/compiler/testData/ir/irText/declarations/annotations/primaryConstructorParameterWithAnnotations.ir.txt similarity index 100% rename from compiler/testData/ir/irText/declarations/annotations/primaryConstructorParameterWithAnnotations.txt rename to compiler/testData/ir/irText/declarations/annotations/primaryConstructorParameterWithAnnotations.ir.txt diff --git a/compiler/testData/ir/irText/declarations/annotations/propertiesWithAnnotations.txt b/compiler/testData/ir/irText/declarations/annotations/propertiesWithAnnotations.ir.txt similarity index 100% rename from compiler/testData/ir/irText/declarations/annotations/propertiesWithAnnotations.txt rename to compiler/testData/ir/irText/declarations/annotations/propertiesWithAnnotations.ir.txt diff --git a/compiler/testData/ir/irText/declarations/annotations/propertyAccessorsFromClassHeaderWithAnnotations.txt b/compiler/testData/ir/irText/declarations/annotations/propertyAccessorsFromClassHeaderWithAnnotations.ir.txt similarity index 100% rename from compiler/testData/ir/irText/declarations/annotations/propertyAccessorsFromClassHeaderWithAnnotations.txt rename to compiler/testData/ir/irText/declarations/annotations/propertyAccessorsFromClassHeaderWithAnnotations.ir.txt diff --git a/compiler/testData/ir/irText/declarations/annotations/propertyAccessorsWithAnnotations.txt b/compiler/testData/ir/irText/declarations/annotations/propertyAccessorsWithAnnotations.ir.txt similarity index 100% rename from compiler/testData/ir/irText/declarations/annotations/propertyAccessorsWithAnnotations.txt rename to compiler/testData/ir/irText/declarations/annotations/propertyAccessorsWithAnnotations.ir.txt diff --git a/compiler/testData/ir/irText/declarations/annotations/propertySetterParameterWithAnnotations.txt b/compiler/testData/ir/irText/declarations/annotations/propertySetterParameterWithAnnotations.ir.txt similarity index 100% rename from compiler/testData/ir/irText/declarations/annotations/propertySetterParameterWithAnnotations.txt rename to compiler/testData/ir/irText/declarations/annotations/propertySetterParameterWithAnnotations.ir.txt diff --git a/compiler/testData/ir/irText/declarations/annotations/receiverParameterWithAnnotations.fir.txt b/compiler/testData/ir/irText/declarations/annotations/receiverParameterWithAnnotations.fir.ir.txt similarity index 100% rename from compiler/testData/ir/irText/declarations/annotations/receiverParameterWithAnnotations.fir.txt rename to compiler/testData/ir/irText/declarations/annotations/receiverParameterWithAnnotations.fir.ir.txt diff --git a/compiler/testData/ir/irText/declarations/annotations/receiverParameterWithAnnotations.txt b/compiler/testData/ir/irText/declarations/annotations/receiverParameterWithAnnotations.ir.txt similarity index 100% rename from compiler/testData/ir/irText/declarations/annotations/receiverParameterWithAnnotations.txt rename to compiler/testData/ir/irText/declarations/annotations/receiverParameterWithAnnotations.ir.txt diff --git a/compiler/testData/ir/irText/declarations/annotations/spreadOperatorInAnnotationArguments.fir.txt b/compiler/testData/ir/irText/declarations/annotations/spreadOperatorInAnnotationArguments.fir.ir.txt similarity index 100% rename from compiler/testData/ir/irText/declarations/annotations/spreadOperatorInAnnotationArguments.fir.txt rename to compiler/testData/ir/irText/declarations/annotations/spreadOperatorInAnnotationArguments.fir.ir.txt diff --git a/compiler/testData/ir/irText/declarations/annotations/spreadOperatorInAnnotationArguments.txt b/compiler/testData/ir/irText/declarations/annotations/spreadOperatorInAnnotationArguments.ir.txt similarity index 100% rename from compiler/testData/ir/irText/declarations/annotations/spreadOperatorInAnnotationArguments.txt rename to compiler/testData/ir/irText/declarations/annotations/spreadOperatorInAnnotationArguments.ir.txt diff --git a/compiler/testData/ir/irText/declarations/annotations/typeAliasesWithAnnotations.fir.txt b/compiler/testData/ir/irText/declarations/annotations/typeAliasesWithAnnotations.fir.ir.txt similarity index 100% rename from compiler/testData/ir/irText/declarations/annotations/typeAliasesWithAnnotations.fir.txt rename to compiler/testData/ir/irText/declarations/annotations/typeAliasesWithAnnotations.fir.ir.txt diff --git a/compiler/testData/ir/irText/declarations/annotations/typeAliasesWithAnnotations.txt b/compiler/testData/ir/irText/declarations/annotations/typeAliasesWithAnnotations.ir.txt similarity index 100% rename from compiler/testData/ir/irText/declarations/annotations/typeAliasesWithAnnotations.txt rename to compiler/testData/ir/irText/declarations/annotations/typeAliasesWithAnnotations.ir.txt diff --git a/compiler/testData/ir/irText/declarations/annotations/typeParametersWithAnnotations.txt b/compiler/testData/ir/irText/declarations/annotations/typeParametersWithAnnotations.ir.txt similarity index 100% rename from compiler/testData/ir/irText/declarations/annotations/typeParametersWithAnnotations.txt rename to compiler/testData/ir/irText/declarations/annotations/typeParametersWithAnnotations.ir.txt diff --git a/compiler/testData/ir/irText/declarations/annotations/valueParametersWithAnnotations.txt b/compiler/testData/ir/irText/declarations/annotations/valueParametersWithAnnotations.ir.txt similarity index 100% rename from compiler/testData/ir/irText/declarations/annotations/valueParametersWithAnnotations.txt rename to compiler/testData/ir/irText/declarations/annotations/valueParametersWithAnnotations.ir.txt diff --git a/compiler/testData/ir/irText/declarations/annotations/varargsInAnnotationArguments.txt b/compiler/testData/ir/irText/declarations/annotations/varargsInAnnotationArguments.ir.txt similarity index 100% rename from compiler/testData/ir/irText/declarations/annotations/varargsInAnnotationArguments.txt rename to compiler/testData/ir/irText/declarations/annotations/varargsInAnnotationArguments.ir.txt diff --git a/compiler/testData/ir/irText/declarations/annotations/variablesWithAnnotations.txt b/compiler/testData/ir/irText/declarations/annotations/variablesWithAnnotations.ir.txt similarity index 100% rename from compiler/testData/ir/irText/declarations/annotations/variablesWithAnnotations.txt rename to compiler/testData/ir/irText/declarations/annotations/variablesWithAnnotations.ir.txt diff --git a/compiler/testData/ir/irText/declarations/catchParameterInTopLevelProperty.fir.txt b/compiler/testData/ir/irText/declarations/catchParameterInTopLevelProperty.fir.ir.txt similarity index 100% rename from compiler/testData/ir/irText/declarations/catchParameterInTopLevelProperty.fir.txt rename to compiler/testData/ir/irText/declarations/catchParameterInTopLevelProperty.fir.ir.txt diff --git a/compiler/testData/ir/irText/declarations/catchParameterInTopLevelProperty.txt b/compiler/testData/ir/irText/declarations/catchParameterInTopLevelProperty.ir.txt similarity index 100% rename from compiler/testData/ir/irText/declarations/catchParameterInTopLevelProperty.txt rename to compiler/testData/ir/irText/declarations/catchParameterInTopLevelProperty.ir.txt diff --git a/compiler/testData/ir/irText/declarations/catchParameterInTopLevelProperty.kt.txt b/compiler/testData/ir/irText/declarations/catchParameterInTopLevelProperty.kt.txt index 1fab95d1d69..1be53a5cc95 100644 --- a/compiler/testData/ir/irText/declarations/catchParameterInTopLevelProperty.kt.txt +++ b/compiler/testData/ir/irText/declarations/catchParameterInTopLevelProperty.kt.txt @@ -5,4 +5,3 @@ val test: Unit } get - diff --git a/compiler/testData/ir/irText/declarations/classLevelProperties.fir.txt b/compiler/testData/ir/irText/declarations/classLevelProperties.fir.ir.txt similarity index 100% rename from compiler/testData/ir/irText/declarations/classLevelProperties.fir.txt rename to compiler/testData/ir/irText/declarations/classLevelProperties.fir.ir.txt diff --git a/compiler/testData/ir/irText/declarations/classLevelProperties.fir.kt.txt b/compiler/testData/ir/irText/declarations/classLevelProperties.fir.kt.txt index 48eb6bfbc82..d609799a849 100644 --- a/compiler/testData/ir/irText/declarations/classLevelProperties.fir.kt.txt +++ b/compiler/testData/ir/irText/declarations/classLevelProperties.fir.kt.txt @@ -54,4 +54,3 @@ class C { } } - diff --git a/compiler/testData/ir/irText/declarations/classLevelProperties.txt b/compiler/testData/ir/irText/declarations/classLevelProperties.ir.txt similarity index 100% rename from compiler/testData/ir/irText/declarations/classLevelProperties.txt rename to compiler/testData/ir/irText/declarations/classLevelProperties.ir.txt diff --git a/compiler/testData/ir/irText/declarations/classLevelProperties.kt.txt b/compiler/testData/ir/irText/declarations/classLevelProperties.kt.txt index 72813a4de72..7febedbcc3e 100644 --- a/compiler/testData/ir/irText/declarations/classLevelProperties.kt.txt +++ b/compiler/testData/ir/irText/declarations/classLevelProperties.kt.txt @@ -35,7 +35,7 @@ class C { field = 1 get - val test7: Int /* by */ + val test7: Int /* by */ field = lazy(initializer = local fun (): Int { return 42 } @@ -44,7 +44,7 @@ class C { return .#test7$delegate.getValue(thisRef = , property = C::test7) } - var test8: Int /* by */ + var test8: Int /* by */ field = hashMapOf() get(): Int { return .#test8$delegate.getValue(thisRef = , property = C::test8) @@ -54,4 +54,3 @@ class C { } } - diff --git a/compiler/testData/ir/irText/declarations/constValInitializers.txt b/compiler/testData/ir/irText/declarations/constValInitializers.ir.txt similarity index 100% rename from compiler/testData/ir/irText/declarations/constValInitializers.txt rename to compiler/testData/ir/irText/declarations/constValInitializers.ir.txt diff --git a/compiler/testData/ir/irText/declarations/constValInitializers.kt.txt b/compiler/testData/ir/irText/declarations/constValInitializers.kt.txt index d1caf458f2a..adfc6d055d9 100644 --- a/compiler/testData/ir/irText/declarations/constValInitializers.kt.txt +++ b/compiler/testData/ir/irText/declarations/constValInitializers.kt.txt @@ -25,4 +25,3 @@ const val STR3: String const val STR4: String field = "String1String2" get - diff --git a/compiler/testData/ir/irText/declarations/defaultArguments.txt b/compiler/testData/ir/irText/declarations/defaultArguments.ir.txt similarity index 100% rename from compiler/testData/ir/irText/declarations/defaultArguments.txt rename to compiler/testData/ir/irText/declarations/defaultArguments.ir.txt diff --git a/compiler/testData/ir/irText/declarations/defaultArguments.kt.txt b/compiler/testData/ir/irText/declarations/defaultArguments.kt.txt index 1f84ece1d9d..6aa3c153336 100644 --- a/compiler/testData/ir/irText/declarations/defaultArguments.kt.txt +++ b/compiler/testData/ir/irText/declarations/defaultArguments.kt.txt @@ -3,4 +3,3 @@ fun test1(x: Int, y: Int = 0, z: String = "abc") { } } - diff --git a/compiler/testData/ir/irText/declarations/delegatedProperties.fir.txt b/compiler/testData/ir/irText/declarations/delegatedProperties.fir.ir.txt similarity index 100% rename from compiler/testData/ir/irText/declarations/delegatedProperties.fir.txt rename to compiler/testData/ir/irText/declarations/delegatedProperties.fir.ir.txt diff --git a/compiler/testData/ir/irText/declarations/delegatedProperties.fir.kt.txt b/compiler/testData/ir/irText/declarations/delegatedProperties.fir.kt.txt index 0e4f6255609..1f250a0bf10 100644 --- a/compiler/testData/ir/irText/declarations/delegatedProperties.fir.kt.txt +++ b/compiler/testData/ir/irText/declarations/delegatedProperties.fir.kt.txt @@ -46,4 +46,3 @@ var test4: @FlexibleNullability Any? /* by */ set(: @FlexibleNullability Any?) { #test4$delegate.setValue<@FlexibleNullability Any?>(thisRef = null, property = ::test4, value = ) } - diff --git a/compiler/testData/ir/irText/declarations/delegatedProperties.txt b/compiler/testData/ir/irText/declarations/delegatedProperties.ir.txt similarity index 100% rename from compiler/testData/ir/irText/declarations/delegatedProperties.txt rename to compiler/testData/ir/irText/declarations/delegatedProperties.ir.txt diff --git a/compiler/testData/ir/irText/declarations/delegatedProperties.kt.txt b/compiler/testData/ir/irText/declarations/delegatedProperties.kt.txt index 1e8247fcfcb..59dff52a6ac 100644 --- a/compiler/testData/ir/irText/declarations/delegatedProperties.kt.txt +++ b/compiler/testData/ir/irText/declarations/delegatedProperties.kt.txt @@ -1,4 +1,4 @@ -val test1: Int /* by */ +val test1: Int /* by */ field = lazy(initializer = local fun (): Int { return 42 } @@ -18,7 +18,7 @@ class C { field = map get - val test2: Int /* by */ + val test2: Int /* by */ field = lazy(initializer = local fun (): Int { return 42 } @@ -27,7 +27,7 @@ class C { return .#test2$delegate.getValue(thisRef = , property = C::test2) } - var test3: Any /* by */ + var test3: Any /* by */ field = .() get(): Any { return .#test3$delegate.getValue(thisRef = , property = C::test3) @@ -38,7 +38,7 @@ class C { } -var test4: Any /* by */ +var test4: Any /* by */ field = hashMapOf() get(): Any { return #test4$delegate.getValue(thisRef = null, property = ::test4) @@ -46,4 +46,3 @@ var test4: Any /* by */ set(: Any) { return #test4$delegate.setValue(thisRef = null, property = ::test4, value = ) } - diff --git a/compiler/testData/ir/irText/declarations/deprecatedProperty.txt b/compiler/testData/ir/irText/declarations/deprecatedProperty.ir.txt similarity index 100% rename from compiler/testData/ir/irText/declarations/deprecatedProperty.txt rename to compiler/testData/ir/irText/declarations/deprecatedProperty.ir.txt diff --git a/compiler/testData/ir/irText/declarations/deprecatedProperty.kt.txt b/compiler/testData/ir/irText/declarations/deprecatedProperty.kt.txt index 34356b85bf0..114d54c0ceb 100644 --- a/compiler/testData/ir/irText/declarations/deprecatedProperty.kt.txt +++ b/compiler/testData/ir/irText/declarations/deprecatedProperty.kt.txt @@ -64,4 +64,3 @@ var Any.textExtVar: Int } set(v: Int) { } - diff --git a/compiler/testData/ir/irText/declarations/extensionProperties.txt b/compiler/testData/ir/irText/declarations/extensionProperties.ir.txt similarity index 100% rename from compiler/testData/ir/irText/declarations/extensionProperties.txt rename to compiler/testData/ir/irText/declarations/extensionProperties.ir.txt diff --git a/compiler/testData/ir/irText/declarations/extensionProperties.kt.txt b/compiler/testData/ir/irText/declarations/extensionProperties.kt.txt index bec04c48d3a..77d8a28ff70 100644 --- a/compiler/testData/ir/irText/declarations/extensionProperties.kt.txt +++ b/compiler/testData/ir/irText/declarations/extensionProperties.kt.txt @@ -30,4 +30,3 @@ class Host { } } - diff --git a/compiler/testData/ir/irText/declarations/fakeOverrides.fir.txt b/compiler/testData/ir/irText/declarations/fakeOverrides.fir.ir.txt similarity index 100% rename from compiler/testData/ir/irText/declarations/fakeOverrides.fir.txt rename to compiler/testData/ir/irText/declarations/fakeOverrides.fir.ir.txt diff --git a/compiler/testData/ir/irText/declarations/fakeOverrides.txt b/compiler/testData/ir/irText/declarations/fakeOverrides.ir.txt similarity index 100% rename from compiler/testData/ir/irText/declarations/fakeOverrides.txt rename to compiler/testData/ir/irText/declarations/fakeOverrides.ir.txt diff --git a/compiler/testData/ir/irText/declarations/fakeOverrides.kt.txt b/compiler/testData/ir/irText/declarations/fakeOverrides.kt.txt index f2f8577ba34..35a49aaa6e7 100644 --- a/compiler/testData/ir/irText/declarations/fakeOverrides.kt.txt +++ b/compiler/testData/ir/irText/declarations/fakeOverrides.kt.txt @@ -1,5 +1,5 @@ interface IFooStr { - abstract fun foo(x: String) + abstract fun foo(x: String) } @@ -33,4 +33,3 @@ class Test1 : CFoo, IFooStr, IBar { override get } - diff --git a/compiler/testData/ir/irText/declarations/fileWithAnnotations.txt b/compiler/testData/ir/irText/declarations/fileWithAnnotations.ir.txt similarity index 100% rename from compiler/testData/ir/irText/declarations/fileWithAnnotations.txt rename to compiler/testData/ir/irText/declarations/fileWithAnnotations.ir.txt diff --git a/compiler/testData/ir/irText/declarations/fileWithAnnotations.kt.txt b/compiler/testData/ir/irText/declarations/fileWithAnnotations.kt.txt index 7bb59541a43..176873fa0da 100644 --- a/compiler/testData/ir/irText/declarations/fileWithAnnotations.kt.txt +++ b/compiler/testData/ir/irText/declarations/fileWithAnnotations.kt.txt @@ -6,4 +6,3 @@ fun foo() { val bar: Int field = 42 get - diff --git a/compiler/testData/ir/irText/declarations/fileWithTypeAliasesOnly.txt b/compiler/testData/ir/irText/declarations/fileWithTypeAliasesOnly.ir.txt similarity index 100% rename from compiler/testData/ir/irText/declarations/fileWithTypeAliasesOnly.txt rename to compiler/testData/ir/irText/declarations/fileWithTypeAliasesOnly.ir.txt diff --git a/compiler/testData/ir/irText/declarations/genericDelegatedProperty.fir.txt b/compiler/testData/ir/irText/declarations/genericDelegatedProperty.fir.ir.txt similarity index 100% rename from compiler/testData/ir/irText/declarations/genericDelegatedProperty.fir.txt rename to compiler/testData/ir/irText/declarations/genericDelegatedProperty.fir.ir.txt diff --git a/compiler/testData/ir/irText/declarations/genericDelegatedProperty.txt b/compiler/testData/ir/irText/declarations/genericDelegatedProperty.ir.txt similarity index 100% rename from compiler/testData/ir/irText/declarations/genericDelegatedProperty.txt rename to compiler/testData/ir/irText/declarations/genericDelegatedProperty.ir.txt diff --git a/compiler/testData/ir/irText/declarations/genericDelegatedProperty.kt.txt b/compiler/testData/ir/irText/declarations/genericDelegatedProperty.kt.txt index 66f2526be19..27b6bfe00a3 100644 --- a/compiler/testData/ir/irText/declarations/genericDelegatedProperty.kt.txt +++ b/compiler/testData/ir/irText/declarations/genericDelegatedProperty.kt.txt @@ -23,7 +23,7 @@ object Delegate { } -var C.genericDelegatedProperty: Int /* by */ +var C.genericDelegatedProperty: Int /* by */ field = Delegate get(): Int { return #genericDelegatedProperty$delegate.getValue(thisRef = , kProp = ::genericDelegatedProperty/*()*/) @@ -31,4 +31,3 @@ var C.genericDelegatedProperty: Int /* by */ set(: Int) { return #genericDelegatedProperty$delegate.setValue(thisRef = , kProp = ::genericDelegatedProperty/*()*/, newValue = ) } - diff --git a/compiler/testData/ir/irText/declarations/inlineCollectionOfInlineClass.fir.txt b/compiler/testData/ir/irText/declarations/inlineCollectionOfInlineClass.fir.ir.txt similarity index 100% rename from compiler/testData/ir/irText/declarations/inlineCollectionOfInlineClass.fir.txt rename to compiler/testData/ir/irText/declarations/inlineCollectionOfInlineClass.fir.ir.txt diff --git a/compiler/testData/ir/irText/declarations/inlineCollectionOfInlineClass.txt b/compiler/testData/ir/irText/declarations/inlineCollectionOfInlineClass.ir.txt similarity index 100% rename from compiler/testData/ir/irText/declarations/inlineCollectionOfInlineClass.txt rename to compiler/testData/ir/irText/declarations/inlineCollectionOfInlineClass.ir.txt diff --git a/compiler/testData/ir/irText/declarations/inlineCollectionOfInlineClass.kt.txt b/compiler/testData/ir/irText/declarations/inlineCollectionOfInlineClass.kt.txt index f76e715945d..4cf8ac0e0ba 100644 --- a/compiler/testData/ir/irText/declarations/inlineCollectionOfInlineClass.kt.txt +++ b/compiler/testData/ir/irText/declarations/inlineCollectionOfInlineClass.kt.txt @@ -106,4 +106,3 @@ inline class InlineMutableSet : MutableSet { } } - diff --git a/compiler/testData/ir/irText/declarations/interfaceProperties.txt b/compiler/testData/ir/irText/declarations/interfaceProperties.ir.txt similarity index 100% rename from compiler/testData/ir/irText/declarations/interfaceProperties.txt rename to compiler/testData/ir/irText/declarations/interfaceProperties.ir.txt diff --git a/compiler/testData/ir/irText/declarations/interfaceProperties.kt.txt b/compiler/testData/ir/irText/declarations/interfaceProperties.kt.txt index 01677a7b2f3..7cb285b1f20 100644 --- a/compiler/testData/ir/irText/declarations/interfaceProperties.kt.txt +++ b/compiler/testData/ir/irText/declarations/interfaceProperties.kt.txt @@ -19,4 +19,3 @@ interface C { } } - diff --git a/compiler/testData/ir/irText/declarations/kt27005.txt b/compiler/testData/ir/irText/declarations/kt27005.ir.txt similarity index 100% rename from compiler/testData/ir/irText/declarations/kt27005.txt rename to compiler/testData/ir/irText/declarations/kt27005.ir.txt diff --git a/compiler/testData/ir/irText/declarations/kt27005.kt.txt b/compiler/testData/ir/irText/declarations/kt27005.kt.txt index 0601dd1634d..935498675a2 100644 --- a/compiler/testData/ir/irText/declarations/kt27005.kt.txt +++ b/compiler/testData/ir/irText/declarations/kt27005.kt.txt @@ -9,4 +9,3 @@ suspend fun bar(): Any { suspend fun baz(): T { TODO() } - diff --git a/compiler/testData/ir/irText/declarations/kt29833.fir.txt b/compiler/testData/ir/irText/declarations/kt29833.fir.ir.txt similarity index 100% rename from compiler/testData/ir/irText/declarations/kt29833.fir.txt rename to compiler/testData/ir/irText/declarations/kt29833.fir.ir.txt diff --git a/compiler/testData/ir/irText/declarations/kt29833.fir.kt.txt b/compiler/testData/ir/irText/declarations/kt29833.fir.kt.txt index 77c33be0584..7d956b145cf 100644 --- a/compiler/testData/ir/irText/declarations/kt29833.fir.kt.txt +++ b/compiler/testData/ir/irText/declarations/kt29833.fir.kt.txt @@ -16,4 +16,3 @@ object Definitions { get } - diff --git a/compiler/testData/ir/irText/declarations/kt29833.txt b/compiler/testData/ir/irText/declarations/kt29833.ir.txt similarity index 100% rename from compiler/testData/ir/irText/declarations/kt29833.txt rename to compiler/testData/ir/irText/declarations/kt29833.ir.txt diff --git a/compiler/testData/ir/irText/declarations/kt29833.kt.txt b/compiler/testData/ir/irText/declarations/kt29833.kt.txt index dcfc5bc963f..63247887ab1 100644 --- a/compiler/testData/ir/irText/declarations/kt29833.kt.txt +++ b/compiler/testData/ir/irText/declarations/kt29833.kt.txt @@ -16,4 +16,3 @@ object Definitions { get } - diff --git a/compiler/testData/ir/irText/declarations/kt35550.fir.txt b/compiler/testData/ir/irText/declarations/kt35550.fir.ir.txt similarity index 100% rename from compiler/testData/ir/irText/declarations/kt35550.fir.txt rename to compiler/testData/ir/irText/declarations/kt35550.fir.ir.txt diff --git a/compiler/testData/ir/irText/declarations/kt35550.txt b/compiler/testData/ir/irText/declarations/kt35550.ir.txt similarity index 100% rename from compiler/testData/ir/irText/declarations/kt35550.txt rename to compiler/testData/ir/irText/declarations/kt35550.ir.txt diff --git a/compiler/testData/ir/irText/declarations/kt35550.kt.txt b/compiler/testData/ir/irText/declarations/kt35550.kt.txt index 1b3af7b5e9e..53a0d3d66f3 100644 --- a/compiler/testData/ir/irText/declarations/kt35550.kt.txt +++ b/compiler/testData/ir/irText/declarations/kt35550.kt.txt @@ -20,4 +20,3 @@ class A : I { } } - diff --git a/compiler/testData/ir/irText/declarations/kt45308.fir.txt b/compiler/testData/ir/irText/declarations/kt45308.fir.ir.txt similarity index 100% rename from compiler/testData/ir/irText/declarations/kt45308.fir.txt rename to compiler/testData/ir/irText/declarations/kt45308.fir.ir.txt diff --git a/compiler/testData/ir/irText/declarations/kt45308.txt b/compiler/testData/ir/irText/declarations/kt45308.ir.txt similarity index 100% rename from compiler/testData/ir/irText/declarations/kt45308.txt rename to compiler/testData/ir/irText/declarations/kt45308.ir.txt diff --git a/compiler/testData/ir/irText/declarations/kt47527.fir.txt b/compiler/testData/ir/irText/declarations/kt47527.fir.ir.txt similarity index 100% rename from compiler/testData/ir/irText/declarations/kt47527.fir.txt rename to compiler/testData/ir/irText/declarations/kt47527.fir.ir.txt diff --git a/compiler/testData/ir/irText/declarations/kt47527.txt b/compiler/testData/ir/irText/declarations/kt47527.ir.txt similarity index 100% rename from compiler/testData/ir/irText/declarations/kt47527.txt rename to compiler/testData/ir/irText/declarations/kt47527.ir.txt diff --git a/compiler/testData/ir/irText/declarations/kt47527.kt.txt b/compiler/testData/ir/irText/declarations/kt47527.kt.txt index ebe0b54ebfc..7685baea9e8 100644 --- a/compiler/testData/ir/irText/declarations/kt47527.kt.txt +++ b/compiler/testData/ir/irText/declarations/kt47527.kt.txt @@ -45,4 +45,3 @@ fun box(): String { }) return result } - diff --git a/compiler/testData/ir/irText/declarations/localClassWithOverrides.fir.txt b/compiler/testData/ir/irText/declarations/localClassWithOverrides.fir.ir.txt similarity index 100% rename from compiler/testData/ir/irText/declarations/localClassWithOverrides.fir.txt rename to compiler/testData/ir/irText/declarations/localClassWithOverrides.fir.ir.txt diff --git a/compiler/testData/ir/irText/declarations/localClassWithOverrides.txt b/compiler/testData/ir/irText/declarations/localClassWithOverrides.ir.txt similarity index 100% rename from compiler/testData/ir/irText/declarations/localClassWithOverrides.txt rename to compiler/testData/ir/irText/declarations/localClassWithOverrides.ir.txt diff --git a/compiler/testData/ir/irText/declarations/localClassWithOverrides.kt.txt b/compiler/testData/ir/irText/declarations/localClassWithOverrides.kt.txt index 39087ba773a..c346b56d7d4 100644 --- a/compiler/testData/ir/irText/declarations/localClassWithOverrides.kt.txt +++ b/compiler/testData/ir/irText/declarations/localClassWithOverrides.kt.txt @@ -6,7 +6,7 @@ fun outer() { } - abstract fun afun() + abstract fun afun() abstract val aval: Int abstract get @@ -38,4 +38,3 @@ fun outer() { } } - diff --git a/compiler/testData/ir/irText/declarations/localDelegatedProperties.fir.txt b/compiler/testData/ir/irText/declarations/localDelegatedProperties.fir.ir.txt similarity index 100% rename from compiler/testData/ir/irText/declarations/localDelegatedProperties.fir.txt rename to compiler/testData/ir/irText/declarations/localDelegatedProperties.fir.ir.txt diff --git a/compiler/testData/ir/irText/declarations/localDelegatedProperties.fir.kt.txt b/compiler/testData/ir/irText/declarations/localDelegatedProperties.fir.kt.txt index 4d94cbabf83..d90950396da 100644 --- a/compiler/testData/ir/irText/declarations/localDelegatedProperties.fir.kt.txt +++ b/compiler/testData/ir/irText/declarations/localDelegatedProperties.fir.kt.txt @@ -27,4 +27,3 @@ fun test2() { /*~> Unit */ ( = ().plus(other = 1)) } - diff --git a/compiler/testData/ir/irText/declarations/localDelegatedProperties.txt b/compiler/testData/ir/irText/declarations/localDelegatedProperties.ir.txt similarity index 100% rename from compiler/testData/ir/irText/declarations/localDelegatedProperties.txt rename to compiler/testData/ir/irText/declarations/localDelegatedProperties.ir.txt diff --git a/compiler/testData/ir/irText/declarations/localDelegatedProperties.kt.txt b/compiler/testData/ir/irText/declarations/localDelegatedProperties.kt.txt index 63410a39c3b..f635254e98b 100644 --- a/compiler/testData/ir/irText/declarations/localDelegatedProperties.kt.txt +++ b/compiler/testData/ir/irText/declarations/localDelegatedProperties.kt.txt @@ -29,4 +29,3 @@ fun test2() { } /*~> Unit */ (value = ().plus(other = 1)) } - diff --git a/compiler/testData/ir/irText/declarations/localVarInDoWhile.fir.txt b/compiler/testData/ir/irText/declarations/localVarInDoWhile.fir.ir.txt similarity index 100% rename from compiler/testData/ir/irText/declarations/localVarInDoWhile.fir.txt rename to compiler/testData/ir/irText/declarations/localVarInDoWhile.fir.ir.txt diff --git a/compiler/testData/ir/irText/declarations/localVarInDoWhile.txt b/compiler/testData/ir/irText/declarations/localVarInDoWhile.ir.txt similarity index 100% rename from compiler/testData/ir/irText/declarations/localVarInDoWhile.txt rename to compiler/testData/ir/irText/declarations/localVarInDoWhile.ir.txt diff --git a/compiler/testData/ir/irText/declarations/localVarInDoWhile.kt.txt b/compiler/testData/ir/irText/declarations/localVarInDoWhile.kt.txt index 554937bf85b..27c61f6134f 100644 --- a/compiler/testData/ir/irText/declarations/localVarInDoWhile.kt.txt +++ b/compiler/testData/ir/irText/declarations/localVarInDoWhile.kt.txt @@ -5,4 +5,3 @@ fun foo() { // } while (EQEQ(arg0 = x, arg1 = 42).not()) } } - diff --git a/compiler/testData/ir/irText/declarations/multiplatform/expectClassInherited.fir.kt.txt b/compiler/testData/ir/irText/declarations/multiplatform/expectClassInherited.fir.kt.txt deleted file mode 100644 index c377c786972..00000000000 --- a/compiler/testData/ir/irText/declarations/multiplatform/expectClassInherited.fir.kt.txt +++ /dev/null @@ -1,38 +0,0 @@ -expect abstract class A { - protected expect constructor() /* primary */ - expect abstract fun foo() - -} - -expect open class B : A { - expect constructor(i: Int) /* primary */ - expect override fun foo() - expect open fun bar(s: String) - -} - -abstract class A { - protected constructor() /* primary */ { - super/*Any*/() - /* () */ - - } - - abstract fun foo() - -} - -open class B : A { - constructor(i: Int) /* primary */ { - super/*A*/() - /* () */ - - } - - override fun foo() { - } - - open fun bar(s: String) { - } - -} diff --git a/compiler/testData/ir/irText/declarations/multiplatform/expectClassInherited.fir.txt b/compiler/testData/ir/irText/declarations/multiplatform/expectClassInherited.fir.txt deleted file mode 100644 index de932280fe8..00000000000 --- a/compiler/testData/ir/irText/declarations/multiplatform/expectClassInherited.fir.txt +++ /dev/null @@ -1,93 +0,0 @@ -FILE fqName: fileName:/expectClassInherited.kt - CLASS CLASS name:A modality:ABSTRACT visibility:public [expect] superTypes:[kotlin.Any] - $this: VALUE_PARAMETER INSTANCE_RECEIVER name: type:.A - CONSTRUCTOR visibility:protected <> () returnType:.A [primary,expect] - FUN name:foo visibility:public modality:ABSTRACT <> ($this:.A) returnType:kotlin.Unit [expect] - $this: VALUE_PARAMETER name: type:.A - FUN FAKE_OVERRIDE name:equals visibility:public modality:OPEN <> ($this:kotlin.Any, other:kotlin.Any?) returnType:kotlin.Boolean [expect,fake_override,operator] - overridden: - public open fun equals (other: kotlin.Any?): kotlin.Boolean [operator] declared in kotlin.Any - $this: VALUE_PARAMETER name: type:kotlin.Any - VALUE_PARAMETER name:other index:0 type:kotlin.Any? - FUN FAKE_OVERRIDE name:hashCode visibility:public modality:OPEN <> ($this:kotlin.Any) returnType:kotlin.Int [expect,fake_override] - overridden: - public open fun hashCode (): kotlin.Int declared in kotlin.Any - $this: VALUE_PARAMETER name: type:kotlin.Any - FUN FAKE_OVERRIDE name:toString visibility:public modality:OPEN <> ($this:kotlin.Any) returnType:kotlin.String [expect,fake_override] - overridden: - public open fun toString (): kotlin.String declared in kotlin.Any - $this: VALUE_PARAMETER name: type:kotlin.Any - CLASS CLASS name:B modality:OPEN visibility:public [expect] superTypes:[.A] - $this: VALUE_PARAMETER INSTANCE_RECEIVER name: type:.B - CONSTRUCTOR visibility:public <> (i:kotlin.Int) returnType:.B [primary,expect] - VALUE_PARAMETER name:i index:0 type:kotlin.Int - FUN name:foo visibility:public modality:OPEN <> ($this:.B) returnType:kotlin.Unit [expect] - overridden: - public abstract fun foo (): kotlin.Unit declared in .A - $this: VALUE_PARAMETER name: type:.B - FUN name:bar visibility:public modality:OPEN <> ($this:.B, s:kotlin.String) returnType:kotlin.Unit [expect] - $this: VALUE_PARAMETER name: type:.B - VALUE_PARAMETER name:s index:0 type:kotlin.String - FUN FAKE_OVERRIDE name:equals visibility:public modality:OPEN <> ($this:kotlin.Any, other:kotlin.Any?) returnType:kotlin.Boolean [expect,fake_override,operator] - overridden: - public open fun equals (other: kotlin.Any?): kotlin.Boolean [fake_override,operator] declared in .A - $this: VALUE_PARAMETER name: type:kotlin.Any - VALUE_PARAMETER name:other index:0 type:kotlin.Any? - FUN FAKE_OVERRIDE name:hashCode visibility:public modality:OPEN <> ($this:kotlin.Any) returnType:kotlin.Int [expect,fake_override] - overridden: - public open fun hashCode (): kotlin.Int [fake_override] declared in .A - $this: VALUE_PARAMETER name: type:kotlin.Any - FUN FAKE_OVERRIDE name:toString visibility:public modality:OPEN <> ($this:kotlin.Any) returnType:kotlin.String [expect,fake_override] - overridden: - public open fun toString (): kotlin.String [fake_override] declared in .A - $this: VALUE_PARAMETER name: type:kotlin.Any - CLASS CLASS name:A modality:ABSTRACT visibility:public superTypes:[kotlin.Any] - $this: VALUE_PARAMETER INSTANCE_RECEIVER name: type:.A - CONSTRUCTOR visibility:protected <> () returnType:.A [primary] - BLOCK_BODY - DELEGATING_CONSTRUCTOR_CALL 'public constructor () [primary] declared in kotlin.Any' - INSTANCE_INITIALIZER_CALL classDescriptor='CLASS CLASS name:A modality:ABSTRACT visibility:public superTypes:[kotlin.Any]' - FUN name:foo visibility:public modality:ABSTRACT <> ($this:.A) returnType:kotlin.Unit - $this: VALUE_PARAMETER name: type:.A - FUN FAKE_OVERRIDE name:equals visibility:public modality:OPEN <> ($this:kotlin.Any, other:kotlin.Any?) returnType:kotlin.Boolean [fake_override,operator] - overridden: - public open fun equals (other: kotlin.Any?): kotlin.Boolean [operator] declared in kotlin.Any - $this: VALUE_PARAMETER name: type:kotlin.Any - VALUE_PARAMETER name:other index:0 type:kotlin.Any? - FUN FAKE_OVERRIDE name:hashCode visibility:public modality:OPEN <> ($this:kotlin.Any) returnType:kotlin.Int [fake_override] - overridden: - public open fun hashCode (): kotlin.Int declared in kotlin.Any - $this: VALUE_PARAMETER name: type:kotlin.Any - FUN FAKE_OVERRIDE name:toString visibility:public modality:OPEN <> ($this:kotlin.Any) returnType:kotlin.String [fake_override] - overridden: - public open fun toString (): kotlin.String declared in kotlin.Any - $this: VALUE_PARAMETER name: type:kotlin.Any - CLASS CLASS name:B modality:OPEN visibility:public superTypes:[.A] - $this: VALUE_PARAMETER INSTANCE_RECEIVER name: type:.B - CONSTRUCTOR visibility:public <> (i:kotlin.Int) returnType:.B [primary] - VALUE_PARAMETER name:i index:0 type:kotlin.Int - BLOCK_BODY - DELEGATING_CONSTRUCTOR_CALL 'protected constructor () [primary] declared in .A' - INSTANCE_INITIALIZER_CALL classDescriptor='CLASS CLASS name:B modality:OPEN visibility:public superTypes:[.A]' - FUN name:foo visibility:public modality:OPEN <> ($this:.B) returnType:kotlin.Unit - overridden: - public abstract fun foo (): kotlin.Unit declared in .A - $this: VALUE_PARAMETER name: type:.B - BLOCK_BODY - FUN name:bar visibility:public modality:OPEN <> ($this:.B, s:kotlin.String) returnType:kotlin.Unit - $this: VALUE_PARAMETER name: type:.B - VALUE_PARAMETER name:s index:0 type:kotlin.String - BLOCK_BODY - FUN FAKE_OVERRIDE name:equals visibility:public modality:OPEN <> ($this:kotlin.Any, other:kotlin.Any?) returnType:kotlin.Boolean [fake_override,operator] - overridden: - public open fun equals (other: kotlin.Any?): kotlin.Boolean [fake_override,operator] declared in .A - $this: VALUE_PARAMETER name: type:kotlin.Any - VALUE_PARAMETER name:other index:0 type:kotlin.Any? - FUN FAKE_OVERRIDE name:hashCode visibility:public modality:OPEN <> ($this:kotlin.Any) returnType:kotlin.Int [fake_override] - overridden: - public open fun hashCode (): kotlin.Int [fake_override] declared in .A - $this: VALUE_PARAMETER name: type:kotlin.Any - FUN FAKE_OVERRIDE name:toString visibility:public modality:OPEN <> ($this:kotlin.Any) returnType:kotlin.String [fake_override] - overridden: - public open fun toString (): kotlin.String [fake_override] declared in .A - $this: VALUE_PARAMETER name: type:kotlin.Any diff --git a/compiler/testData/ir/irText/declarations/multiplatform/expectClassInherited.txt b/compiler/testData/ir/irText/declarations/multiplatform/expectClassInherited.ir.txt similarity index 100% rename from compiler/testData/ir/irText/declarations/multiplatform/expectClassInherited.txt rename to compiler/testData/ir/irText/declarations/multiplatform/expectClassInherited.ir.txt diff --git a/compiler/testData/ir/irText/declarations/multiplatform/expectClassInherited.kt.txt b/compiler/testData/ir/irText/declarations/multiplatform/expectClassInherited.kt.txt index 34fe84697c7..c377c786972 100644 --- a/compiler/testData/ir/irText/declarations/multiplatform/expectClassInherited.kt.txt +++ b/compiler/testData/ir/irText/declarations/multiplatform/expectClassInherited.kt.txt @@ -1,13 +1,13 @@ expect abstract class A { - protected expect constructor() /* primary */ - expect abstract fun foo() + protected expect constructor() /* primary */ + expect abstract fun foo() } expect open class B : A { - expect constructor(i: Int) /* primary */ - expect override fun foo() - expect open fun bar(s: String) + expect constructor(i: Int) /* primary */ + expect override fun foo() + expect open fun bar(s: String) } @@ -18,7 +18,7 @@ abstract class A { } - abstract fun foo() + abstract fun foo() } @@ -36,4 +36,3 @@ open class B : A { } } - diff --git a/compiler/testData/ir/irText/declarations/multiplatform/expectedEnumClass.fir.txt b/compiler/testData/ir/irText/declarations/multiplatform/expectedEnumClass.fir.ir.txt similarity index 100% rename from compiler/testData/ir/irText/declarations/multiplatform/expectedEnumClass.fir.txt rename to compiler/testData/ir/irText/declarations/multiplatform/expectedEnumClass.fir.ir.txt diff --git a/compiler/testData/ir/irText/declarations/multiplatform/expectedEnumClass.txt b/compiler/testData/ir/irText/declarations/multiplatform/expectedEnumClass.ir.txt similarity index 100% rename from compiler/testData/ir/irText/declarations/multiplatform/expectedEnumClass.txt rename to compiler/testData/ir/irText/declarations/multiplatform/expectedEnumClass.ir.txt diff --git a/compiler/testData/ir/irText/declarations/multiplatform/expectedEnumClass.kt.txt b/compiler/testData/ir/irText/declarations/multiplatform/expectedEnumClass.kt.txt index b18ea4a2487..d61071557d0 100644 --- a/compiler/testData/ir/irText/declarations/multiplatform/expectedEnumClass.kt.txt +++ b/compiler/testData/ir/irText/declarations/multiplatform/expectedEnumClass.kt.txt @@ -27,4 +27,3 @@ enum class MyEnum : Enum { fun valueOf(value: String): MyEnum /* Synthetic body for ENUM_VALUEOF */ } - diff --git a/compiler/testData/ir/irText/declarations/multiplatform/expectedSealedClass.fir.kt.txt b/compiler/testData/ir/irText/declarations/multiplatform/expectedSealedClass.fir.kt.txt deleted file mode 100644 index 28ca0eeb57d..00000000000 --- a/compiler/testData/ir/irText/declarations/multiplatform/expectedSealedClass.fir.kt.txt +++ /dev/null @@ -1,27 +0,0 @@ -expect sealed class Ops { - protected expect constructor() /* primary */ - -} - -expect class Add : Ops { - expect constructor() /* primary */ - -} - -sealed class Ops { - protected constructor() /* primary */ { - super/*Any*/() - /* () */ - - } - -} - -class Add : Ops { - constructor() /* primary */ { - super/*Ops*/() - /* () */ - - } - -} diff --git a/compiler/testData/ir/irText/declarations/multiplatform/expectedSealedClass.fir.txt b/compiler/testData/ir/irText/declarations/multiplatform/expectedSealedClass.fir.txt deleted file mode 100644 index eb9586bd561..00000000000 --- a/compiler/testData/ir/irText/declarations/multiplatform/expectedSealedClass.fir.txt +++ /dev/null @@ -1,71 +0,0 @@ -FILE fqName: fileName:/expectedSealedClass.kt - CLASS CLASS name:Ops modality:SEALED visibility:public [expect] superTypes:[kotlin.Any] - $this: VALUE_PARAMETER INSTANCE_RECEIVER name: type:.Ops - CONSTRUCTOR visibility:protected <> () returnType:.Ops [primary,expect] - FUN FAKE_OVERRIDE name:equals visibility:public modality:OPEN <> ($this:kotlin.Any, other:kotlin.Any?) returnType:kotlin.Boolean [expect,fake_override,operator] - overridden: - public open fun equals (other: kotlin.Any?): kotlin.Boolean [operator] declared in kotlin.Any - $this: VALUE_PARAMETER name: type:kotlin.Any - VALUE_PARAMETER name:other index:0 type:kotlin.Any? - FUN FAKE_OVERRIDE name:hashCode visibility:public modality:OPEN <> ($this:kotlin.Any) returnType:kotlin.Int [expect,fake_override] - overridden: - public open fun hashCode (): kotlin.Int declared in kotlin.Any - $this: VALUE_PARAMETER name: type:kotlin.Any - FUN FAKE_OVERRIDE name:toString visibility:public modality:OPEN <> ($this:kotlin.Any) returnType:kotlin.String [expect,fake_override] - overridden: - public open fun toString (): kotlin.String declared in kotlin.Any - $this: VALUE_PARAMETER name: type:kotlin.Any - CLASS CLASS name:Add modality:FINAL visibility:public [expect] superTypes:[.Ops] - $this: VALUE_PARAMETER INSTANCE_RECEIVER name: type:.Add - CONSTRUCTOR visibility:public <> () returnType:.Add [primary,expect] - FUN FAKE_OVERRIDE name:equals visibility:public modality:OPEN <> ($this:kotlin.Any, other:kotlin.Any?) returnType:kotlin.Boolean [expect,fake_override,operator] - overridden: - public open fun equals (other: kotlin.Any?): kotlin.Boolean [fake_override,operator] declared in .Ops - $this: VALUE_PARAMETER name: type:kotlin.Any - VALUE_PARAMETER name:other index:0 type:kotlin.Any? - FUN FAKE_OVERRIDE name:hashCode visibility:public modality:OPEN <> ($this:kotlin.Any) returnType:kotlin.Int [expect,fake_override] - overridden: - public open fun hashCode (): kotlin.Int [fake_override] declared in .Ops - $this: VALUE_PARAMETER name: type:kotlin.Any - FUN FAKE_OVERRIDE name:toString visibility:public modality:OPEN <> ($this:kotlin.Any) returnType:kotlin.String [expect,fake_override] - overridden: - public open fun toString (): kotlin.String [fake_override] declared in .Ops - $this: VALUE_PARAMETER name: type:kotlin.Any - CLASS CLASS name:Ops modality:SEALED visibility:public superTypes:[kotlin.Any] - $this: VALUE_PARAMETER INSTANCE_RECEIVER name: type:.Ops - CONSTRUCTOR visibility:protected <> () returnType:.Ops [primary] - BLOCK_BODY - DELEGATING_CONSTRUCTOR_CALL 'public constructor () [primary] declared in kotlin.Any' - INSTANCE_INITIALIZER_CALL classDescriptor='CLASS CLASS name:Ops modality:SEALED visibility:public superTypes:[kotlin.Any]' - FUN FAKE_OVERRIDE name:equals visibility:public modality:OPEN <> ($this:kotlin.Any, other:kotlin.Any?) returnType:kotlin.Boolean [fake_override,operator] - overridden: - public open fun equals (other: kotlin.Any?): kotlin.Boolean [operator] declared in kotlin.Any - $this: VALUE_PARAMETER name: type:kotlin.Any - VALUE_PARAMETER name:other index:0 type:kotlin.Any? - FUN FAKE_OVERRIDE name:hashCode visibility:public modality:OPEN <> ($this:kotlin.Any) returnType:kotlin.Int [fake_override] - overridden: - public open fun hashCode (): kotlin.Int declared in kotlin.Any - $this: VALUE_PARAMETER name: type:kotlin.Any - FUN FAKE_OVERRIDE name:toString visibility:public modality:OPEN <> ($this:kotlin.Any) returnType:kotlin.String [fake_override] - overridden: - public open fun toString (): kotlin.String declared in kotlin.Any - $this: VALUE_PARAMETER name: type:kotlin.Any - CLASS CLASS name:Add modality:FINAL visibility:public superTypes:[.Ops] - $this: VALUE_PARAMETER INSTANCE_RECEIVER name: type:.Add - CONSTRUCTOR visibility:public <> () returnType:.Add [primary] - BLOCK_BODY - DELEGATING_CONSTRUCTOR_CALL 'protected constructor () [primary] declared in .Ops' - INSTANCE_INITIALIZER_CALL classDescriptor='CLASS CLASS name:Add modality:FINAL visibility:public superTypes:[.Ops]' - FUN FAKE_OVERRIDE name:equals visibility:public modality:OPEN <> ($this:kotlin.Any, other:kotlin.Any?) returnType:kotlin.Boolean [fake_override,operator] - overridden: - public open fun equals (other: kotlin.Any?): kotlin.Boolean [fake_override,operator] declared in .Ops - $this: VALUE_PARAMETER name: type:kotlin.Any - VALUE_PARAMETER name:other index:0 type:kotlin.Any? - FUN FAKE_OVERRIDE name:hashCode visibility:public modality:OPEN <> ($this:kotlin.Any) returnType:kotlin.Int [fake_override] - overridden: - public open fun hashCode (): kotlin.Int [fake_override] declared in .Ops - $this: VALUE_PARAMETER name: type:kotlin.Any - FUN FAKE_OVERRIDE name:toString visibility:public modality:OPEN <> ($this:kotlin.Any) returnType:kotlin.String [fake_override] - overridden: - public open fun toString (): kotlin.String [fake_override] declared in .Ops - $this: VALUE_PARAMETER name: type:kotlin.Any diff --git a/compiler/testData/ir/irText/declarations/multiplatform/expectedSealedClass.txt b/compiler/testData/ir/irText/declarations/multiplatform/expectedSealedClass.ir.txt similarity index 100% rename from compiler/testData/ir/irText/declarations/multiplatform/expectedSealedClass.txt rename to compiler/testData/ir/irText/declarations/multiplatform/expectedSealedClass.ir.txt diff --git a/compiler/testData/ir/irText/declarations/multiplatform/expectedSealedClass.kt.txt b/compiler/testData/ir/irText/declarations/multiplatform/expectedSealedClass.kt.txt index 17913f80757..28ca0eeb57d 100644 --- a/compiler/testData/ir/irText/declarations/multiplatform/expectedSealedClass.kt.txt +++ b/compiler/testData/ir/irText/declarations/multiplatform/expectedSealedClass.kt.txt @@ -4,7 +4,7 @@ expect sealed class Ops { } expect class Add : Ops { - expect constructor() /* primary */ + expect constructor() /* primary */ } @@ -25,4 +25,3 @@ class Add : Ops { } } - diff --git a/compiler/testData/ir/irText/declarations/packageLevelProperties.fir.txt b/compiler/testData/ir/irText/declarations/packageLevelProperties.fir.ir.txt similarity index 100% rename from compiler/testData/ir/irText/declarations/packageLevelProperties.fir.txt rename to compiler/testData/ir/irText/declarations/packageLevelProperties.fir.ir.txt diff --git a/compiler/testData/ir/irText/declarations/packageLevelProperties.fir.kt.txt b/compiler/testData/ir/irText/declarations/packageLevelProperties.fir.kt.txt index b33525db9da..beda2511539 100644 --- a/compiler/testData/ir/irText/declarations/packageLevelProperties.fir.kt.txt +++ b/compiler/testData/ir/irText/declarations/packageLevelProperties.fir.kt.txt @@ -45,4 +45,3 @@ var test8: @FlexibleNullability Int? /* by */ set(: @FlexibleNullability Int?) { #test8$delegate.setValue<@FlexibleNullability Int?>(thisRef = null, property = ::test8, value = ) } - diff --git a/compiler/testData/ir/irText/declarations/packageLevelProperties.txt b/compiler/testData/ir/irText/declarations/packageLevelProperties.ir.txt similarity index 100% rename from compiler/testData/ir/irText/declarations/packageLevelProperties.txt rename to compiler/testData/ir/irText/declarations/packageLevelProperties.ir.txt diff --git a/compiler/testData/ir/irText/declarations/packageLevelProperties.kt.txt b/compiler/testData/ir/irText/declarations/packageLevelProperties.kt.txt index 5cbf2d613cc..5db7671b429 100644 --- a/compiler/testData/ir/irText/declarations/packageLevelProperties.kt.txt +++ b/compiler/testData/ir/irText/declarations/packageLevelProperties.kt.txt @@ -28,7 +28,7 @@ val test6: Int field = 1 get -val test7: Int /* by */ +val test7: Int /* by */ field = lazy(initializer = local fun (): Int { return 42 } @@ -37,7 +37,7 @@ val test7: Int /* by */ return #test7$delegate.getValue(thisRef = null, property = ::test7) } -var test8: Int /* by */ +var test8: Int /* by */ field = hashMapOf() get(): Int { return #test8$delegate.getValue(thisRef = null, property = ::test8) @@ -45,4 +45,3 @@ var test8: Int /* by */ set(: Int) { return #test8$delegate.setValue(thisRef = null, property = ::test8, value = ) } - diff --git a/compiler/testData/ir/irText/declarations/parameters/class.txt b/compiler/testData/ir/irText/declarations/parameters/class.ir.txt similarity index 100% rename from compiler/testData/ir/irText/declarations/parameters/class.txt rename to compiler/testData/ir/irText/declarations/parameters/class.ir.txt diff --git a/compiler/testData/ir/irText/declarations/parameters/class.kt.txt b/compiler/testData/ir/irText/declarations/parameters/class.kt.txt index be10a108b61..197c391a73e 100644 --- a/compiler/testData/ir/irText/declarations/parameters/class.kt.txt +++ b/compiler/testData/ir/irText/declarations/parameters/class.kt.txt @@ -31,4 +31,3 @@ class Test { } } - diff --git a/compiler/testData/ir/irText/declarations/parameters/constructor.fir.txt b/compiler/testData/ir/irText/declarations/parameters/constructor.fir.ir.txt similarity index 100% rename from compiler/testData/ir/irText/declarations/parameters/constructor.fir.txt rename to compiler/testData/ir/irText/declarations/parameters/constructor.fir.ir.txt diff --git a/compiler/testData/ir/irText/declarations/parameters/constructor.txt b/compiler/testData/ir/irText/declarations/parameters/constructor.ir.txt similarity index 100% rename from compiler/testData/ir/irText/declarations/parameters/constructor.txt rename to compiler/testData/ir/irText/declarations/parameters/constructor.ir.txt diff --git a/compiler/testData/ir/irText/declarations/parameters/constructor.kt.txt b/compiler/testData/ir/irText/declarations/parameters/constructor.kt.txt index e05d745e196..31503aa07fc 100644 --- a/compiler/testData/ir/irText/declarations/parameters/constructor.kt.txt +++ b/compiler/testData/ir/irText/declarations/parameters/constructor.kt.txt @@ -78,4 +78,3 @@ class Test4 { } } - diff --git a/compiler/testData/ir/irText/declarations/parameters/dataClassMembers.fir.txt b/compiler/testData/ir/irText/declarations/parameters/dataClassMembers.fir.ir.txt similarity index 100% rename from compiler/testData/ir/irText/declarations/parameters/dataClassMembers.fir.txt rename to compiler/testData/ir/irText/declarations/parameters/dataClassMembers.fir.ir.txt diff --git a/compiler/testData/ir/irText/declarations/parameters/dataClassMembers.txt b/compiler/testData/ir/irText/declarations/parameters/dataClassMembers.ir.txt similarity index 100% rename from compiler/testData/ir/irText/declarations/parameters/dataClassMembers.txt rename to compiler/testData/ir/irText/declarations/parameters/dataClassMembers.ir.txt diff --git a/compiler/testData/ir/irText/declarations/parameters/dataClassMembers.kt.txt b/compiler/testData/ir/irText/declarations/parameters/dataClassMembers.kt.txt index 64730bd7ad4..6ef3ce2ed74 100644 --- a/compiler/testData/ir/irText/declarations/parameters/dataClassMembers.kt.txt +++ b/compiler/testData/ir/irText/declarations/parameters/dataClassMembers.kt.txt @@ -56,4 +56,3 @@ data class Test { } } - diff --git a/compiler/testData/ir/irText/declarations/parameters/defaultPropertyAccessors.txt b/compiler/testData/ir/irText/declarations/parameters/defaultPropertyAccessors.ir.txt similarity index 100% rename from compiler/testData/ir/irText/declarations/parameters/defaultPropertyAccessors.txt rename to compiler/testData/ir/irText/declarations/parameters/defaultPropertyAccessors.ir.txt diff --git a/compiler/testData/ir/irText/declarations/parameters/defaultPropertyAccessors.kt.txt b/compiler/testData/ir/irText/declarations/parameters/defaultPropertyAccessors.kt.txt index 6e106cd3538..bf55b08df1f 100644 --- a/compiler/testData/ir/irText/declarations/parameters/defaultPropertyAccessors.kt.txt +++ b/compiler/testData/ir/irText/declarations/parameters/defaultPropertyAccessors.kt.txt @@ -42,4 +42,3 @@ class InPrimaryCtor { set } - diff --git a/compiler/testData/ir/irText/declarations/parameters/delegatedMembers.fir.txt b/compiler/testData/ir/irText/declarations/parameters/delegatedMembers.fir.ir.txt similarity index 100% rename from compiler/testData/ir/irText/declarations/parameters/delegatedMembers.fir.txt rename to compiler/testData/ir/irText/declarations/parameters/delegatedMembers.fir.ir.txt diff --git a/compiler/testData/ir/irText/declarations/parameters/delegatedMembers.txt b/compiler/testData/ir/irText/declarations/parameters/delegatedMembers.ir.txt similarity index 100% rename from compiler/testData/ir/irText/declarations/parameters/delegatedMembers.txt rename to compiler/testData/ir/irText/declarations/parameters/delegatedMembers.ir.txt diff --git a/compiler/testData/ir/irText/declarations/parameters/fun.txt b/compiler/testData/ir/irText/declarations/parameters/fun.ir.txt similarity index 100% rename from compiler/testData/ir/irText/declarations/parameters/fun.txt rename to compiler/testData/ir/irText/declarations/parameters/fun.ir.txt diff --git a/compiler/testData/ir/irText/declarations/parameters/fun.kt.txt b/compiler/testData/ir/irText/declarations/parameters/fun.kt.txt index 3e20cb6f7e1..031726eb703 100644 --- a/compiler/testData/ir/irText/declarations/parameters/fun.kt.txt +++ b/compiler/testData/ir/irText/declarations/parameters/fun.kt.txt @@ -24,4 +24,3 @@ class Host { } } - diff --git a/compiler/testData/ir/irText/declarations/parameters/genericInnerClass.txt b/compiler/testData/ir/irText/declarations/parameters/genericInnerClass.ir.txt similarity index 100% rename from compiler/testData/ir/irText/declarations/parameters/genericInnerClass.txt rename to compiler/testData/ir/irText/declarations/parameters/genericInnerClass.ir.txt diff --git a/compiler/testData/ir/irText/declarations/parameters/genericInnerClass.kt.txt b/compiler/testData/ir/irText/declarations/parameters/genericInnerClass.kt.txt index 807626363fd..d32e11338bf 100644 --- a/compiler/testData/ir/irText/declarations/parameters/genericInnerClass.kt.txt +++ b/compiler/testData/ir/irText/declarations/parameters/genericInnerClass.kt.txt @@ -18,4 +18,3 @@ class Outer { } } - diff --git a/compiler/testData/ir/irText/declarations/parameters/lambdas.fir.txt b/compiler/testData/ir/irText/declarations/parameters/lambdas.fir.ir.txt similarity index 100% rename from compiler/testData/ir/irText/declarations/parameters/lambdas.fir.txt rename to compiler/testData/ir/irText/declarations/parameters/lambdas.fir.ir.txt diff --git a/compiler/testData/ir/irText/declarations/parameters/lambdas.txt b/compiler/testData/ir/irText/declarations/parameters/lambdas.ir.txt similarity index 100% rename from compiler/testData/ir/irText/declarations/parameters/lambdas.txt rename to compiler/testData/ir/irText/declarations/parameters/lambdas.ir.txt diff --git a/compiler/testData/ir/irText/declarations/parameters/lambdas.kt.txt b/compiler/testData/ir/irText/declarations/parameters/lambdas.kt.txt index 61a4f27e6d2..3947169f441 100644 --- a/compiler/testData/ir/irText/declarations/parameters/lambdas.kt.txt +++ b/compiler/testData/ir/irText/declarations/parameters/lambdas.kt.txt @@ -24,4 +24,3 @@ val test4: Function2 } get - diff --git a/compiler/testData/ir/irText/declarations/parameters/localFun.txt b/compiler/testData/ir/irText/declarations/parameters/localFun.ir.txt similarity index 100% rename from compiler/testData/ir/irText/declarations/parameters/localFun.txt rename to compiler/testData/ir/irText/declarations/parameters/localFun.ir.txt diff --git a/compiler/testData/ir/irText/declarations/parameters/localFun.kt.txt b/compiler/testData/ir/irText/declarations/parameters/localFun.kt.txt index fa27fdb1460..aea60b98836 100644 --- a/compiler/testData/ir/irText/declarations/parameters/localFun.kt.txt +++ b/compiler/testData/ir/irText/declarations/parameters/localFun.kt.txt @@ -12,4 +12,3 @@ fun outer() { } } - diff --git a/compiler/testData/ir/irText/declarations/parameters/propertyAccessors.txt b/compiler/testData/ir/irText/declarations/parameters/propertyAccessors.ir.txt similarity index 100% rename from compiler/testData/ir/irText/declarations/parameters/propertyAccessors.txt rename to compiler/testData/ir/irText/declarations/parameters/propertyAccessors.ir.txt diff --git a/compiler/testData/ir/irText/declarations/parameters/propertyAccessors.kt.txt b/compiler/testData/ir/irText/declarations/parameters/propertyAccessors.kt.txt index c167871e1f3..73ddf34fa13 100644 --- a/compiler/testData/ir/irText/declarations/parameters/propertyAccessors.kt.txt +++ b/compiler/testData/ir/irText/declarations/parameters/propertyAccessors.kt.txt @@ -78,4 +78,3 @@ class Host { } } - diff --git a/compiler/testData/ir/irText/declarations/parameters/typeParameterBeforeBound.fir.txt b/compiler/testData/ir/irText/declarations/parameters/typeParameterBeforeBound.fir.ir.txt similarity index 100% rename from compiler/testData/ir/irText/declarations/parameters/typeParameterBeforeBound.fir.txt rename to compiler/testData/ir/irText/declarations/parameters/typeParameterBeforeBound.fir.ir.txt diff --git a/compiler/testData/ir/irText/declarations/parameters/typeParameterBeforeBound.txt b/compiler/testData/ir/irText/declarations/parameters/typeParameterBeforeBound.ir.txt similarity index 100% rename from compiler/testData/ir/irText/declarations/parameters/typeParameterBeforeBound.txt rename to compiler/testData/ir/irText/declarations/parameters/typeParameterBeforeBound.ir.txt diff --git a/compiler/testData/ir/irText/declarations/parameters/typeParameterBeforeBound.kt.txt b/compiler/testData/ir/irText/declarations/parameters/typeParameterBeforeBound.kt.txt index 0961a8e7862..7fb49758dad 100644 --- a/compiler/testData/ir/irText/declarations/parameters/typeParameterBeforeBound.kt.txt +++ b/compiler/testData/ir/irText/declarations/parameters/typeParameterBeforeBound.kt.txt @@ -15,4 +15,3 @@ var Test1.test3: Unit } set(value: Unit) { } - diff --git a/compiler/testData/ir/irText/declarations/parameters/typeParameterBoundedBySubclass.txt b/compiler/testData/ir/irText/declarations/parameters/typeParameterBoundedBySubclass.ir.txt similarity index 100% rename from compiler/testData/ir/irText/declarations/parameters/typeParameterBoundedBySubclass.txt rename to compiler/testData/ir/irText/declarations/parameters/typeParameterBoundedBySubclass.ir.txt diff --git a/compiler/testData/ir/irText/declarations/parameters/typeParameterBoundedBySubclass.kt.txt b/compiler/testData/ir/irText/declarations/parameters/typeParameterBoundedBySubclass.kt.txt index 27b79cd61e2..b070d0dcb67 100644 --- a/compiler/testData/ir/irText/declarations/parameters/typeParameterBoundedBySubclass.kt.txt +++ b/compiler/testData/ir/irText/declarations/parameters/typeParameterBoundedBySubclass.kt.txt @@ -36,4 +36,3 @@ class Derived2 : Base2 { } } - diff --git a/compiler/testData/ir/irText/declarations/parameters/useNextParamInLambda.fir.txt b/compiler/testData/ir/irText/declarations/parameters/useNextParamInLambda.fir.ir.txt similarity index 100% rename from compiler/testData/ir/irText/declarations/parameters/useNextParamInLambda.fir.txt rename to compiler/testData/ir/irText/declarations/parameters/useNextParamInLambda.fir.ir.txt diff --git a/compiler/testData/ir/irText/declarations/parameters/useNextParamInLambda.txt b/compiler/testData/ir/irText/declarations/parameters/useNextParamInLambda.ir.txt similarity index 100% rename from compiler/testData/ir/irText/declarations/parameters/useNextParamInLambda.txt rename to compiler/testData/ir/irText/declarations/parameters/useNextParamInLambda.ir.txt diff --git a/compiler/testData/ir/irText/declarations/parameters/useNextParamInLambda.kt.txt b/compiler/testData/ir/irText/declarations/parameters/useNextParamInLambda.kt.txt index 5979d533669..bdb53cea279 100644 --- a/compiler/testData/ir/irText/declarations/parameters/useNextParamInLambda.kt.txt +++ b/compiler/testData/ir/irText/declarations/parameters/useNextParamInLambda.kt.txt @@ -25,4 +25,3 @@ fun box(): String { } )) } - diff --git a/compiler/testData/ir/irText/declarations/primaryCtorDefaultArguments.txt b/compiler/testData/ir/irText/declarations/primaryCtorDefaultArguments.ir.txt similarity index 100% rename from compiler/testData/ir/irText/declarations/primaryCtorDefaultArguments.txt rename to compiler/testData/ir/irText/declarations/primaryCtorDefaultArguments.ir.txt diff --git a/compiler/testData/ir/irText/declarations/primaryCtorDefaultArguments.kt.txt b/compiler/testData/ir/irText/declarations/primaryCtorDefaultArguments.kt.txt index 933cbd371df..2f0fb68dcc1 100644 --- a/compiler/testData/ir/irText/declarations/primaryCtorDefaultArguments.kt.txt +++ b/compiler/testData/ir/irText/declarations/primaryCtorDefaultArguments.kt.txt @@ -10,4 +10,3 @@ class Test { get } - diff --git a/compiler/testData/ir/irText/declarations/primaryCtorProperties.txt b/compiler/testData/ir/irText/declarations/primaryCtorProperties.ir.txt similarity index 100% rename from compiler/testData/ir/irText/declarations/primaryCtorProperties.txt rename to compiler/testData/ir/irText/declarations/primaryCtorProperties.ir.txt diff --git a/compiler/testData/ir/irText/declarations/primaryCtorProperties.kt.txt b/compiler/testData/ir/irText/declarations/primaryCtorProperties.kt.txt index 8ebd89a3b02..45b14209c1f 100644 --- a/compiler/testData/ir/irText/declarations/primaryCtorProperties.kt.txt +++ b/compiler/testData/ir/irText/declarations/primaryCtorProperties.kt.txt @@ -15,4 +15,3 @@ class C { set } - diff --git a/compiler/testData/ir/irText/declarations/provideDelegate/differentReceivers.txt b/compiler/testData/ir/irText/declarations/provideDelegate/differentReceivers.ir.txt similarity index 100% rename from compiler/testData/ir/irText/declarations/provideDelegate/differentReceivers.txt rename to compiler/testData/ir/irText/declarations/provideDelegate/differentReceivers.ir.txt diff --git a/compiler/testData/ir/irText/declarations/provideDelegate/differentReceivers.kt.txt b/compiler/testData/ir/irText/declarations/provideDelegate/differentReceivers.kt.txt index 8efa4a30fda..31861c9d41d 100644 --- a/compiler/testData/ir/irText/declarations/provideDelegate/differentReceivers.kt.txt +++ b/compiler/testData/ir/irText/declarations/provideDelegate/differentReceivers.kt.txt @@ -19,13 +19,13 @@ operator fun String.getValue(receiver: Any?, p: Any): String { return } -val testO: String /* by */ +val testO: String /* by */ field = MyClass(value = "O").provideDelegate(host = null, p = ::testO) get(): String { return #testO$delegate.getValue(receiver = null, p = ::testO) } -val testK: String /* by */ +val testK: String /* by */ field = "K" get(): String { return #testK$delegate.getValue(receiver = null, p = ::testK) @@ -34,4 +34,3 @@ val testK: String /* by */ val testOK: String field = ().plus(other = ()) get - diff --git a/compiler/testData/ir/irText/declarations/provideDelegate/javaDelegate.fir.txt b/compiler/testData/ir/irText/declarations/provideDelegate/javaDelegate.fir.ir.txt similarity index 100% rename from compiler/testData/ir/irText/declarations/provideDelegate/javaDelegate.fir.txt rename to compiler/testData/ir/irText/declarations/provideDelegate/javaDelegate.fir.ir.txt diff --git a/compiler/testData/ir/irText/declarations/provideDelegate/javaDelegate.txt b/compiler/testData/ir/irText/declarations/provideDelegate/javaDelegate.ir.txt similarity index 100% rename from compiler/testData/ir/irText/declarations/provideDelegate/javaDelegate.txt rename to compiler/testData/ir/irText/declarations/provideDelegate/javaDelegate.ir.txt diff --git a/compiler/testData/ir/irText/declarations/provideDelegate/local.txt b/compiler/testData/ir/irText/declarations/provideDelegate/local.ir.txt similarity index 100% rename from compiler/testData/ir/irText/declarations/provideDelegate/local.txt rename to compiler/testData/ir/irText/declarations/provideDelegate/local.ir.txt diff --git a/compiler/testData/ir/irText/declarations/provideDelegate/local.kt.txt b/compiler/testData/ir/irText/declarations/provideDelegate/local.kt.txt index 85d9f427021..2774c2e6739 100644 --- a/compiler/testData/ir/irText/declarations/provideDelegate/local.kt.txt +++ b/compiler/testData/ir/irText/declarations/provideDelegate/local.kt.txt @@ -40,4 +40,3 @@ fun foo() { } } - diff --git a/compiler/testData/ir/irText/declarations/provideDelegate/localDifferentReceivers.txt b/compiler/testData/ir/irText/declarations/provideDelegate/localDifferentReceivers.ir.txt similarity index 100% rename from compiler/testData/ir/irText/declarations/provideDelegate/localDifferentReceivers.txt rename to compiler/testData/ir/irText/declarations/provideDelegate/localDifferentReceivers.ir.txt diff --git a/compiler/testData/ir/irText/declarations/provideDelegate/localDifferentReceivers.kt.txt b/compiler/testData/ir/irText/declarations/provideDelegate/localDifferentReceivers.kt.txt index 56b89e59655..613eccbfd1c 100644 --- a/compiler/testData/ir/irText/declarations/provideDelegate/localDifferentReceivers.kt.txt +++ b/compiler/testData/ir/irText/declarations/provideDelegate/localDifferentReceivers.kt.txt @@ -35,4 +35,3 @@ fun box(): String { val testOK: String = ().plus(other = ()) return testOK } - diff --git a/compiler/testData/ir/irText/declarations/provideDelegate/member.txt b/compiler/testData/ir/irText/declarations/provideDelegate/member.ir.txt similarity index 100% rename from compiler/testData/ir/irText/declarations/provideDelegate/member.txt rename to compiler/testData/ir/irText/declarations/provideDelegate/member.ir.txt diff --git a/compiler/testData/ir/irText/declarations/provideDelegate/member.kt.txt b/compiler/testData/ir/irText/declarations/provideDelegate/member.kt.txt index 8125f7a3a47..73d6ed07b52 100644 --- a/compiler/testData/ir/irText/declarations/provideDelegate/member.kt.txt +++ b/compiler/testData/ir/irText/declarations/provideDelegate/member.kt.txt @@ -39,11 +39,10 @@ class Host { } - val testMember: String /* by */ + val testMember: String /* by */ field = DelegateProvider(value = "OK").provideDelegate(thisRef = , property = Host::testMember) get(): String { return .#testMember$delegate.getValue(thisRef = , property = Host::testMember) } } - diff --git a/compiler/testData/ir/irText/declarations/provideDelegate/memberExtension.txt b/compiler/testData/ir/irText/declarations/provideDelegate/memberExtension.ir.txt similarity index 100% rename from compiler/testData/ir/irText/declarations/provideDelegate/memberExtension.txt rename to compiler/testData/ir/irText/declarations/provideDelegate/memberExtension.ir.txt diff --git a/compiler/testData/ir/irText/declarations/provideDelegate/memberExtension.kt.txt b/compiler/testData/ir/irText/declarations/provideDelegate/memberExtension.kt.txt index 51163a7580b..175e23fdae8 100644 --- a/compiler/testData/ir/irText/declarations/provideDelegate/memberExtension.kt.txt +++ b/compiler/testData/ir/irText/declarations/provideDelegate/memberExtension.kt.txt @@ -26,7 +26,7 @@ object Host { return StringDelegate(s = ) } - val String.plusK: String /* by */ + val String.plusK: String /* by */ field = (, "K").provideDelegate(host = , p = Host::plusK) get(): String { return .#plusK$delegate.getValue(receiver = , p = Host::plusK) @@ -37,4 +37,3 @@ object Host { get } - diff --git a/compiler/testData/ir/irText/declarations/provideDelegate/topLevel.txt b/compiler/testData/ir/irText/declarations/provideDelegate/topLevel.ir.txt similarity index 100% rename from compiler/testData/ir/irText/declarations/provideDelegate/topLevel.txt rename to compiler/testData/ir/irText/declarations/provideDelegate/topLevel.ir.txt diff --git a/compiler/testData/ir/irText/declarations/provideDelegate/topLevel.kt.txt b/compiler/testData/ir/irText/declarations/provideDelegate/topLevel.kt.txt index eee35c45df1..71f73d8bf2f 100644 --- a/compiler/testData/ir/irText/declarations/provideDelegate/topLevel.kt.txt +++ b/compiler/testData/ir/irText/declarations/provideDelegate/topLevel.kt.txt @@ -32,9 +32,8 @@ class DelegateProvider { } -val testTopLevel: String /* by */ +val testTopLevel: String /* by */ field = DelegateProvider(value = "OK").provideDelegate(thisRef = null, property = ::testTopLevel) get(): String { return #testTopLevel$delegate.getValue(thisRef = null, property = ::testTopLevel) } - diff --git a/compiler/testData/ir/irText/declarations/typeAlias.fir.txt b/compiler/testData/ir/irText/declarations/typeAlias.fir.ir.txt similarity index 100% rename from compiler/testData/ir/irText/declarations/typeAlias.fir.txt rename to compiler/testData/ir/irText/declarations/typeAlias.fir.ir.txt diff --git a/compiler/testData/ir/irText/declarations/typeAlias.txt b/compiler/testData/ir/irText/declarations/typeAlias.ir.txt similarity index 100% rename from compiler/testData/ir/irText/declarations/typeAlias.txt rename to compiler/testData/ir/irText/declarations/typeAlias.ir.txt diff --git a/compiler/testData/ir/irText/declarations/typeAlias.kt.txt b/compiler/testData/ir/irText/declarations/typeAlias.kt.txt index fd388f1a6f8..bb08696464f 100644 --- a/compiler/testData/ir/irText/declarations/typeAlias.kt.txt +++ b/compiler/testData/ir/irText/declarations/typeAlias.kt.txt @@ -15,4 +15,3 @@ class C { typealias TestNested = String } - diff --git a/compiler/testData/ir/irText/errors/suppressedNonPublicCall.txt b/compiler/testData/ir/irText/errors/suppressedNonPublicCall.ir.txt similarity index 100% rename from compiler/testData/ir/irText/errors/suppressedNonPublicCall.txt rename to compiler/testData/ir/irText/errors/suppressedNonPublicCall.ir.txt diff --git a/compiler/testData/ir/irText/errors/suppressedNonPublicCall.kt.txt b/compiler/testData/ir/irText/errors/suppressedNonPublicCall.kt.txt index 248707a1ec8..6edea5bde80 100644 --- a/compiler/testData/ir/irText/errors/suppressedNonPublicCall.kt.txt +++ b/compiler/testData/ir/irText/errors/suppressedNonPublicCall.kt.txt @@ -13,4 +13,3 @@ class C { inline fun C.foo() { .bar() } - diff --git a/compiler/testData/ir/irText/errors/unresolvedReference.fir.kt.txt b/compiler/testData/ir/irText/errors/unresolvedReference.fir.kt.txt deleted file mode 100644 index 9f1140cad40..00000000000 --- a/compiler/testData/ir/irText/errors/unresolvedReference.fir.kt.txt +++ /dev/null @@ -1,16 +0,0 @@ -val test1: ErrorType - field = error("") /* ErrorCallExpression */ - get - -val test2: ErrorType - field = error("") /* ErrorCallExpression */ - get - -val test3: ErrorType - field = error("") /* ErrorCallExpression */56; - get - -val test4: ErrorType - field = error("") /* ErrorCallExpression */error("") /* ErrorExpression */; - get - diff --git a/compiler/testData/ir/irText/errors/unresolvedReference.fir.txt b/compiler/testData/ir/irText/errors/unresolvedReference.fir.txt deleted file mode 100644 index 97e9525359b..00000000000 --- a/compiler/testData/ir/irText/errors/unresolvedReference.fir.txt +++ /dev/null @@ -1,39 +0,0 @@ -FILE fqName: fileName:/unresolvedReference.kt - PROPERTY name:test1 visibility:public modality:FINAL [val] - FIELD PROPERTY_BACKING_FIELD name:test1 type:IrErrorType(null) visibility:private [final,static] - EXPRESSION_BODY - ERROR_CALL 'Unresolved reference: #' type=IrErrorType(null) - FUN DEFAULT_PROPERTY_ACCESSOR name: visibility:public modality:FINAL <> () returnType:IrErrorType(null) - correspondingProperty: PROPERTY name:test1 visibility:public modality:FINAL [val] - BLOCK_BODY - RETURN type=kotlin.Nothing from='public final fun (): IrErrorType(null) declared in ' - GET_FIELD 'FIELD PROPERTY_BACKING_FIELD name:test1 type:IrErrorType(null) visibility:private [final,static]' type=IrErrorType(null) origin=null - PROPERTY name:test2 visibility:public modality:FINAL [val] - FIELD PROPERTY_BACKING_FIELD name:test2 type:IrErrorType(null) visibility:private [final,static] - EXPRESSION_BODY - ERROR_CALL 'Unresolved reference: #' type=IrErrorType(null) - FUN DEFAULT_PROPERTY_ACCESSOR name: visibility:public modality:FINAL <> () returnType:IrErrorType(null) - correspondingProperty: PROPERTY name:test2 visibility:public modality:FINAL [val] - BLOCK_BODY - RETURN type=kotlin.Nothing from='public final fun (): IrErrorType(null) declared in ' - GET_FIELD 'FIELD PROPERTY_BACKING_FIELD name:test2 type:IrErrorType(null) visibility:private [final,static]' type=IrErrorType(null) origin=null - PROPERTY name:test3 visibility:public modality:FINAL [val] - FIELD PROPERTY_BACKING_FIELD name:test3 type:IrErrorType(null) visibility:private [final,static] - EXPRESSION_BODY - ERROR_CALL 'Unresolved reference: #' type=IrErrorType(null) - CONST Int type=kotlin.Int value=56 - FUN DEFAULT_PROPERTY_ACCESSOR name: visibility:public modality:FINAL <> () returnType:IrErrorType(null) - correspondingProperty: PROPERTY name:test3 visibility:public modality:FINAL [val] - BLOCK_BODY - RETURN type=kotlin.Nothing from='public final fun (): IrErrorType(null) declared in ' - GET_FIELD 'FIELD PROPERTY_BACKING_FIELD name:test3 type:IrErrorType(null) visibility:private [final,static]' type=IrErrorType(null) origin=null - PROPERTY name:test4 visibility:public modality:FINAL [val] - FIELD PROPERTY_BACKING_FIELD name:test4 type:IrErrorType(null) visibility:private [final,static] - EXPRESSION_BODY - ERROR_CALL 'Unresolved reference: #' type=IrErrorType(null) - ERROR_EXPR 'No right operand' type=IrErrorType(null) - FUN DEFAULT_PROPERTY_ACCESSOR name: visibility:public modality:FINAL <> () returnType:IrErrorType(null) - correspondingProperty: PROPERTY name:test4 visibility:public modality:FINAL [val] - BLOCK_BODY - RETURN type=kotlin.Nothing from='public final fun (): IrErrorType(null) declared in ' - GET_FIELD 'FIELD PROPERTY_BACKING_FIELD name:test4 type:IrErrorType(null) visibility:private [final,static]' type=IrErrorType(null) origin=null diff --git a/compiler/testData/ir/irText/errors/unresolvedReference.txt b/compiler/testData/ir/irText/errors/unresolvedReference.ir.txt similarity index 100% rename from compiler/testData/ir/irText/errors/unresolvedReference.txt rename to compiler/testData/ir/irText/errors/unresolvedReference.ir.txt diff --git a/compiler/testData/ir/irText/errors/unresolvedReference.kt.txt b/compiler/testData/ir/irText/errors/unresolvedReference.kt.txt index 08b6fef48b5..dea28a89ce8 100644 --- a/compiler/testData/ir/irText/errors/unresolvedReference.kt.txt +++ b/compiler/testData/ir/irText/errors/unresolvedReference.kt.txt @@ -13,4 +13,3 @@ val test3: ErrorType val test4: ErrorType field = error("") /* ErrorExpression */ get - diff --git a/compiler/testData/ir/irText/expressions/argumentMappedWithError.txt b/compiler/testData/ir/irText/expressions/argumentMappedWithError.ir.txt similarity index 100% rename from compiler/testData/ir/irText/expressions/argumentMappedWithError.txt rename to compiler/testData/ir/irText/expressions/argumentMappedWithError.ir.txt diff --git a/compiler/testData/ir/irText/expressions/argumentMappedWithError.kt.txt b/compiler/testData/ir/irText/expressions/argumentMappedWithError.kt.txt index 708f813e2f4..f74e529006e 100644 --- a/compiler/testData/ir/irText/expressions/argumentMappedWithError.kt.txt +++ b/compiler/testData/ir/irText/expressions/argumentMappedWithError.kt.txt @@ -9,4 +9,3 @@ fun main(args: Array) { val x: Int = 0 foo(arg = x.convert()) } - diff --git a/compiler/testData/ir/irText/expressions/arrayAccess.fir.txt b/compiler/testData/ir/irText/expressions/arrayAccess.fir.ir.txt similarity index 100% rename from compiler/testData/ir/irText/expressions/arrayAccess.fir.txt rename to compiler/testData/ir/irText/expressions/arrayAccess.fir.ir.txt diff --git a/compiler/testData/ir/irText/expressions/arrayAccess.txt b/compiler/testData/ir/irText/expressions/arrayAccess.ir.txt similarity index 100% rename from compiler/testData/ir/irText/expressions/arrayAccess.txt rename to compiler/testData/ir/irText/expressions/arrayAccess.ir.txt diff --git a/compiler/testData/ir/irText/expressions/arrayAccess.kt.txt b/compiler/testData/ir/irText/expressions/arrayAccess.kt.txt index 31fe99fc065..e33ba09ae54 100644 --- a/compiler/testData/ir/irText/expressions/arrayAccess.kt.txt +++ b/compiler/testData/ir/irText/expressions/arrayAccess.kt.txt @@ -9,4 +9,3 @@ fun foo(): Int { fun test(a: IntArray): Int { return a.get(index = 0).plus(other = a.get(index = ())).plus(other = a.get(index = foo())) } - diff --git a/compiler/testData/ir/irText/expressions/arrayAssignment.fir.txt b/compiler/testData/ir/irText/expressions/arrayAssignment.fir.ir.txt similarity index 100% rename from compiler/testData/ir/irText/expressions/arrayAssignment.fir.txt rename to compiler/testData/ir/irText/expressions/arrayAssignment.fir.ir.txt diff --git a/compiler/testData/ir/irText/expressions/arrayAssignment.txt b/compiler/testData/ir/irText/expressions/arrayAssignment.ir.txt similarity index 100% rename from compiler/testData/ir/irText/expressions/arrayAssignment.txt rename to compiler/testData/ir/irText/expressions/arrayAssignment.ir.txt diff --git a/compiler/testData/ir/irText/expressions/arrayAssignment.kt.txt b/compiler/testData/ir/irText/expressions/arrayAssignment.kt.txt index 1908e6e16f3..b3e3170c83c 100644 --- a/compiler/testData/ir/irText/expressions/arrayAssignment.kt.txt +++ b/compiler/testData/ir/irText/expressions/arrayAssignment.kt.txt @@ -10,4 +10,3 @@ fun foo(): Int { fun test2() { intArrayOf(elements = [1, 2, 3]).set(index = foo(), value = 1) } - diff --git a/compiler/testData/ir/irText/expressions/arrayAugmentedAssignment1.fir.txt b/compiler/testData/ir/irText/expressions/arrayAugmentedAssignment1.fir.ir.txt similarity index 100% rename from compiler/testData/ir/irText/expressions/arrayAugmentedAssignment1.fir.txt rename to compiler/testData/ir/irText/expressions/arrayAugmentedAssignment1.fir.ir.txt diff --git a/compiler/testData/ir/irText/expressions/arrayAugmentedAssignment1.txt b/compiler/testData/ir/irText/expressions/arrayAugmentedAssignment1.ir.txt similarity index 100% rename from compiler/testData/ir/irText/expressions/arrayAugmentedAssignment1.txt rename to compiler/testData/ir/irText/expressions/arrayAugmentedAssignment1.ir.txt diff --git a/compiler/testData/ir/irText/expressions/arrayAugmentedAssignment1.kt.txt b/compiler/testData/ir/irText/expressions/arrayAugmentedAssignment1.kt.txt index 9765c14f760..5742c6d0875 100644 --- a/compiler/testData/ir/irText/expressions/arrayAugmentedAssignment1.kt.txt +++ b/compiler/testData/ir/irText/expressions/arrayAugmentedAssignment1.kt.txt @@ -45,4 +45,3 @@ fun testMember(c: C) { tmp2 } /*~> Unit */ } - diff --git a/compiler/testData/ir/irText/expressions/arrayAugmentedAssignment2.fir.txt b/compiler/testData/ir/irText/expressions/arrayAugmentedAssignment2.fir.ir.txt similarity index 100% rename from compiler/testData/ir/irText/expressions/arrayAugmentedAssignment2.fir.txt rename to compiler/testData/ir/irText/expressions/arrayAugmentedAssignment2.fir.ir.txt diff --git a/compiler/testData/ir/irText/expressions/arrayAugmentedAssignment2.txt b/compiler/testData/ir/irText/expressions/arrayAugmentedAssignment2.ir.txt similarity index 100% rename from compiler/testData/ir/irText/expressions/arrayAugmentedAssignment2.txt rename to compiler/testData/ir/irText/expressions/arrayAugmentedAssignment2.ir.txt diff --git a/compiler/testData/ir/irText/expressions/arrayAugmentedAssignment2.kt.txt b/compiler/testData/ir/irText/expressions/arrayAugmentedAssignment2.kt.txt index f559f43b413..a20d56dd6fe 100644 --- a/compiler/testData/ir/irText/expressions/arrayAugmentedAssignment2.kt.txt +++ b/compiler/testData/ir/irText/expressions/arrayAugmentedAssignment2.kt.txt @@ -1,10 +1,10 @@ interface IA { - abstract operator fun get(index: String): Int + abstract operator fun get(index: String): Int } interface IB { - abstract operator fun IA.set(index: String, value: Int) + abstract operator fun IA.set(index: String, value: Int) } @@ -15,4 +15,3 @@ fun IB.test(a: IA) { (, tmp0_array).set(index = tmp1_index0, value = tmp0_array.get(index = tmp1_index0).plus(other = 42)) } } - diff --git a/compiler/testData/ir/irText/expressions/assignments.txt b/compiler/testData/ir/irText/expressions/assignments.ir.txt similarity index 100% rename from compiler/testData/ir/irText/expressions/assignments.txt rename to compiler/testData/ir/irText/expressions/assignments.ir.txt diff --git a/compiler/testData/ir/irText/expressions/assignments.kt.txt b/compiler/testData/ir/irText/expressions/assignments.kt.txt index c0d911db18c..ca01aad27ef 100644 --- a/compiler/testData/ir/irText/expressions/assignments.kt.txt +++ b/compiler/testData/ir/irText/expressions/assignments.kt.txt @@ -21,4 +21,3 @@ fun test1() { fun test2(r: Ref) { r.( = 0) } - diff --git a/compiler/testData/ir/irText/expressions/augmentedAssignment1.fir.txt b/compiler/testData/ir/irText/expressions/augmentedAssignment1.fir.ir.txt similarity index 100% rename from compiler/testData/ir/irText/expressions/augmentedAssignment1.fir.txt rename to compiler/testData/ir/irText/expressions/augmentedAssignment1.fir.ir.txt diff --git a/compiler/testData/ir/irText/expressions/augmentedAssignment1.txt b/compiler/testData/ir/irText/expressions/augmentedAssignment1.ir.txt similarity index 100% rename from compiler/testData/ir/irText/expressions/augmentedAssignment1.txt rename to compiler/testData/ir/irText/expressions/augmentedAssignment1.ir.txt diff --git a/compiler/testData/ir/irText/expressions/augmentedAssignment1.kt.txt b/compiler/testData/ir/irText/expressions/augmentedAssignment1.kt.txt index 0552bd582aa..407c751ea9a 100644 --- a/compiler/testData/ir/irText/expressions/augmentedAssignment1.kt.txt +++ b/compiler/testData/ir/irText/expressions/augmentedAssignment1.kt.txt @@ -29,4 +29,3 @@ fun testProperty() { ( = ().rem(other = 5)) } } - diff --git a/compiler/testData/ir/irText/expressions/augmentedAssignment2.fir.txt b/compiler/testData/ir/irText/expressions/augmentedAssignment2.fir.ir.txt similarity index 100% rename from compiler/testData/ir/irText/expressions/augmentedAssignment2.fir.txt rename to compiler/testData/ir/irText/expressions/augmentedAssignment2.fir.ir.txt diff --git a/compiler/testData/ir/irText/expressions/augmentedAssignment2.txt b/compiler/testData/ir/irText/expressions/augmentedAssignment2.ir.txt similarity index 100% rename from compiler/testData/ir/irText/expressions/augmentedAssignment2.txt rename to compiler/testData/ir/irText/expressions/augmentedAssignment2.ir.txt diff --git a/compiler/testData/ir/irText/expressions/augmentedAssignment2.kt.txt b/compiler/testData/ir/irText/expressions/augmentedAssignment2.kt.txt index 1d20e1313c0..8c3b714bb48 100644 --- a/compiler/testData/ir/irText/expressions/augmentedAssignment2.kt.txt +++ b/compiler/testData/ir/irText/expressions/augmentedAssignment2.kt.txt @@ -52,4 +52,3 @@ fun testProperty() { ().remAssign(s = "%=") } } - diff --git a/compiler/testData/ir/irText/expressions/augmentedAssignmentWithExpression.fir.txt b/compiler/testData/ir/irText/expressions/augmentedAssignmentWithExpression.fir.ir.txt similarity index 100% rename from compiler/testData/ir/irText/expressions/augmentedAssignmentWithExpression.fir.txt rename to compiler/testData/ir/irText/expressions/augmentedAssignmentWithExpression.fir.ir.txt diff --git a/compiler/testData/ir/irText/expressions/augmentedAssignmentWithExpression.txt b/compiler/testData/ir/irText/expressions/augmentedAssignmentWithExpression.ir.txt similarity index 100% rename from compiler/testData/ir/irText/expressions/augmentedAssignmentWithExpression.txt rename to compiler/testData/ir/irText/expressions/augmentedAssignmentWithExpression.ir.txt diff --git a/compiler/testData/ir/irText/expressions/augmentedAssignmentWithExpression.kt.txt b/compiler/testData/ir/irText/expressions/augmentedAssignmentWithExpression.kt.txt index 81ee66c9bc8..c4ee2156298 100644 --- a/compiler/testData/ir/irText/expressions/augmentedAssignmentWithExpression.kt.txt +++ b/compiler/testData/ir/irText/expressions/augmentedAssignmentWithExpression.kt.txt @@ -29,4 +29,3 @@ fun test3() { fun test4(a: Function0) { a.invoke().plusAssign(x = 1) } - diff --git a/compiler/testData/ir/irText/expressions/badBreakContinue.fir.kt.txt b/compiler/testData/ir/irText/expressions/badBreakContinue.fir.kt.txt deleted file mode 100644 index 68b59c5774b..00000000000 --- a/compiler/testData/ir/irText/expressions/badBreakContinue.fir.kt.txt +++ /dev/null @@ -1,29 +0,0 @@ -fun test1() { - error("") /* ErrorExpression */ - error("") /* ErrorExpression */ -} - -fun test2() { - L1@ while (true) { // BLOCK - error("") /* ErrorExpression */ - error("") /* ErrorExpression */ - } -} - -fun test3() { - L1@ while (true) { // BLOCK - val lambda: Function0 = local fun (): Nothing { - break@L1 - continue@L1 - } - - } -} - -fun test4() { - while (error("") /* ErrorExpression */) { // BLOCK - } - while (error("") /* ErrorExpression */) { // BLOCK - } -} - diff --git a/compiler/testData/ir/irText/expressions/badBreakContinue.fir.txt b/compiler/testData/ir/irText/expressions/badBreakContinue.fir.txt deleted file mode 100644 index 4861247b5ec..00000000000 --- a/compiler/testData/ir/irText/expressions/badBreakContinue.fir.txt +++ /dev/null @@ -1,31 +0,0 @@ -FILE fqName: fileName:/badBreakContinue.kt - FUN name:test1 visibility:public modality:FINAL <> () returnType:kotlin.Unit - BLOCK_BODY - ERROR_EXPR 'Unbound loop: break@@@[ERROR_EXPR(Cannot bind unlabeled jump to a loop)] ' type=kotlin.Nothing - ERROR_EXPR 'Unbound loop: continue@@@[ERROR_EXPR(Cannot bind unlabeled jump to a loop)] ' type=kotlin.Nothing - FUN name:test2 visibility:public modality:FINAL <> () returnType:kotlin.Unit - BLOCK_BODY - WHILE label=L1 origin=WHILE_LOOP - condition: CONST Boolean type=kotlin.Boolean value=true - body: BLOCK type=kotlin.Nothing origin=null - ERROR_EXPR 'Unbound loop: break@@@[ERROR_EXPR(Cannot bind label ERROR to a loop)] ' type=kotlin.Nothing - ERROR_EXPR 'Unbound loop: continue@@@[ERROR_EXPR(Cannot bind label ERROR to a loop)] ' type=kotlin.Nothing - FUN name:test3 visibility:public modality:FINAL <> () returnType:kotlin.Unit - BLOCK_BODY - WHILE label=L1 origin=WHILE_LOOP - condition: CONST Boolean type=kotlin.Boolean value=true - body: BLOCK type=kotlin.Unit origin=null - VAR name:lambda type:kotlin.Function0 [val] - FUN_EXPR type=kotlin.Function0 origin=LAMBDA - FUN LOCAL_FUNCTION_FOR_LAMBDA name: visibility:local modality:FINAL <> () returnType:kotlin.Nothing - BLOCK_BODY - BREAK label=L1 loop.label=L1 - CONTINUE label=L1 loop.label=L1 - FUN name:test4 visibility:public modality:FINAL <> () returnType:kotlin.Unit - BLOCK_BODY - WHILE label=null origin=WHILE_LOOP - condition: ERROR_EXPR 'Unbound loop: break@@@[ERROR_EXPR(Cannot bind unlabeled jump to a loop)] ' type=kotlin.Nothing - body: BLOCK type=kotlin.Unit origin=null - WHILE label=null origin=WHILE_LOOP - condition: ERROR_EXPR 'Unbound loop: continue@@@[ERROR_EXPR(Cannot bind unlabeled jump to a loop)] ' type=kotlin.Nothing - body: BLOCK type=kotlin.Unit origin=null diff --git a/compiler/testData/ir/irText/expressions/badBreakContinue.txt b/compiler/testData/ir/irText/expressions/badBreakContinue.ir.txt similarity index 100% rename from compiler/testData/ir/irText/expressions/badBreakContinue.txt rename to compiler/testData/ir/irText/expressions/badBreakContinue.ir.txt diff --git a/compiler/testData/ir/irText/expressions/badBreakContinue.kt.txt b/compiler/testData/ir/irText/expressions/badBreakContinue.kt.txt index 61259595601..639020d3918 100644 --- a/compiler/testData/ir/irText/expressions/badBreakContinue.kt.txt +++ b/compiler/testData/ir/irText/expressions/badBreakContinue.kt.txt @@ -26,4 +26,3 @@ fun test4() { while (error("") /* ErrorExpression */) { // BLOCK } } - diff --git a/compiler/testData/ir/irText/expressions/bangbang.fir.txt b/compiler/testData/ir/irText/expressions/bangbang.fir.ir.txt similarity index 100% rename from compiler/testData/ir/irText/expressions/bangbang.fir.txt rename to compiler/testData/ir/irText/expressions/bangbang.fir.ir.txt diff --git a/compiler/testData/ir/irText/expressions/bangbang.txt b/compiler/testData/ir/irText/expressions/bangbang.ir.txt similarity index 100% rename from compiler/testData/ir/irText/expressions/bangbang.txt rename to compiler/testData/ir/irText/expressions/bangbang.ir.txt diff --git a/compiler/testData/ir/irText/expressions/bangbang.kt.txt b/compiler/testData/ir/irText/expressions/bangbang.kt.txt index 8b1abe30418..d87d03ef071 100644 --- a/compiler/testData/ir/irText/expressions/bangbang.kt.txt +++ b/compiler/testData/ir/irText/expressions/bangbang.kt.txt @@ -27,4 +27,3 @@ fun test4(a: X) { a is String? -> useString(s = CHECK_NOT_NULL(arg0 = a) /*as String */) } } - diff --git a/compiler/testData/ir/irText/expressions/booleanConstsInAndAndOrOr.txt b/compiler/testData/ir/irText/expressions/booleanConstsInAndAndOrOr.ir.txt similarity index 100% rename from compiler/testData/ir/irText/expressions/booleanConstsInAndAndOrOr.txt rename to compiler/testData/ir/irText/expressions/booleanConstsInAndAndOrOr.ir.txt diff --git a/compiler/testData/ir/irText/expressions/booleanConstsInAndAndOrOr.kt.txt b/compiler/testData/ir/irText/expressions/booleanConstsInAndAndOrOr.kt.txt index 864cc27474d..2022ef93339 100644 --- a/compiler/testData/ir/irText/expressions/booleanConstsInAndAndOrOr.kt.txt +++ b/compiler/testData/ir/irText/expressions/booleanConstsInAndAndOrOr.kt.txt @@ -11,4 +11,3 @@ fun test2(b: Boolean) { else -> return Unit } /*~> Unit */ } - diff --git a/compiler/testData/ir/irText/expressions/booleanOperators.txt b/compiler/testData/ir/irText/expressions/booleanOperators.ir.txt similarity index 100% rename from compiler/testData/ir/irText/expressions/booleanOperators.txt rename to compiler/testData/ir/irText/expressions/booleanOperators.ir.txt diff --git a/compiler/testData/ir/irText/expressions/booleanOperators.kt.txt b/compiler/testData/ir/irText/expressions/booleanOperators.kt.txt index 527f5067a88..f9828aa853e 100644 --- a/compiler/testData/ir/irText/expressions/booleanOperators.kt.txt +++ b/compiler/testData/ir/irText/expressions/booleanOperators.kt.txt @@ -19,4 +19,3 @@ fun test1x(a: Boolean, b: Boolean): Boolean { fun test2x(a: Boolean, b: Boolean): Boolean { return a.or(other = b) } - diff --git a/compiler/testData/ir/irText/expressions/boundCallableReferences.txt b/compiler/testData/ir/irText/expressions/boundCallableReferences.ir.txt similarity index 100% rename from compiler/testData/ir/irText/expressions/boundCallableReferences.txt rename to compiler/testData/ir/irText/expressions/boundCallableReferences.ir.txt diff --git a/compiler/testData/ir/irText/expressions/boundCallableReferences.kt.txt b/compiler/testData/ir/irText/expressions/boundCallableReferences.kt.txt index ca4f8527672..2a528f9994b 100644 --- a/compiler/testData/ir/irText/expressions/boundCallableReferences.kt.txt +++ b/compiler/testData/ir/irText/expressions/boundCallableReferences.kt.txt @@ -28,4 +28,3 @@ val test2: KProperty0 val test3: KFunction0 field = A()::qux get - diff --git a/compiler/testData/ir/irText/expressions/boxOk.txt b/compiler/testData/ir/irText/expressions/boxOk.ir.txt similarity index 100% rename from compiler/testData/ir/irText/expressions/boxOk.txt rename to compiler/testData/ir/irText/expressions/boxOk.ir.txt diff --git a/compiler/testData/ir/irText/expressions/boxOk.kt.txt b/compiler/testData/ir/irText/expressions/boxOk.kt.txt index 2ac23663c71..091d04722b2 100644 --- a/compiler/testData/ir/irText/expressions/boxOk.kt.txt +++ b/compiler/testData/ir/irText/expressions/boxOk.kt.txt @@ -1,4 +1,3 @@ fun box(): String { return "OK" } - diff --git a/compiler/testData/ir/irText/expressions/breakContinue.fir.txt b/compiler/testData/ir/irText/expressions/breakContinue.fir.ir.txt similarity index 100% rename from compiler/testData/ir/irText/expressions/breakContinue.fir.txt rename to compiler/testData/ir/irText/expressions/breakContinue.fir.ir.txt diff --git a/compiler/testData/ir/irText/expressions/breakContinue.txt b/compiler/testData/ir/irText/expressions/breakContinue.ir.txt similarity index 100% rename from compiler/testData/ir/irText/expressions/breakContinue.txt rename to compiler/testData/ir/irText/expressions/breakContinue.ir.txt diff --git a/compiler/testData/ir/irText/expressions/breakContinue.kt.txt b/compiler/testData/ir/irText/expressions/breakContinue.kt.txt index d7ebb7a1ef3..823c42406dc 100644 --- a/compiler/testData/ir/irText/expressions/breakContinue.kt.txt +++ b/compiler/testData/ir/irText/expressions/breakContinue.kt.txt @@ -48,4 +48,3 @@ fun test3() { continue@L } } - diff --git a/compiler/testData/ir/irText/expressions/breakContinueInLoopHeader.fir.txt b/compiler/testData/ir/irText/expressions/breakContinueInLoopHeader.fir.ir.txt similarity index 100% rename from compiler/testData/ir/irText/expressions/breakContinueInLoopHeader.fir.txt rename to compiler/testData/ir/irText/expressions/breakContinueInLoopHeader.fir.ir.txt diff --git a/compiler/testData/ir/irText/expressions/breakContinueInLoopHeader.txt b/compiler/testData/ir/irText/expressions/breakContinueInLoopHeader.ir.txt similarity index 100% rename from compiler/testData/ir/irText/expressions/breakContinueInLoopHeader.txt rename to compiler/testData/ir/irText/expressions/breakContinueInLoopHeader.ir.txt diff --git a/compiler/testData/ir/irText/expressions/breakContinueInLoopHeader.kt.txt b/compiler/testData/ir/irText/expressions/breakContinueInLoopHeader.kt.txt index 7b8cf112add..1d0e4755de5 100644 --- a/compiler/testData/ir/irText/expressions/breakContinueInLoopHeader.kt.txt +++ b/compiler/testData/ir/irText/expressions/breakContinueInLoopHeader.kt.txt @@ -6,7 +6,7 @@ fun test1(c: Boolean?) { EQEQ(arg0 = tmp0_elvis_lhs, arg1 = null) -> break else -> tmp0_elvis_lhs } - }) + }) } } @@ -18,7 +18,7 @@ fun test2(c: Boolean?) { EQEQ(arg0 = tmp0_elvis_lhs, arg1 = null) -> continue else -> tmp0_elvis_lhs } - }) + }) } } @@ -80,4 +80,3 @@ fun test5() { } } } - diff --git a/compiler/testData/ir/irText/expressions/breakContinueInWhen.fir.txt b/compiler/testData/ir/irText/expressions/breakContinueInWhen.fir.ir.txt similarity index 100% rename from compiler/testData/ir/irText/expressions/breakContinueInWhen.fir.txt rename to compiler/testData/ir/irText/expressions/breakContinueInWhen.fir.ir.txt diff --git a/compiler/testData/ir/irText/expressions/breakContinueInWhen.txt b/compiler/testData/ir/irText/expressions/breakContinueInWhen.ir.txt similarity index 100% rename from compiler/testData/ir/irText/expressions/breakContinueInWhen.txt rename to compiler/testData/ir/irText/expressions/breakContinueInWhen.ir.txt diff --git a/compiler/testData/ir/irText/expressions/breakContinueInWhen.kt.txt b/compiler/testData/ir/irText/expressions/breakContinueInWhen.kt.txt index 850acd9f9d3..76bc6a94125 100644 --- a/compiler/testData/ir/irText/expressions/breakContinueInWhen.kt.txt +++ b/compiler/testData/ir/irText/expressions/breakContinueInWhen.kt.txt @@ -84,4 +84,3 @@ fun testContinueDoWhile() { EQEQ(arg0 = s, arg1 = "1;2;").not() -> throw AssertionError(p0 = s) } } - diff --git a/compiler/testData/ir/irText/expressions/callWithReorderedArguments.txt b/compiler/testData/ir/irText/expressions/callWithReorderedArguments.ir.txt similarity index 100% rename from compiler/testData/ir/irText/expressions/callWithReorderedArguments.txt rename to compiler/testData/ir/irText/expressions/callWithReorderedArguments.ir.txt diff --git a/compiler/testData/ir/irText/expressions/callWithReorderedArguments.kt.txt b/compiler/testData/ir/irText/expressions/callWithReorderedArguments.kt.txt index e826599375a..2c1d4eddc74 100644 --- a/compiler/testData/ir/irText/expressions/callWithReorderedArguments.kt.txt +++ b/compiler/testData/ir/irText/expressions/callWithReorderedArguments.kt.txt @@ -29,4 +29,3 @@ fun test() { foo(a = tmp2_a, b = 1) } } - diff --git a/compiler/testData/ir/irText/expressions/callableReferences/adaptedExtensionFunctions.fir.txt b/compiler/testData/ir/irText/expressions/callableReferences/adaptedExtensionFunctions.fir.ir.txt similarity index 100% rename from compiler/testData/ir/irText/expressions/callableReferences/adaptedExtensionFunctions.fir.txt rename to compiler/testData/ir/irText/expressions/callableReferences/adaptedExtensionFunctions.fir.ir.txt diff --git a/compiler/testData/ir/irText/expressions/callableReferences/adaptedExtensionFunctions.txt b/compiler/testData/ir/irText/expressions/callableReferences/adaptedExtensionFunctions.ir.txt similarity index 100% rename from compiler/testData/ir/irText/expressions/callableReferences/adaptedExtensionFunctions.txt rename to compiler/testData/ir/irText/expressions/callableReferences/adaptedExtensionFunctions.ir.txt diff --git a/compiler/testData/ir/irText/expressions/callableReferences/adaptedExtensionFunctions.kt.txt b/compiler/testData/ir/irText/expressions/callableReferences/adaptedExtensionFunctions.kt.txt index b28c2fbf482..7d7a72fd25c 100644 --- a/compiler/testData/ir/irText/expressions/callableReferences/adaptedExtensionFunctions.kt.txt +++ b/compiler/testData/ir/irText/expressions/callableReferences/adaptedExtensionFunctions.kt.txt @@ -48,4 +48,3 @@ fun testExtensionBoth() { ::extensionBoth }) } - diff --git a/compiler/testData/ir/irText/expressions/callableReferences/adaptedWithCoercionToUnit.fir.txt b/compiler/testData/ir/irText/expressions/callableReferences/adaptedWithCoercionToUnit.fir.ir.txt similarity index 100% rename from compiler/testData/ir/irText/expressions/callableReferences/adaptedWithCoercionToUnit.fir.txt rename to compiler/testData/ir/irText/expressions/callableReferences/adaptedWithCoercionToUnit.fir.ir.txt diff --git a/compiler/testData/ir/irText/expressions/callableReferences/adaptedWithCoercionToUnit.txt b/compiler/testData/ir/irText/expressions/callableReferences/adaptedWithCoercionToUnit.ir.txt similarity index 100% rename from compiler/testData/ir/irText/expressions/callableReferences/adaptedWithCoercionToUnit.txt rename to compiler/testData/ir/irText/expressions/callableReferences/adaptedWithCoercionToUnit.ir.txt diff --git a/compiler/testData/ir/irText/expressions/callableReferences/adaptedWithCoercionToUnit.kt.txt b/compiler/testData/ir/irText/expressions/callableReferences/adaptedWithCoercionToUnit.kt.txt index c50ccf7abca..be9607dcd33 100644 --- a/compiler/testData/ir/irText/expressions/callableReferences/adaptedWithCoercionToUnit.kt.txt +++ b/compiler/testData/ir/irText/expressions/callableReferences/adaptedWithCoercionToUnit.kt.txt @@ -55,4 +55,3 @@ fun testV1() { ::fnv }) } - diff --git a/compiler/testData/ir/irText/expressions/callableReferences/boundInlineAdaptedReference.fir.txt b/compiler/testData/ir/irText/expressions/callableReferences/boundInlineAdaptedReference.fir.ir.txt similarity index 100% rename from compiler/testData/ir/irText/expressions/callableReferences/boundInlineAdaptedReference.fir.txt rename to compiler/testData/ir/irText/expressions/callableReferences/boundInlineAdaptedReference.fir.ir.txt diff --git a/compiler/testData/ir/irText/expressions/callableReferences/boundInlineAdaptedReference.txt b/compiler/testData/ir/irText/expressions/callableReferences/boundInlineAdaptedReference.ir.txt similarity index 100% rename from compiler/testData/ir/irText/expressions/callableReferences/boundInlineAdaptedReference.txt rename to compiler/testData/ir/irText/expressions/callableReferences/boundInlineAdaptedReference.ir.txt diff --git a/compiler/testData/ir/irText/expressions/callableReferences/boundInlineAdaptedReference.kt.txt b/compiler/testData/ir/irText/expressions/callableReferences/boundInlineAdaptedReference.kt.txt index d60b4845702..0b0eeca0d10 100644 --- a/compiler/testData/ir/irText/expressions/callableReferences/boundInlineAdaptedReference.kt.txt +++ b/compiler/testData/ir/irText/expressions/callableReferences/boundInlineAdaptedReference.kt.txt @@ -16,4 +16,3 @@ fun test() { "Fail"::id }) } - diff --git a/compiler/testData/ir/irText/expressions/callableReferences/boundInnerGenericConstructor.txt b/compiler/testData/ir/irText/expressions/callableReferences/boundInnerGenericConstructor.ir.txt similarity index 100% rename from compiler/testData/ir/irText/expressions/callableReferences/boundInnerGenericConstructor.txt rename to compiler/testData/ir/irText/expressions/callableReferences/boundInnerGenericConstructor.ir.txt diff --git a/compiler/testData/ir/irText/expressions/callableReferences/boundInnerGenericConstructor.kt.txt b/compiler/testData/ir/irText/expressions/callableReferences/boundInnerGenericConstructor.kt.txt index 5702311cbf9..f8f2c9ac77f 100644 --- a/compiler/testData/ir/irText/expressions/callableReferences/boundInnerGenericConstructor.kt.txt +++ b/compiler/testData/ir/irText/expressions/callableReferences/boundInnerGenericConstructor.kt.txt @@ -35,4 +35,3 @@ fun box(): String { val foo: Inner = foo(a = "O", b = "K", x = z::/*()*/) return foo.().plus(other = foo.()) } - diff --git a/compiler/testData/ir/irText/expressions/callableReferences/caoWithAdaptationForSam.fir.kt.txt b/compiler/testData/ir/irText/expressions/callableReferences/caoWithAdaptationForSam.fir.kt.txt deleted file mode 100644 index 11b0ca2a342..00000000000 --- a/compiler/testData/ir/irText/expressions/callableReferences/caoWithAdaptationForSam.fir.kt.txt +++ /dev/null @@ -1,89 +0,0 @@ -fun interface IFoo { - abstract fun foo(i: Int) - -} - -fun interface IFoo2 : IFoo { - -} - -object A { - private constructor() /* primary */ { - super/*Any*/() - /* () */ - - } - -} - -object B { - private constructor() /* primary */ { - super/*Any*/() - /* () */ - - } - -} - -operator fun A.get(i: IFoo): Int { - return 1 -} - -operator fun A.set(i: IFoo, newValue: Int) { -} - -operator fun B.get(i: IFoo): Int { - return 1 -} - -operator fun B.set(i: IFoo2, newValue: Int) { -} - -fun withVararg(vararg xs: Int): Int { - return 42 -} - -fun test1() { - error("") /* ErrorCallExpression */ -} - -fun test2() { - error("") /* ErrorCallExpression */ -} - -fun test3(fn: Function1) { - { // BLOCK - val <>: A = A - val <>: Function1 = fn - <>.set(i = <> /*-> IFoo */, newValue = <>.get(i = <> /*-> IFoo */).plus(other = 1)) - } -} - -fun test4(fn: Function1) { - when { - fn is IFoo -> { // BLOCK - val <>: A = A - val <>: Function1 = fn /*as IFoo */ - <>.set(i = <> /*as IFoo */, newValue = <>.get(i = <> /*as IFoo */).plus(other = 1)) - } - } -} - -fun test5(a: Any) { - a as Function1 /*~> Unit */ - { // BLOCK - val <>: A = A - val <>: Any = a /*as Function1 */ - <>.set(i = <> /*as Function1 */ /*-> IFoo */, newValue = <>.get(i = <> /*as Function1 */ /*-> IFoo */).plus(other = 1)) - } -} - -fun test6(a: Any) { - a as Function1 /*~> Unit */ - a /*as Function1 */ as IFoo /*~> Unit */ - { // BLOCK - val <>: A = A - val <>: Any = a /*as Function1 */ - <>.set(i = <> /*as Function1 */, newValue = <>.get(i = <> /*as Function1 */).plus(other = 1)) - } -} diff --git a/compiler/testData/ir/irText/expressions/callableReferences/caoWithAdaptationForSam.fir.txt b/compiler/testData/ir/irText/expressions/callableReferences/caoWithAdaptationForSam.fir.txt deleted file mode 100644 index 6bac604577d..00000000000 --- a/compiler/testData/ir/irText/expressions/callableReferences/caoWithAdaptationForSam.fir.txt +++ /dev/null @@ -1,201 +0,0 @@ -FILE fqName: fileName:/caoWithAdaptationForSam.kt - CLASS INTERFACE name:IFoo modality:ABSTRACT visibility:public [fun] superTypes:[kotlin.Any] - $this: VALUE_PARAMETER INSTANCE_RECEIVER name: type:.IFoo - FUN name:foo visibility:public modality:ABSTRACT <> ($this:.IFoo, i:kotlin.Int) returnType:kotlin.Unit - $this: VALUE_PARAMETER name: type:.IFoo - VALUE_PARAMETER name:i index:0 type:kotlin.Int - FUN FAKE_OVERRIDE name:equals visibility:public modality:OPEN <> ($this:kotlin.Any, other:kotlin.Any?) returnType:kotlin.Boolean [fake_override,operator] - overridden: - public open fun equals (other: kotlin.Any?): kotlin.Boolean [operator] declared in kotlin.Any - $this: VALUE_PARAMETER name: type:kotlin.Any - VALUE_PARAMETER name:other index:0 type:kotlin.Any? - FUN FAKE_OVERRIDE name:hashCode visibility:public modality:OPEN <> ($this:kotlin.Any) returnType:kotlin.Int [fake_override] - overridden: - public open fun hashCode (): kotlin.Int declared in kotlin.Any - $this: VALUE_PARAMETER name: type:kotlin.Any - FUN FAKE_OVERRIDE name:toString visibility:public modality:OPEN <> ($this:kotlin.Any) returnType:kotlin.String [fake_override] - overridden: - public open fun toString (): kotlin.String declared in kotlin.Any - $this: VALUE_PARAMETER name: type:kotlin.Any - CLASS INTERFACE name:IFoo2 modality:ABSTRACT visibility:public [fun] superTypes:[.IFoo] - $this: VALUE_PARAMETER INSTANCE_RECEIVER name: type:.IFoo2 - FUN FAKE_OVERRIDE name:foo visibility:public modality:ABSTRACT <> ($this:.IFoo, i:kotlin.Int) returnType:kotlin.Unit [fake_override] - overridden: - public abstract fun foo (i: kotlin.Int): kotlin.Unit declared in .IFoo - $this: VALUE_PARAMETER name: type:.IFoo - VALUE_PARAMETER name:i index:0 type:kotlin.Int - FUN FAKE_OVERRIDE name:equals visibility:public modality:OPEN <> ($this:kotlin.Any, other:kotlin.Any?) returnType:kotlin.Boolean [fake_override,operator] - overridden: - public open fun equals (other: kotlin.Any?): kotlin.Boolean [fake_override,operator] declared in .IFoo - $this: VALUE_PARAMETER name: type:kotlin.Any - VALUE_PARAMETER name:other index:0 type:kotlin.Any? - FUN FAKE_OVERRIDE name:hashCode visibility:public modality:OPEN <> ($this:kotlin.Any) returnType:kotlin.Int [fake_override] - overridden: - public open fun hashCode (): kotlin.Int [fake_override] declared in .IFoo - $this: VALUE_PARAMETER name: type:kotlin.Any - FUN FAKE_OVERRIDE name:toString visibility:public modality:OPEN <> ($this:kotlin.Any) returnType:kotlin.String [fake_override] - overridden: - public open fun toString (): kotlin.String [fake_override] declared in .IFoo - $this: VALUE_PARAMETER name: type:kotlin.Any - CLASS OBJECT name:A modality:FINAL visibility:public superTypes:[kotlin.Any] - $this: VALUE_PARAMETER INSTANCE_RECEIVER name: type:.A - CONSTRUCTOR visibility:private <> () returnType:.A [primary] - BLOCK_BODY - DELEGATING_CONSTRUCTOR_CALL 'public constructor () [primary] declared in kotlin.Any' - INSTANCE_INITIALIZER_CALL classDescriptor='CLASS OBJECT name:A modality:FINAL visibility:public superTypes:[kotlin.Any]' - FUN FAKE_OVERRIDE name:equals visibility:public modality:OPEN <> ($this:kotlin.Any, other:kotlin.Any?) returnType:kotlin.Boolean [fake_override,operator] - overridden: - public open fun equals (other: kotlin.Any?): kotlin.Boolean [operator] declared in kotlin.Any - $this: VALUE_PARAMETER name: type:kotlin.Any - VALUE_PARAMETER name:other index:0 type:kotlin.Any? - FUN FAKE_OVERRIDE name:hashCode visibility:public modality:OPEN <> ($this:kotlin.Any) returnType:kotlin.Int [fake_override] - overridden: - public open fun hashCode (): kotlin.Int declared in kotlin.Any - $this: VALUE_PARAMETER name: type:kotlin.Any - FUN FAKE_OVERRIDE name:toString visibility:public modality:OPEN <> ($this:kotlin.Any) returnType:kotlin.String [fake_override] - overridden: - public open fun toString (): kotlin.String declared in kotlin.Any - $this: VALUE_PARAMETER name: type:kotlin.Any - CLASS OBJECT name:B modality:FINAL visibility:public superTypes:[kotlin.Any] - $this: VALUE_PARAMETER INSTANCE_RECEIVER name: type:.B - CONSTRUCTOR visibility:private <> () returnType:.B [primary] - BLOCK_BODY - DELEGATING_CONSTRUCTOR_CALL 'public constructor () [primary] declared in kotlin.Any' - INSTANCE_INITIALIZER_CALL classDescriptor='CLASS OBJECT name:B modality:FINAL visibility:public superTypes:[kotlin.Any]' - FUN FAKE_OVERRIDE name:equals visibility:public modality:OPEN <> ($this:kotlin.Any, other:kotlin.Any?) returnType:kotlin.Boolean [fake_override,operator] - overridden: - public open fun equals (other: kotlin.Any?): kotlin.Boolean [operator] declared in kotlin.Any - $this: VALUE_PARAMETER name: type:kotlin.Any - VALUE_PARAMETER name:other index:0 type:kotlin.Any? - FUN FAKE_OVERRIDE name:hashCode visibility:public modality:OPEN <> ($this:kotlin.Any) returnType:kotlin.Int [fake_override] - overridden: - public open fun hashCode (): kotlin.Int declared in kotlin.Any - $this: VALUE_PARAMETER name: type:kotlin.Any - FUN FAKE_OVERRIDE name:toString visibility:public modality:OPEN <> ($this:kotlin.Any) returnType:kotlin.String [fake_override] - overridden: - public open fun toString (): kotlin.String declared in kotlin.Any - $this: VALUE_PARAMETER name: type:kotlin.Any - FUN name:get visibility:public modality:FINAL <> ($receiver:.A, i:.IFoo) returnType:kotlin.Int [operator] - $receiver: VALUE_PARAMETER name: type:.A - VALUE_PARAMETER name:i index:0 type:.IFoo - BLOCK_BODY - RETURN type=kotlin.Nothing from='public final fun get (i: .IFoo): kotlin.Int [operator] declared in ' - CONST Int type=kotlin.Int value=1 - FUN name:set visibility:public modality:FINAL <> ($receiver:.A, i:.IFoo, newValue:kotlin.Int) returnType:kotlin.Unit [operator] - $receiver: VALUE_PARAMETER name: type:.A - VALUE_PARAMETER name:i index:0 type:.IFoo - VALUE_PARAMETER name:newValue index:1 type:kotlin.Int - BLOCK_BODY - FUN name:get visibility:public modality:FINAL <> ($receiver:.B, i:.IFoo) returnType:kotlin.Int [operator] - $receiver: VALUE_PARAMETER name: type:.B - VALUE_PARAMETER name:i index:0 type:.IFoo - BLOCK_BODY - RETURN type=kotlin.Nothing from='public final fun get (i: .IFoo): kotlin.Int [operator] declared in ' - CONST Int type=kotlin.Int value=1 - FUN name:set visibility:public modality:FINAL <> ($receiver:.B, i:.IFoo2, newValue:kotlin.Int) returnType:kotlin.Unit [operator] - $receiver: VALUE_PARAMETER name: type:.B - VALUE_PARAMETER name:i index:0 type:.IFoo2 - VALUE_PARAMETER name:newValue index:1 type:kotlin.Int - BLOCK_BODY - FUN name:withVararg visibility:public modality:FINAL <> (xs:kotlin.IntArray) returnType:kotlin.Int - VALUE_PARAMETER name:xs index:0 type:kotlin.IntArray varargElementType:kotlin.Int [vararg] - BLOCK_BODY - RETURN type=kotlin.Nothing from='public final fun withVararg (vararg xs: kotlin.Int): kotlin.Int declared in ' - CONST Int type=kotlin.Int value=42 - FUN name:test1 visibility:public modality:FINAL <> () returnType:kotlin.Unit - BLOCK_BODY - ERROR_CALL 'FirArraySetCall (resolve isn't supported yet)' type=kotlin.Unit - FUN name:test2 visibility:public modality:FINAL <> () returnType:kotlin.Unit - BLOCK_BODY - ERROR_CALL 'FirArraySetCall (resolve isn't supported yet)' type=kotlin.Unit - FUN name:test3 visibility:public modality:FINAL <> (fn:kotlin.Function1) returnType:kotlin.Unit - VALUE_PARAMETER name:fn index:0 type:kotlin.Function1 - BLOCK_BODY - BLOCK type=kotlin.Unit origin=null - VAR IR_TEMPORARY_VARIABLE name:tmp_0 type:.A [val] - GET_OBJECT 'CLASS OBJECT name:A modality:FINAL visibility:public superTypes:[kotlin.Any]' type=.A - VAR IR_TEMPORARY_VARIABLE name:tmp_1 type:kotlin.Function1 [val] - GET_VAR 'fn: kotlin.Function1 declared in .test3' type=kotlin.Function1 origin=null - CALL 'public final fun set (i: .IFoo, newValue: kotlin.Int): kotlin.Unit [operator] declared in ' type=kotlin.Unit origin=null - $receiver: GET_VAR 'val tmp_0: .A [val] declared in .test3' type=.A origin=null - i: TYPE_OP type=.IFoo origin=SAM_CONVERSION typeOperand=.IFoo - GET_VAR 'val tmp_1: kotlin.Function1 [val] declared in .test3' type=kotlin.Function1 origin=null - newValue: CALL 'public final fun plus (other: kotlin.Int): kotlin.Int [operator] declared in kotlin.Int' type=kotlin.Int origin=null - $this: CALL 'public final fun get (i: .IFoo): kotlin.Int [operator] declared in ' type=kotlin.Int origin=null - $receiver: GET_VAR 'val tmp_0: .A [val] declared in .test3' type=.A origin=null - i: TYPE_OP type=.IFoo origin=SAM_CONVERSION typeOperand=.IFoo - GET_VAR 'val tmp_1: kotlin.Function1 [val] declared in .test3' type=kotlin.Function1 origin=null - other: CONST Int type=kotlin.Int value=1 - FUN name:test4 visibility:public modality:FINAL <> (fn:kotlin.Function1) returnType:kotlin.Unit - VALUE_PARAMETER name:fn index:0 type:kotlin.Function1 - BLOCK_BODY - WHEN type=kotlin.Unit origin=IF - BRANCH - if: TYPE_OP type=kotlin.Boolean origin=INSTANCEOF typeOperand=.IFoo - GET_VAR 'fn: kotlin.Function1 declared in .test4' type=kotlin.Function1 origin=null - then: BLOCK type=kotlin.Unit origin=null - VAR IR_TEMPORARY_VARIABLE name:tmp_2 type:.A [val] - GET_OBJECT 'CLASS OBJECT name:A modality:FINAL visibility:public superTypes:[kotlin.Any]' type=.A - VAR IR_TEMPORARY_VARIABLE name:tmp_3 type:kotlin.Function1 [val] - TYPE_OP type=.IFoo origin=IMPLICIT_CAST typeOperand=.IFoo - GET_VAR 'fn: kotlin.Function1 declared in .test4' type=kotlin.Function1 origin=null - CALL 'public final fun set (i: .IFoo, newValue: kotlin.Int): kotlin.Unit [operator] declared in ' type=kotlin.Unit origin=null - $receiver: GET_VAR 'val tmp_2: .A [val] declared in .test4' type=.A origin=null - i: TYPE_OP type=.IFoo origin=IMPLICIT_CAST typeOperand=.IFoo - GET_VAR 'val tmp_3: kotlin.Function1 [val] declared in .test4' type=kotlin.Function1 origin=null - newValue: CALL 'public final fun plus (other: kotlin.Int): kotlin.Int [operator] declared in kotlin.Int' type=kotlin.Int origin=null - $this: CALL 'public final fun get (i: .IFoo): kotlin.Int [operator] declared in ' type=kotlin.Int origin=null - $receiver: GET_VAR 'val tmp_2: .A [val] declared in .test4' type=.A origin=null - i: TYPE_OP type=.IFoo origin=IMPLICIT_CAST typeOperand=.IFoo - GET_VAR 'val tmp_3: kotlin.Function1 [val] declared in .test4' type=kotlin.Function1 origin=null - other: CONST Int type=kotlin.Int value=1 - FUN name:test5 visibility:public modality:FINAL <> (a:kotlin.Any) returnType:kotlin.Unit - VALUE_PARAMETER name:a index:0 type:kotlin.Any - BLOCK_BODY - TYPE_OP type=kotlin.Unit origin=IMPLICIT_COERCION_TO_UNIT typeOperand=kotlin.Unit - TYPE_OP type=kotlin.Function1 origin=CAST typeOperand=kotlin.Function1 - GET_VAR 'a: kotlin.Any declared in .test5' type=kotlin.Any origin=null - BLOCK type=kotlin.Unit origin=null - VAR IR_TEMPORARY_VARIABLE name:tmp_4 type:.A [val] - GET_OBJECT 'CLASS OBJECT name:A modality:FINAL visibility:public superTypes:[kotlin.Any]' type=.A - VAR IR_TEMPORARY_VARIABLE name:tmp_5 type:kotlin.Any [val] - TYPE_OP type=kotlin.Function1 origin=IMPLICIT_CAST typeOperand=kotlin.Function1 - GET_VAR 'a: kotlin.Any declared in .test5' type=kotlin.Any origin=null - CALL 'public final fun set (i: .IFoo, newValue: kotlin.Int): kotlin.Unit [operator] declared in ' type=kotlin.Unit origin=null - $receiver: GET_VAR 'val tmp_4: .A [val] declared in .test5' type=.A origin=null - i: TYPE_OP type=.IFoo origin=SAM_CONVERSION typeOperand=.IFoo - TYPE_OP type=kotlin.Function1 origin=IMPLICIT_CAST typeOperand=kotlin.Function1 - GET_VAR 'val tmp_5: kotlin.Any [val] declared in .test5' type=kotlin.Any origin=null - newValue: CALL 'public final fun plus (other: kotlin.Int): kotlin.Int [operator] declared in kotlin.Int' type=kotlin.Int origin=null - $this: CALL 'public final fun get (i: .IFoo): kotlin.Int [operator] declared in ' type=kotlin.Int origin=null - $receiver: GET_VAR 'val tmp_4: .A [val] declared in .test5' type=.A origin=null - i: TYPE_OP type=.IFoo origin=SAM_CONVERSION typeOperand=.IFoo - TYPE_OP type=kotlin.Function1 origin=IMPLICIT_CAST typeOperand=kotlin.Function1 - GET_VAR 'val tmp_5: kotlin.Any [val] declared in .test5' type=kotlin.Any origin=null - other: CONST Int type=kotlin.Int value=1 - FUN name:test6 visibility:public modality:FINAL <> (a:kotlin.Any) returnType:kotlin.Unit - VALUE_PARAMETER name:a index:0 type:kotlin.Any - BLOCK_BODY - TYPE_OP type=kotlin.Unit origin=IMPLICIT_COERCION_TO_UNIT typeOperand=kotlin.Unit - TYPE_OP type=kotlin.Function1 origin=CAST typeOperand=kotlin.Function1 - GET_VAR 'a: kotlin.Any declared in .test6' type=kotlin.Any origin=null - TYPE_OP type=kotlin.Unit origin=IMPLICIT_COERCION_TO_UNIT typeOperand=kotlin.Unit - TYPE_OP type=.IFoo origin=CAST typeOperand=.IFoo - TYPE_OP type=kotlin.Function1 origin=IMPLICIT_CAST typeOperand=kotlin.Function1 - GET_VAR 'a: kotlin.Any declared in .test6' type=kotlin.Any origin=null - BLOCK type=kotlin.Unit origin=null - VAR IR_TEMPORARY_VARIABLE name:tmp_6 type:.A [val] - GET_OBJECT 'CLASS OBJECT name:A modality:FINAL visibility:public superTypes:[kotlin.Any]' type=.A - VAR IR_TEMPORARY_VARIABLE name:tmp_7 type:kotlin.Any [val] - TYPE_OP type=kotlin.Function1 origin=IMPLICIT_CAST typeOperand=kotlin.Function1 - GET_VAR 'a: kotlin.Any declared in .test6' type=kotlin.Any origin=null - CALL 'public final fun set (i: .IFoo, newValue: kotlin.Int): kotlin.Unit [operator] declared in ' type=kotlin.Unit origin=null - $receiver: GET_VAR 'val tmp_6: .A [val] declared in .test6' type=.A origin=null - i: TYPE_OP type=kotlin.Function1 origin=IMPLICIT_CAST typeOperand=kotlin.Function1 - GET_VAR 'val tmp_7: kotlin.Any [val] declared in .test6' type=kotlin.Any origin=null - newValue: CALL 'public final fun plus (other: kotlin.Int): kotlin.Int [operator] declared in kotlin.Int' type=kotlin.Int origin=null - $this: CALL 'public final fun get (i: .IFoo): kotlin.Int [operator] declared in ' type=kotlin.Int origin=null - $receiver: GET_VAR 'val tmp_6: .A [val] declared in .test6' type=.A origin=null - i: TYPE_OP type=kotlin.Function1 origin=IMPLICIT_CAST typeOperand=kotlin.Function1 - GET_VAR 'val tmp_7: kotlin.Any [val] declared in .test6' type=kotlin.Any origin=null - other: CONST Int type=kotlin.Int value=1 diff --git a/compiler/testData/ir/irText/expressions/callableReferences/caoWithAdaptationForSam.txt b/compiler/testData/ir/irText/expressions/callableReferences/caoWithAdaptationForSam.ir.txt similarity index 100% rename from compiler/testData/ir/irText/expressions/callableReferences/caoWithAdaptationForSam.txt rename to compiler/testData/ir/irText/expressions/callableReferences/caoWithAdaptationForSam.ir.txt diff --git a/compiler/testData/ir/irText/expressions/callableReferences/caoWithAdaptationForSam.kt.txt b/compiler/testData/ir/irText/expressions/callableReferences/caoWithAdaptationForSam.kt.txt index 180f88e39f0..c001c484440 100644 --- a/compiler/testData/ir/irText/expressions/callableReferences/caoWithAdaptationForSam.kt.txt +++ b/compiler/testData/ir/irText/expressions/callableReferences/caoWithAdaptationForSam.kt.txt @@ -1,5 +1,5 @@ fun interface IFoo { - abstract fun foo(i: Int) + abstract fun foo(i: Int) } @@ -109,4 +109,3 @@ fun test6(a: Any) { tmp0_array.set(i = tmp1_index0 /*as IFoo */, newValue = tmp0_array.get(i = tmp1_index0 /*as IFoo */).plus(other = 1)) } } - diff --git a/compiler/testData/ir/irText/expressions/callableReferences/constructorWithAdaptedArguments.fir.txt b/compiler/testData/ir/irText/expressions/callableReferences/constructorWithAdaptedArguments.fir.ir.txt similarity index 100% rename from compiler/testData/ir/irText/expressions/callableReferences/constructorWithAdaptedArguments.fir.txt rename to compiler/testData/ir/irText/expressions/callableReferences/constructorWithAdaptedArguments.fir.ir.txt diff --git a/compiler/testData/ir/irText/expressions/callableReferences/constructorWithAdaptedArguments.fir.kt.txt b/compiler/testData/ir/irText/expressions/callableReferences/constructorWithAdaptedArguments.fir.kt.txt index f0d6fc7435b..5626484e8ea 100644 --- a/compiler/testData/ir/irText/expressions/callableReferences/constructorWithAdaptedArguments.fir.kt.txt +++ b/compiler/testData/ir/irText/expressions/callableReferences/constructorWithAdaptedArguments.fir.kt.txt @@ -55,4 +55,3 @@ fun testInnerClassConstructorCapturingOuter(): Any { Outer():: }) } - diff --git a/compiler/testData/ir/irText/expressions/callableReferences/constructorWithAdaptedArguments.txt b/compiler/testData/ir/irText/expressions/callableReferences/constructorWithAdaptedArguments.ir.txt similarity index 100% rename from compiler/testData/ir/irText/expressions/callableReferences/constructorWithAdaptedArguments.txt rename to compiler/testData/ir/irText/expressions/callableReferences/constructorWithAdaptedArguments.ir.txt diff --git a/compiler/testData/ir/irText/expressions/callableReferences/constructorWithAdaptedArguments.kt.txt b/compiler/testData/ir/irText/expressions/callableReferences/constructorWithAdaptedArguments.kt.txt index d6de3bb4cc7..28e3b0cca7c 100644 --- a/compiler/testData/ir/irText/expressions/callableReferences/constructorWithAdaptedArguments.kt.txt +++ b/compiler/testData/ir/irText/expressions/callableReferences/constructorWithAdaptedArguments.kt.txt @@ -58,4 +58,3 @@ fun testInnerClassConstructorCapturingOuter(): Any { Outer():: }) } - diff --git a/compiler/testData/ir/irText/expressions/callableReferences/funWithDefaultParametersAsKCallableStar.txt b/compiler/testData/ir/irText/expressions/callableReferences/funWithDefaultParametersAsKCallableStar.ir.txt similarity index 100% rename from compiler/testData/ir/irText/expressions/callableReferences/funWithDefaultParametersAsKCallableStar.txt rename to compiler/testData/ir/irText/expressions/callableReferences/funWithDefaultParametersAsKCallableStar.ir.txt diff --git a/compiler/testData/ir/irText/expressions/callableReferences/funWithDefaultParametersAsKCallableStar.kt.txt b/compiler/testData/ir/irText/expressions/callableReferences/funWithDefaultParametersAsKCallableStar.kt.txt index 94b02515bf6..579e9c67e23 100644 --- a/compiler/testData/ir/irText/expressions/callableReferences/funWithDefaultParametersAsKCallableStar.kt.txt +++ b/compiler/testData/ir/irText/expressions/callableReferences/funWithDefaultParametersAsKCallableStar.kt.txt @@ -41,4 +41,3 @@ fun testVarargsStar() { fun testCtorStar() { useKCallableStar(fn = C::) } - diff --git a/compiler/testData/ir/irText/expressions/callableReferences/genericLocalClassConstructorReference.fir.txt b/compiler/testData/ir/irText/expressions/callableReferences/genericLocalClassConstructorReference.fir.ir.txt similarity index 100% rename from compiler/testData/ir/irText/expressions/callableReferences/genericLocalClassConstructorReference.fir.txt rename to compiler/testData/ir/irText/expressions/callableReferences/genericLocalClassConstructorReference.fir.ir.txt diff --git a/compiler/testData/ir/irText/expressions/callableReferences/genericLocalClassConstructorReference.txt b/compiler/testData/ir/irText/expressions/callableReferences/genericLocalClassConstructorReference.ir.txt similarity index 100% rename from compiler/testData/ir/irText/expressions/callableReferences/genericLocalClassConstructorReference.txt rename to compiler/testData/ir/irText/expressions/callableReferences/genericLocalClassConstructorReference.ir.txt diff --git a/compiler/testData/ir/irText/expressions/callableReferences/genericMember.txt b/compiler/testData/ir/irText/expressions/callableReferences/genericMember.ir.txt similarity index 100% rename from compiler/testData/ir/irText/expressions/callableReferences/genericMember.txt rename to compiler/testData/ir/irText/expressions/callableReferences/genericMember.ir.txt diff --git a/compiler/testData/ir/irText/expressions/callableReferences/genericMember.kt.txt b/compiler/testData/ir/irText/expressions/callableReferences/genericMember.kt.txt index b07bc90d0af..4f577c4842c 100644 --- a/compiler/testData/ir/irText/expressions/callableReferences/genericMember.kt.txt +++ b/compiler/testData/ir/irText/expressions/callableReferences/genericMember.kt.txt @@ -21,4 +21,3 @@ val test1: KFunction1, Unit> val test2: KProperty1, Int> field = A::bar get - diff --git a/compiler/testData/ir/irText/expressions/callableReferences/importedFromObject.txt b/compiler/testData/ir/irText/expressions/callableReferences/importedFromObject.ir.txt similarity index 100% rename from compiler/testData/ir/irText/expressions/callableReferences/importedFromObject.txt rename to compiler/testData/ir/irText/expressions/callableReferences/importedFromObject.ir.txt diff --git a/compiler/testData/ir/irText/expressions/callableReferences/importedFromObject.kt.txt b/compiler/testData/ir/irText/expressions/callableReferences/importedFromObject.kt.txt index 1f53fc9698f..4a7e20584ff 100644 --- a/compiler/testData/ir/irText/expressions/callableReferences/importedFromObject.kt.txt +++ b/compiler/testData/ir/irText/expressions/callableReferences/importedFromObject.kt.txt @@ -32,4 +32,3 @@ val test2: KFunction0 val test2a: KFunction0 field = Foo::foo get - diff --git a/compiler/testData/ir/irText/expressions/callableReferences/kt37131.fir.txt b/compiler/testData/ir/irText/expressions/callableReferences/kt37131.fir.ir.txt similarity index 100% rename from compiler/testData/ir/irText/expressions/callableReferences/kt37131.fir.txt rename to compiler/testData/ir/irText/expressions/callableReferences/kt37131.fir.ir.txt diff --git a/compiler/testData/ir/irText/expressions/callableReferences/kt37131.txt b/compiler/testData/ir/irText/expressions/callableReferences/kt37131.ir.txt similarity index 100% rename from compiler/testData/ir/irText/expressions/callableReferences/kt37131.txt rename to compiler/testData/ir/irText/expressions/callableReferences/kt37131.ir.txt diff --git a/compiler/testData/ir/irText/expressions/callableReferences/kt37131.kt.txt b/compiler/testData/ir/irText/expressions/callableReferences/kt37131.kt.txt index d82251e4fd9..b61324f0920 100644 --- a/compiler/testData/ir/irText/expressions/callableReferences/kt37131.kt.txt +++ b/compiler/testData/ir/irText/expressions/callableReferences/kt37131.kt.txt @@ -38,4 +38,3 @@ fun testCtor(): Any { :: }) } - diff --git a/compiler/testData/ir/irText/expressions/callableReferences/kt46069.fir.txt b/compiler/testData/ir/irText/expressions/callableReferences/kt46069.fir.ir.txt similarity index 100% rename from compiler/testData/ir/irText/expressions/callableReferences/kt46069.fir.txt rename to compiler/testData/ir/irText/expressions/callableReferences/kt46069.fir.ir.txt diff --git a/compiler/testData/ir/irText/expressions/callableReferences/kt46069.txt b/compiler/testData/ir/irText/expressions/callableReferences/kt46069.ir.txt similarity index 100% rename from compiler/testData/ir/irText/expressions/callableReferences/kt46069.txt rename to compiler/testData/ir/irText/expressions/callableReferences/kt46069.ir.txt diff --git a/compiler/testData/ir/irText/expressions/callableReferences/suspendConversion.fir.txt b/compiler/testData/ir/irText/expressions/callableReferences/suspendConversion.fir.ir.txt similarity index 100% rename from compiler/testData/ir/irText/expressions/callableReferences/suspendConversion.fir.txt rename to compiler/testData/ir/irText/expressions/callableReferences/suspendConversion.fir.ir.txt diff --git a/compiler/testData/ir/irText/expressions/callableReferences/suspendConversion.txt b/compiler/testData/ir/irText/expressions/callableReferences/suspendConversion.ir.txt similarity index 100% rename from compiler/testData/ir/irText/expressions/callableReferences/suspendConversion.txt rename to compiler/testData/ir/irText/expressions/callableReferences/suspendConversion.ir.txt diff --git a/compiler/testData/ir/irText/expressions/callableReferences/typeArguments.fir.txt b/compiler/testData/ir/irText/expressions/callableReferences/typeArguments.fir.ir.txt similarity index 100% rename from compiler/testData/ir/irText/expressions/callableReferences/typeArguments.fir.txt rename to compiler/testData/ir/irText/expressions/callableReferences/typeArguments.fir.ir.txt diff --git a/compiler/testData/ir/irText/expressions/callableReferences/typeArguments.txt b/compiler/testData/ir/irText/expressions/callableReferences/typeArguments.ir.txt similarity index 100% rename from compiler/testData/ir/irText/expressions/callableReferences/typeArguments.txt rename to compiler/testData/ir/irText/expressions/callableReferences/typeArguments.ir.txt diff --git a/compiler/testData/ir/irText/expressions/callableReferences/typeArguments.kt.txt b/compiler/testData/ir/irText/expressions/callableReferences/typeArguments.kt.txt index 982d2de6972..b77a45000ec 100644 --- a/compiler/testData/ir/irText/expressions/callableReferences/typeArguments.kt.txt +++ b/compiler/testData/ir/irText/expressions/callableReferences/typeArguments.kt.txt @@ -27,4 +27,3 @@ val test2: Function1, Unit> val test3: Function1 field = Host::objectMember/*()*/ get - diff --git a/compiler/testData/ir/irText/expressions/callableReferences/unboundMemberReferenceWithAdaptedArguments.fir.txt b/compiler/testData/ir/irText/expressions/callableReferences/unboundMemberReferenceWithAdaptedArguments.fir.ir.txt similarity index 100% rename from compiler/testData/ir/irText/expressions/callableReferences/unboundMemberReferenceWithAdaptedArguments.fir.txt rename to compiler/testData/ir/irText/expressions/callableReferences/unboundMemberReferenceWithAdaptedArguments.fir.ir.txt diff --git a/compiler/testData/ir/irText/expressions/callableReferences/unboundMemberReferenceWithAdaptedArguments.txt b/compiler/testData/ir/irText/expressions/callableReferences/unboundMemberReferenceWithAdaptedArguments.ir.txt similarity index 100% rename from compiler/testData/ir/irText/expressions/callableReferences/unboundMemberReferenceWithAdaptedArguments.txt rename to compiler/testData/ir/irText/expressions/callableReferences/unboundMemberReferenceWithAdaptedArguments.ir.txt diff --git a/compiler/testData/ir/irText/expressions/callableReferences/unboundMemberReferenceWithAdaptedArguments.kt.txt b/compiler/testData/ir/irText/expressions/callableReferences/unboundMemberReferenceWithAdaptedArguments.kt.txt index f5f6b2fd767..29287f7a315 100644 --- a/compiler/testData/ir/irText/expressions/callableReferences/unboundMemberReferenceWithAdaptedArguments.kt.txt +++ b/compiler/testData/ir/irText/expressions/callableReferences/unboundMemberReferenceWithAdaptedArguments.kt.txt @@ -59,4 +59,3 @@ fun testObject() { Obj::foo }) } - diff --git a/compiler/testData/ir/irText/expressions/callableReferences/varargFunImportedFromObject.fir.txt b/compiler/testData/ir/irText/expressions/callableReferences/varargFunImportedFromObject.fir.ir.txt similarity index 100% rename from compiler/testData/ir/irText/expressions/callableReferences/varargFunImportedFromObject.fir.txt rename to compiler/testData/ir/irText/expressions/callableReferences/varargFunImportedFromObject.fir.ir.txt diff --git a/compiler/testData/ir/irText/expressions/callableReferences/varargFunImportedFromObject.txt b/compiler/testData/ir/irText/expressions/callableReferences/varargFunImportedFromObject.ir.txt similarity index 100% rename from compiler/testData/ir/irText/expressions/callableReferences/varargFunImportedFromObject.txt rename to compiler/testData/ir/irText/expressions/callableReferences/varargFunImportedFromObject.ir.txt diff --git a/compiler/testData/ir/irText/expressions/callableReferences/withAdaptationForSam.fir.txt b/compiler/testData/ir/irText/expressions/callableReferences/withAdaptationForSam.fir.ir.txt similarity index 100% rename from compiler/testData/ir/irText/expressions/callableReferences/withAdaptationForSam.fir.txt rename to compiler/testData/ir/irText/expressions/callableReferences/withAdaptationForSam.fir.ir.txt diff --git a/compiler/testData/ir/irText/expressions/callableReferences/withAdaptationForSam.txt b/compiler/testData/ir/irText/expressions/callableReferences/withAdaptationForSam.ir.txt similarity index 100% rename from compiler/testData/ir/irText/expressions/callableReferences/withAdaptationForSam.txt rename to compiler/testData/ir/irText/expressions/callableReferences/withAdaptationForSam.ir.txt diff --git a/compiler/testData/ir/irText/expressions/callableReferences/withAdaptationForSam.kt.txt b/compiler/testData/ir/irText/expressions/callableReferences/withAdaptationForSam.kt.txt index 657866873b6..dd400079991 100644 --- a/compiler/testData/ir/irText/expressions/callableReferences/withAdaptationForSam.kt.txt +++ b/compiler/testData/ir/irText/expressions/callableReferences/withAdaptationForSam.kt.txt @@ -1,5 +1,5 @@ fun interface IFoo { - abstract fun foo(i: Int) + abstract fun foo(i: Int) } @@ -19,4 +19,3 @@ fun test() { ::withVararg /*-> IFoo */ }) } - diff --git a/compiler/testData/ir/irText/expressions/callableReferences/withAdaptedArguments.fir.txt b/compiler/testData/ir/irText/expressions/callableReferences/withAdaptedArguments.fir.ir.txt similarity index 100% rename from compiler/testData/ir/irText/expressions/callableReferences/withAdaptedArguments.fir.txt rename to compiler/testData/ir/irText/expressions/callableReferences/withAdaptedArguments.fir.ir.txt diff --git a/compiler/testData/ir/irText/expressions/callableReferences/withAdaptedArguments.txt b/compiler/testData/ir/irText/expressions/callableReferences/withAdaptedArguments.ir.txt similarity index 100% rename from compiler/testData/ir/irText/expressions/callableReferences/withAdaptedArguments.txt rename to compiler/testData/ir/irText/expressions/callableReferences/withAdaptedArguments.ir.txt diff --git a/compiler/testData/ir/irText/expressions/callableReferences/withAdaptedArguments.kt.txt b/compiler/testData/ir/irText/expressions/callableReferences/withAdaptedArguments.kt.txt index a24f57a40b1..2996ec5bbc6 100644 --- a/compiler/testData/ir/irText/expressions/callableReferences/withAdaptedArguments.kt.txt +++ b/compiler/testData/ir/irText/expressions/callableReferences/withAdaptedArguments.kt.txt @@ -93,4 +93,3 @@ fun testVararg0(): String { ::fnWithVarargs }) } - diff --git a/compiler/testData/ir/irText/expressions/callableReferences/withArgumentAdaptationAndReceiver.fir.txt b/compiler/testData/ir/irText/expressions/callableReferences/withArgumentAdaptationAndReceiver.fir.ir.txt similarity index 100% rename from compiler/testData/ir/irText/expressions/callableReferences/withArgumentAdaptationAndReceiver.fir.txt rename to compiler/testData/ir/irText/expressions/callableReferences/withArgumentAdaptationAndReceiver.fir.ir.txt diff --git a/compiler/testData/ir/irText/expressions/callableReferences/withArgumentAdaptationAndReceiver.txt b/compiler/testData/ir/irText/expressions/callableReferences/withArgumentAdaptationAndReceiver.ir.txt similarity index 100% rename from compiler/testData/ir/irText/expressions/callableReferences/withArgumentAdaptationAndReceiver.txt rename to compiler/testData/ir/irText/expressions/callableReferences/withArgumentAdaptationAndReceiver.ir.txt diff --git a/compiler/testData/ir/irText/expressions/callableReferences/withArgumentAdaptationAndReceiver.kt.txt b/compiler/testData/ir/irText/expressions/callableReferences/withArgumentAdaptationAndReceiver.kt.txt index b8daf8174d7..788d0dc4bff 100644 --- a/compiler/testData/ir/irText/expressions/callableReferences/withArgumentAdaptationAndReceiver.kt.txt +++ b/compiler/testData/ir/irText/expressions/callableReferences/withArgumentAdaptationAndReceiver.kt.txt @@ -66,4 +66,3 @@ class Host { } } - diff --git a/compiler/testData/ir/irText/expressions/callableReferences/withVarargViewedAsArray.fir.txt b/compiler/testData/ir/irText/expressions/callableReferences/withVarargViewedAsArray.fir.ir.txt similarity index 100% rename from compiler/testData/ir/irText/expressions/callableReferences/withVarargViewedAsArray.fir.txt rename to compiler/testData/ir/irText/expressions/callableReferences/withVarargViewedAsArray.fir.ir.txt diff --git a/compiler/testData/ir/irText/expressions/callableReferences/withVarargViewedAsArray.fir.kt.txt b/compiler/testData/ir/irText/expressions/callableReferences/withVarargViewedAsArray.fir.kt.txt index 00c6f8c1c12..70e2e380f0a 100644 --- a/compiler/testData/ir/irText/expressions/callableReferences/withVarargViewedAsArray.fir.kt.txt +++ b/compiler/testData/ir/irText/expressions/callableReferences/withVarargViewedAsArray.fir.kt.txt @@ -55,4 +55,3 @@ fun testArrayAndDefaults() { } ) } - diff --git a/compiler/testData/ir/irText/expressions/callableReferences/withVarargViewedAsArray.txt b/compiler/testData/ir/irText/expressions/callableReferences/withVarargViewedAsArray.ir.txt similarity index 100% rename from compiler/testData/ir/irText/expressions/callableReferences/withVarargViewedAsArray.txt rename to compiler/testData/ir/irText/expressions/callableReferences/withVarargViewedAsArray.ir.txt diff --git a/compiler/testData/ir/irText/expressions/callableReferences/withVarargViewedAsArray.kt.txt b/compiler/testData/ir/irText/expressions/callableReferences/withVarargViewedAsArray.kt.txt index 70f290515ea..456c1fef677 100644 --- a/compiler/testData/ir/irText/expressions/callableReferences/withVarargViewedAsArray.kt.txt +++ b/compiler/testData/ir/irText/expressions/callableReferences/withVarargViewedAsArray.kt.txt @@ -59,4 +59,3 @@ fun testArrayAndDefaults() { ::zap }) } - diff --git a/compiler/testData/ir/irText/expressions/calls.txt b/compiler/testData/ir/irText/expressions/calls.ir.txt similarity index 100% rename from compiler/testData/ir/irText/expressions/calls.txt rename to compiler/testData/ir/irText/expressions/calls.ir.txt diff --git a/compiler/testData/ir/irText/expressions/calls.kt.txt b/compiler/testData/ir/irText/expressions/calls.kt.txt index 42cd340db3c..665bfaacb3e 100644 --- a/compiler/testData/ir/irText/expressions/calls.kt.txt +++ b/compiler/testData/ir/irText/expressions/calls.kt.txt @@ -21,4 +21,3 @@ fun Int.ext2(x: Int): Int { fun Int.ext3(x: Int): Int { return foo(x = .ext1(), y = x) } - diff --git a/compiler/testData/ir/irText/expressions/castToTypeParameter.txt b/compiler/testData/ir/irText/expressions/castToTypeParameter.ir.txt similarity index 100% rename from compiler/testData/ir/irText/expressions/castToTypeParameter.txt rename to compiler/testData/ir/irText/expressions/castToTypeParameter.ir.txt diff --git a/compiler/testData/ir/irText/expressions/castToTypeParameter.kt.txt b/compiler/testData/ir/irText/expressions/castToTypeParameter.kt.txt index 5041b4ffcf2..2ac989998f6 100644 --- a/compiler/testData/ir/irText/expressions/castToTypeParameter.kt.txt +++ b/compiler/testData/ir/irText/expressions/castToTypeParameter.kt.txt @@ -45,4 +45,3 @@ class Host { } } - diff --git a/compiler/testData/ir/irText/expressions/catchParameterAccess.fir.txt b/compiler/testData/ir/irText/expressions/catchParameterAccess.fir.ir.txt similarity index 100% rename from compiler/testData/ir/irText/expressions/catchParameterAccess.fir.txt rename to compiler/testData/ir/irText/expressions/catchParameterAccess.fir.ir.txt diff --git a/compiler/testData/ir/irText/expressions/catchParameterAccess.txt b/compiler/testData/ir/irText/expressions/catchParameterAccess.ir.txt similarity index 100% rename from compiler/testData/ir/irText/expressions/catchParameterAccess.txt rename to compiler/testData/ir/irText/expressions/catchParameterAccess.ir.txt diff --git a/compiler/testData/ir/irText/expressions/catchParameterAccess.kt.txt b/compiler/testData/ir/irText/expressions/catchParameterAccess.kt.txt index 59bba22372c..6f3f168e81e 100644 --- a/compiler/testData/ir/irText/expressions/catchParameterAccess.kt.txt +++ b/compiler/testData/ir/irText/expressions/catchParameterAccess.kt.txt @@ -7,4 +7,3 @@ fun test(f: Function0) { } } - diff --git a/compiler/testData/ir/irText/expressions/chainOfSafeCalls.txt b/compiler/testData/ir/irText/expressions/chainOfSafeCalls.ir.txt similarity index 100% rename from compiler/testData/ir/irText/expressions/chainOfSafeCalls.txt rename to compiler/testData/ir/irText/expressions/chainOfSafeCalls.ir.txt diff --git a/compiler/testData/ir/irText/expressions/chainedFunSuspendConversionForSimpleExpression.fir.txt b/compiler/testData/ir/irText/expressions/chainedFunSuspendConversionForSimpleExpression.fir.ir.txt similarity index 100% rename from compiler/testData/ir/irText/expressions/chainedFunSuspendConversionForSimpleExpression.fir.txt rename to compiler/testData/ir/irText/expressions/chainedFunSuspendConversionForSimpleExpression.fir.ir.txt diff --git a/compiler/testData/ir/irText/expressions/chainedFunSuspendConversionForSimpleExpression.txt b/compiler/testData/ir/irText/expressions/chainedFunSuspendConversionForSimpleExpression.ir.txt similarity index 100% rename from compiler/testData/ir/irText/expressions/chainedFunSuspendConversionForSimpleExpression.txt rename to compiler/testData/ir/irText/expressions/chainedFunSuspendConversionForSimpleExpression.ir.txt diff --git a/compiler/testData/ir/irText/expressions/classReference.txt b/compiler/testData/ir/irText/expressions/classReference.ir.txt similarity index 100% rename from compiler/testData/ir/irText/expressions/classReference.txt rename to compiler/testData/ir/irText/expressions/classReference.ir.txt diff --git a/compiler/testData/ir/irText/expressions/classReference.kt.txt b/compiler/testData/ir/irText/expressions/classReference.kt.txt index 7cd8b17a945..e03a82adcb7 100644 --- a/compiler/testData/ir/irText/expressions/classReference.kt.txt +++ b/compiler/testData/ir/irText/expressions/classReference.kt.txt @@ -13,4 +13,3 @@ fun test() { A::class.() /*~> Unit */ A()::class.() /*~> Unit */ } - diff --git a/compiler/testData/ir/irText/expressions/coercionToUnit.fir.txt b/compiler/testData/ir/irText/expressions/coercionToUnit.fir.ir.txt similarity index 100% rename from compiler/testData/ir/irText/expressions/coercionToUnit.fir.txt rename to compiler/testData/ir/irText/expressions/coercionToUnit.fir.ir.txt diff --git a/compiler/testData/ir/irText/expressions/coercionToUnit.txt b/compiler/testData/ir/irText/expressions/coercionToUnit.ir.txt similarity index 100% rename from compiler/testData/ir/irText/expressions/coercionToUnit.txt rename to compiler/testData/ir/irText/expressions/coercionToUnit.ir.txt diff --git a/compiler/testData/ir/irText/expressions/coercionToUnit.kt.txt b/compiler/testData/ir/irText/expressions/coercionToUnit.kt.txt index 503b0636f2a..e403a4211e9 100644 --- a/compiler/testData/ir/irText/expressions/coercionToUnit.kt.txt +++ b/compiler/testData/ir/irText/expressions/coercionToUnit.kt.txt @@ -25,4 +25,3 @@ fun test3() { } } /*~> Unit */ } - diff --git a/compiler/testData/ir/irText/expressions/complexAugmentedAssignment.fir.txt b/compiler/testData/ir/irText/expressions/complexAugmentedAssignment.fir.ir.txt similarity index 100% rename from compiler/testData/ir/irText/expressions/complexAugmentedAssignment.fir.txt rename to compiler/testData/ir/irText/expressions/complexAugmentedAssignment.fir.ir.txt diff --git a/compiler/testData/ir/irText/expressions/complexAugmentedAssignment.txt b/compiler/testData/ir/irText/expressions/complexAugmentedAssignment.ir.txt similarity index 100% rename from compiler/testData/ir/irText/expressions/complexAugmentedAssignment.txt rename to compiler/testData/ir/irText/expressions/complexAugmentedAssignment.ir.txt diff --git a/compiler/testData/ir/irText/expressions/complexAugmentedAssignment.kt.txt b/compiler/testData/ir/irText/expressions/complexAugmentedAssignment.kt.txt index 8a903ad8b97..bfe53b81e9c 100644 --- a/compiler/testData/ir/irText/expressions/complexAugmentedAssignment.kt.txt +++ b/compiler/testData/ir/irText/expressions/complexAugmentedAssignment.kt.txt @@ -115,4 +115,3 @@ object Host { fun Host.test3(v: B) { (, v).plusAssign(b = B(s = 1000)) } - diff --git a/compiler/testData/ir/irText/expressions/constructorWithOwnTypeParametersCall.fir.txt b/compiler/testData/ir/irText/expressions/constructorWithOwnTypeParametersCall.fir.ir.txt similarity index 100% rename from compiler/testData/ir/irText/expressions/constructorWithOwnTypeParametersCall.fir.txt rename to compiler/testData/ir/irText/expressions/constructorWithOwnTypeParametersCall.fir.ir.txt diff --git a/compiler/testData/ir/irText/expressions/constructorWithOwnTypeParametersCall.txt b/compiler/testData/ir/irText/expressions/constructorWithOwnTypeParametersCall.ir.txt similarity index 100% rename from compiler/testData/ir/irText/expressions/constructorWithOwnTypeParametersCall.txt rename to compiler/testData/ir/irText/expressions/constructorWithOwnTypeParametersCall.ir.txt diff --git a/compiler/testData/ir/irText/expressions/constructorWithOwnTypeParametersCall.kt.txt b/compiler/testData/ir/irText/expressions/constructorWithOwnTypeParametersCall.kt.txt index a88b853cbb3..25246dfe2cd 100644 --- a/compiler/testData/ir/irText/expressions/constructorWithOwnTypeParametersCall.kt.txt +++ b/compiler/testData/ir/irText/expressions/constructorWithOwnTypeParametersCall.kt.txt @@ -23,4 +23,3 @@ class K1 { } } - diff --git a/compiler/testData/ir/irText/expressions/constructorWithOwnTypeParametersCall__J1.txt b/compiler/testData/ir/irText/expressions/constructorWithOwnTypeParametersCall__J1.ir.txt similarity index 100% rename from compiler/testData/ir/irText/expressions/constructorWithOwnTypeParametersCall__J1.txt rename to compiler/testData/ir/irText/expressions/constructorWithOwnTypeParametersCall__J1.ir.txt diff --git a/compiler/testData/ir/irText/expressions/contructorCall.txt b/compiler/testData/ir/irText/expressions/contructorCall.ir.txt similarity index 100% rename from compiler/testData/ir/irText/expressions/contructorCall.txt rename to compiler/testData/ir/irText/expressions/contructorCall.ir.txt diff --git a/compiler/testData/ir/irText/expressions/contructorCall.kt.txt b/compiler/testData/ir/irText/expressions/contructorCall.kt.txt index 639bef3c255..2dd9249a2bf 100644 --- a/compiler/testData/ir/irText/expressions/contructorCall.kt.txt +++ b/compiler/testData/ir/irText/expressions/contructorCall.kt.txt @@ -10,4 +10,3 @@ class A { val test: A field = A() get - diff --git a/compiler/testData/ir/irText/expressions/conventionComparisons.fir.txt b/compiler/testData/ir/irText/expressions/conventionComparisons.fir.ir.txt similarity index 100% rename from compiler/testData/ir/irText/expressions/conventionComparisons.fir.txt rename to compiler/testData/ir/irText/expressions/conventionComparisons.fir.ir.txt diff --git a/compiler/testData/ir/irText/expressions/conventionComparisons.txt b/compiler/testData/ir/irText/expressions/conventionComparisons.ir.txt similarity index 100% rename from compiler/testData/ir/irText/expressions/conventionComparisons.txt rename to compiler/testData/ir/irText/expressions/conventionComparisons.ir.txt diff --git a/compiler/testData/ir/irText/expressions/conventionComparisons.kt.txt b/compiler/testData/ir/irText/expressions/conventionComparisons.kt.txt index 3abaddedb9b..8759cf24cc9 100644 --- a/compiler/testData/ir/irText/expressions/conventionComparisons.kt.txt +++ b/compiler/testData/ir/irText/expressions/conventionComparisons.kt.txt @@ -3,7 +3,7 @@ interface IA { } interface IB { - abstract operator fun IA.compareTo(other: IA): Int + abstract operator fun IA.compareTo(other: IA): Int } @@ -22,4 +22,3 @@ fun IB.test3(a1: IA, a2: IA): Boolean { fun IB.test4(a1: IA, a2: IA): Boolean { return lessOrEqual(arg0 = (, a1).compareTo(other = a2), arg1 = 0) } - diff --git a/compiler/testData/ir/irText/expressions/destructuring1.fir.txt b/compiler/testData/ir/irText/expressions/destructuring1.fir.ir.txt similarity index 100% rename from compiler/testData/ir/irText/expressions/destructuring1.fir.txt rename to compiler/testData/ir/irText/expressions/destructuring1.fir.ir.txt diff --git a/compiler/testData/ir/irText/expressions/destructuring1.txt b/compiler/testData/ir/irText/expressions/destructuring1.ir.txt similarity index 100% rename from compiler/testData/ir/irText/expressions/destructuring1.txt rename to compiler/testData/ir/irText/expressions/destructuring1.ir.txt diff --git a/compiler/testData/ir/irText/expressions/destructuring1.kt.txt b/compiler/testData/ir/irText/expressions/destructuring1.kt.txt index 05c3716b9cc..6db7638ef9f 100644 --- a/compiler/testData/ir/irText/expressions/destructuring1.kt.txt +++ b/compiler/testData/ir/irText/expressions/destructuring1.kt.txt @@ -31,4 +31,3 @@ fun B.test() { val y: Int = (, tmp0_container).component2() // } } - diff --git a/compiler/testData/ir/irText/expressions/destructuringWithUnderscore.fir.txt b/compiler/testData/ir/irText/expressions/destructuringWithUnderscore.fir.ir.txt similarity index 100% rename from compiler/testData/ir/irText/expressions/destructuringWithUnderscore.fir.txt rename to compiler/testData/ir/irText/expressions/destructuringWithUnderscore.fir.ir.txt diff --git a/compiler/testData/ir/irText/expressions/destructuringWithUnderscore.txt b/compiler/testData/ir/irText/expressions/destructuringWithUnderscore.ir.txt similarity index 100% rename from compiler/testData/ir/irText/expressions/destructuringWithUnderscore.txt rename to compiler/testData/ir/irText/expressions/destructuringWithUnderscore.ir.txt diff --git a/compiler/testData/ir/irText/expressions/destructuringWithUnderscore.kt.txt b/compiler/testData/ir/irText/expressions/destructuringWithUnderscore.kt.txt index e1f49ab335c..fb2fa4d79a6 100644 --- a/compiler/testData/ir/irText/expressions/destructuringWithUnderscore.kt.txt +++ b/compiler/testData/ir/irText/expressions/destructuringWithUnderscore.kt.txt @@ -35,4 +35,3 @@ fun B.test() { val z: Int = (, tmp0_container).component3() // } } - diff --git a/compiler/testData/ir/irText/expressions/dotQualified.txt b/compiler/testData/ir/irText/expressions/dotQualified.ir.txt similarity index 100% rename from compiler/testData/ir/irText/expressions/dotQualified.txt rename to compiler/testData/ir/irText/expressions/dotQualified.ir.txt diff --git a/compiler/testData/ir/irText/expressions/elvis.fir.txt b/compiler/testData/ir/irText/expressions/elvis.fir.ir.txt similarity index 100% rename from compiler/testData/ir/irText/expressions/elvis.fir.txt rename to compiler/testData/ir/irText/expressions/elvis.fir.ir.txt diff --git a/compiler/testData/ir/irText/expressions/elvis.txt b/compiler/testData/ir/irText/expressions/elvis.ir.txt similarity index 100% rename from compiler/testData/ir/irText/expressions/elvis.txt rename to compiler/testData/ir/irText/expressions/elvis.ir.txt diff --git a/compiler/testData/ir/irText/expressions/elvis.kt.txt b/compiler/testData/ir/irText/expressions/elvis.kt.txt index 25899bebd6a..af5a43191e1 100644 --- a/compiler/testData/ir/irText/expressions/elvis.kt.txt +++ b/compiler/testData/ir/irText/expressions/elvis.kt.txt @@ -61,4 +61,3 @@ fun test5(x: Any): Any { } } } - diff --git a/compiler/testData/ir/irText/expressions/enumEntryAsReceiver.fir.txt b/compiler/testData/ir/irText/expressions/enumEntryAsReceiver.fir.ir.txt similarity index 100% rename from compiler/testData/ir/irText/expressions/enumEntryAsReceiver.fir.txt rename to compiler/testData/ir/irText/expressions/enumEntryAsReceiver.fir.ir.txt diff --git a/compiler/testData/ir/irText/expressions/enumEntryAsReceiver.txt b/compiler/testData/ir/irText/expressions/enumEntryAsReceiver.ir.txt similarity index 100% rename from compiler/testData/ir/irText/expressions/enumEntryAsReceiver.txt rename to compiler/testData/ir/irText/expressions/enumEntryAsReceiver.ir.txt diff --git a/compiler/testData/ir/irText/expressions/enumEntryAsReceiver.kt.txt b/compiler/testData/ir/irText/expressions/enumEntryAsReceiver.kt.txt index 830931d45ef..a87fdc9929b 100644 --- a/compiler/testData/ir/irText/expressions/enumEntryAsReceiver.kt.txt +++ b/compiler/testData/ir/irText/expressions/enumEntryAsReceiver.kt.txt @@ -38,4 +38,3 @@ abstract enum class X : Enum { fun box(): String { return X.B.().invoke() } - diff --git a/compiler/testData/ir/irText/expressions/enumEntryReferenceFromEnumEntryClass.fir.txt b/compiler/testData/ir/irText/expressions/enumEntryReferenceFromEnumEntryClass.fir.ir.txt similarity index 100% rename from compiler/testData/ir/irText/expressions/enumEntryReferenceFromEnumEntryClass.fir.txt rename to compiler/testData/ir/irText/expressions/enumEntryReferenceFromEnumEntryClass.fir.ir.txt diff --git a/compiler/testData/ir/irText/expressions/enumEntryReferenceFromEnumEntryClass.txt b/compiler/testData/ir/irText/expressions/enumEntryReferenceFromEnumEntryClass.ir.txt similarity index 100% rename from compiler/testData/ir/irText/expressions/enumEntryReferenceFromEnumEntryClass.txt rename to compiler/testData/ir/irText/expressions/enumEntryReferenceFromEnumEntryClass.ir.txt diff --git a/compiler/testData/ir/irText/expressions/enumEntryReferenceFromEnumEntryClass.kt.txt b/compiler/testData/ir/irText/expressions/enumEntryReferenceFromEnumEntryClass.kt.txt index 8f9e0cc800f..f69020df91d 100644 --- a/compiler/testData/ir/irText/expressions/enumEntryReferenceFromEnumEntryClass.kt.txt +++ b/compiler/testData/ir/irText/expressions/enumEntryReferenceFromEnumEntryClass.kt.txt @@ -66,4 +66,3 @@ open enum class MyEnum : Enum { fun valueOf(value: String): MyEnum /* Synthetic body for ENUM_VALUEOF */ } - diff --git a/compiler/testData/ir/irText/expressions/equality.txt b/compiler/testData/ir/irText/expressions/equality.ir.txt similarity index 100% rename from compiler/testData/ir/irText/expressions/equality.txt rename to compiler/testData/ir/irText/expressions/equality.ir.txt diff --git a/compiler/testData/ir/irText/expressions/equality.kt.txt b/compiler/testData/ir/irText/expressions/equality.kt.txt index f07911ec9f9..ec1f357a29e 100644 --- a/compiler/testData/ir/irText/expressions/equality.kt.txt +++ b/compiler/testData/ir/irText/expressions/equality.kt.txt @@ -9,4 +9,3 @@ fun test2(a: Int, b: Int): Boolean { fun test3(a: Any?, b: Any?): Boolean { return EQEQ(arg0 = a, arg1 = b) } - diff --git a/compiler/testData/ir/irText/expressions/equals.fir.txt b/compiler/testData/ir/irText/expressions/equals.fir.ir.txt similarity index 100% rename from compiler/testData/ir/irText/expressions/equals.fir.txt rename to compiler/testData/ir/irText/expressions/equals.fir.ir.txt diff --git a/compiler/testData/ir/irText/expressions/equals.txt b/compiler/testData/ir/irText/expressions/equals.ir.txt similarity index 100% rename from compiler/testData/ir/irText/expressions/equals.txt rename to compiler/testData/ir/irText/expressions/equals.ir.txt diff --git a/compiler/testData/ir/irText/expressions/equals.kt.txt b/compiler/testData/ir/irText/expressions/equals.kt.txt index cd4ce6f7a62..08f0867d3c5 100644 --- a/compiler/testData/ir/irText/expressions/equals.kt.txt +++ b/compiler/testData/ir/irText/expressions/equals.kt.txt @@ -13,4 +13,3 @@ fun testJEqeqNull(): Boolean { fun testJEqualsNull(): Boolean { return super.#INT_NULL /*!! Int */.equals(other = null) } - diff --git a/compiler/testData/ir/irText/expressions/exhaustiveWhenElseBranch.fir.txt b/compiler/testData/ir/irText/expressions/exhaustiveWhenElseBranch.fir.ir.txt similarity index 100% rename from compiler/testData/ir/irText/expressions/exhaustiveWhenElseBranch.fir.txt rename to compiler/testData/ir/irText/expressions/exhaustiveWhenElseBranch.fir.ir.txt diff --git a/compiler/testData/ir/irText/expressions/exhaustiveWhenElseBranch.txt b/compiler/testData/ir/irText/expressions/exhaustiveWhenElseBranch.ir.txt similarity index 100% rename from compiler/testData/ir/irText/expressions/exhaustiveWhenElseBranch.txt rename to compiler/testData/ir/irText/expressions/exhaustiveWhenElseBranch.ir.txt diff --git a/compiler/testData/ir/irText/expressions/exhaustiveWhenElseBranch.kt.txt b/compiler/testData/ir/irText/expressions/exhaustiveWhenElseBranch.kt.txt index 9d82af00296..f14ddace5ea 100644 --- a/compiler/testData/ir/irText/expressions/exhaustiveWhenElseBranch.kt.txt +++ b/compiler/testData/ir/irText/expressions/exhaustiveWhenElseBranch.kt.txt @@ -115,4 +115,3 @@ fun testLambdaResultExpression_throws(a: A) { } .invoke() /*~> Unit */ } - diff --git a/compiler/testData/ir/irText/expressions/extFunInvokeAsFun.txt b/compiler/testData/ir/irText/expressions/extFunInvokeAsFun.ir.txt similarity index 100% rename from compiler/testData/ir/irText/expressions/extFunInvokeAsFun.txt rename to compiler/testData/ir/irText/expressions/extFunInvokeAsFun.ir.txt diff --git a/compiler/testData/ir/irText/expressions/extFunInvokeAsFun.kt.txt b/compiler/testData/ir/irText/expressions/extFunInvokeAsFun.kt.txt index 9f2f7f30034..43ed62ae697 100644 --- a/compiler/testData/ir/irText/expressions/extFunInvokeAsFun.kt.txt +++ b/compiler/testData/ir/irText/expressions/extFunInvokeAsFun.kt.txt @@ -5,4 +5,3 @@ fun with1(receiver: Any?, block: @ExtensionFunctionType Function1) { fun with2(receiver: Any?, block: @ExtensionFunctionType Function1) { return block.invoke(p1 = receiver) } - diff --git a/compiler/testData/ir/irText/expressions/extFunSafeInvoke.txt b/compiler/testData/ir/irText/expressions/extFunSafeInvoke.ir.txt similarity index 100% rename from compiler/testData/ir/irText/expressions/extFunSafeInvoke.txt rename to compiler/testData/ir/irText/expressions/extFunSafeInvoke.ir.txt diff --git a/compiler/testData/ir/irText/expressions/extFunSafeInvoke.kt.txt b/compiler/testData/ir/irText/expressions/extFunSafeInvoke.kt.txt index 755362b03b3..8cad7f16b03 100644 --- a/compiler/testData/ir/irText/expressions/extFunSafeInvoke.kt.txt +++ b/compiler/testData/ir/irText/expressions/extFunSafeInvoke.kt.txt @@ -7,4 +7,3 @@ fun test(receiver: Any?, fn: @ExtensionFunctionType Function3.() } - diff --git a/compiler/testData/ir/irText/expressions/field.fir.txt b/compiler/testData/ir/irText/expressions/field.fir.ir.txt similarity index 100% rename from compiler/testData/ir/irText/expressions/field.fir.txt rename to compiler/testData/ir/irText/expressions/field.fir.ir.txt diff --git a/compiler/testData/ir/irText/expressions/field.txt b/compiler/testData/ir/irText/expressions/field.ir.txt similarity index 100% rename from compiler/testData/ir/irText/expressions/field.txt rename to compiler/testData/ir/irText/expressions/field.ir.txt diff --git a/compiler/testData/ir/irText/expressions/field.kt.txt b/compiler/testData/ir/irText/expressions/field.kt.txt index ee5b89c04ff..810d860b9b1 100644 --- a/compiler/testData/ir/irText/expressions/field.kt.txt +++ b/compiler/testData/ir/irText/expressions/field.kt.txt @@ -11,4 +11,3 @@ var testAugmented: Int set(value: Int) { #testAugmented = #testAugmented.plus(other = value) } - diff --git a/compiler/testData/ir/irText/expressions/floatingPointComparisons/comparableWithDoubleOrFloat.txt b/compiler/testData/ir/irText/expressions/floatingPointComparisons/comparableWithDoubleOrFloat.ir.txt similarity index 100% rename from compiler/testData/ir/irText/expressions/floatingPointComparisons/comparableWithDoubleOrFloat.txt rename to compiler/testData/ir/irText/expressions/floatingPointComparisons/comparableWithDoubleOrFloat.ir.txt diff --git a/compiler/testData/ir/irText/expressions/floatingPointComparisons/comparableWithDoubleOrFloat.kt.txt b/compiler/testData/ir/irText/expressions/floatingPointComparisons/comparableWithDoubleOrFloat.kt.txt index 5c4d4068b75..eefbce2d0c1 100644 --- a/compiler/testData/ir/irText/expressions/floatingPointComparisons/comparableWithDoubleOrFloat.kt.txt +++ b/compiler/testData/ir/irText/expressions/floatingPointComparisons/comparableWithDoubleOrFloat.kt.txt @@ -17,4 +17,3 @@ fun testF(x: Comparable, y: Comparable): Boolean { else -> false } } - diff --git a/compiler/testData/ir/irText/expressions/floatingPointComparisons/eqeqRhsConditionPossiblyAffectingLhs.txt b/compiler/testData/ir/irText/expressions/floatingPointComparisons/eqeqRhsConditionPossiblyAffectingLhs.ir.txt similarity index 100% rename from compiler/testData/ir/irText/expressions/floatingPointComparisons/eqeqRhsConditionPossiblyAffectingLhs.txt rename to compiler/testData/ir/irText/expressions/floatingPointComparisons/eqeqRhsConditionPossiblyAffectingLhs.ir.txt diff --git a/compiler/testData/ir/irText/expressions/floatingPointComparisons/eqeqRhsConditionPossiblyAffectingLhs.kt.txt b/compiler/testData/ir/irText/expressions/floatingPointComparisons/eqeqRhsConditionPossiblyAffectingLhs.kt.txt index 2a7b8ae5df7..50c1bd9e281 100644 --- a/compiler/testData/ir/irText/expressions/floatingPointComparisons/eqeqRhsConditionPossiblyAffectingLhs.kt.txt +++ b/compiler/testData/ir/irText/expressions/floatingPointComparisons/eqeqRhsConditionPossiblyAffectingLhs.kt.txt @@ -4,4 +4,3 @@ fun test(x: Any): Boolean { else -> x /*as Double */ }) } - diff --git a/compiler/testData/ir/irText/expressions/floatingPointComparisons/floatingPointCompareTo.txt b/compiler/testData/ir/irText/expressions/floatingPointComparisons/floatingPointCompareTo.ir.txt similarity index 100% rename from compiler/testData/ir/irText/expressions/floatingPointComparisons/floatingPointCompareTo.txt rename to compiler/testData/ir/irText/expressions/floatingPointComparisons/floatingPointCompareTo.ir.txt diff --git a/compiler/testData/ir/irText/expressions/floatingPointComparisons/floatingPointCompareTo.kt.txt b/compiler/testData/ir/irText/expressions/floatingPointComparisons/floatingPointCompareTo.kt.txt index 044f844c46b..dcac0bdffa2 100644 --- a/compiler/testData/ir/irText/expressions/floatingPointComparisons/floatingPointCompareTo.kt.txt +++ b/compiler/testData/ir/irText/expressions/floatingPointComparisons/floatingPointCompareTo.kt.txt @@ -77,4 +77,3 @@ fun Float.test3fr(x: Any): Boolean { else -> false } } - diff --git a/compiler/testData/ir/irText/expressions/floatingPointComparisons/floatingPointEqeq.txt b/compiler/testData/ir/irText/expressions/floatingPointComparisons/floatingPointEqeq.ir.txt similarity index 100% rename from compiler/testData/ir/irText/expressions/floatingPointComparisons/floatingPointEqeq.txt rename to compiler/testData/ir/irText/expressions/floatingPointComparisons/floatingPointEqeq.ir.txt diff --git a/compiler/testData/ir/irText/expressions/floatingPointComparisons/floatingPointEqeq.kt.txt b/compiler/testData/ir/irText/expressions/floatingPointComparisons/floatingPointEqeq.kt.txt index 25a1dad4a61..bf8d04a8997 100644 --- a/compiler/testData/ir/irText/expressions/floatingPointComparisons/floatingPointEqeq.kt.txt +++ b/compiler/testData/ir/irText/expressions/floatingPointComparisons/floatingPointEqeq.kt.txt @@ -83,4 +83,3 @@ fun testDF(x: Any, y: Any): Boolean { else -> false } } - diff --git a/compiler/testData/ir/irText/expressions/floatingPointComparisons/floatingPointEquals.fir.txt b/compiler/testData/ir/irText/expressions/floatingPointComparisons/floatingPointEquals.fir.ir.txt similarity index 100% rename from compiler/testData/ir/irText/expressions/floatingPointComparisons/floatingPointEquals.fir.txt rename to compiler/testData/ir/irText/expressions/floatingPointComparisons/floatingPointEquals.fir.ir.txt diff --git a/compiler/testData/ir/irText/expressions/floatingPointComparisons/floatingPointEquals.txt b/compiler/testData/ir/irText/expressions/floatingPointComparisons/floatingPointEquals.ir.txt similarity index 100% rename from compiler/testData/ir/irText/expressions/floatingPointComparisons/floatingPointEquals.txt rename to compiler/testData/ir/irText/expressions/floatingPointComparisons/floatingPointEquals.ir.txt diff --git a/compiler/testData/ir/irText/expressions/floatingPointComparisons/floatingPointEquals.kt.txt b/compiler/testData/ir/irText/expressions/floatingPointComparisons/floatingPointEquals.kt.txt index 0368f516c43..0899ef2bd51 100644 --- a/compiler/testData/ir/irText/expressions/floatingPointComparisons/floatingPointEquals.kt.txt +++ b/compiler/testData/ir/irText/expressions/floatingPointComparisons/floatingPointEquals.kt.txt @@ -113,4 +113,3 @@ fun Float.test6fr(x: Any): Boolean { else -> false } } - diff --git a/compiler/testData/ir/irText/expressions/floatingPointComparisons/floatingPointExcleq.txt b/compiler/testData/ir/irText/expressions/floatingPointComparisons/floatingPointExcleq.ir.txt similarity index 100% rename from compiler/testData/ir/irText/expressions/floatingPointComparisons/floatingPointExcleq.txt rename to compiler/testData/ir/irText/expressions/floatingPointComparisons/floatingPointExcleq.ir.txt diff --git a/compiler/testData/ir/irText/expressions/floatingPointComparisons/floatingPointExcleq.kt.txt b/compiler/testData/ir/irText/expressions/floatingPointComparisons/floatingPointExcleq.kt.txt index b83dc17a88c..7d0f0beb31b 100644 --- a/compiler/testData/ir/irText/expressions/floatingPointComparisons/floatingPointExcleq.kt.txt +++ b/compiler/testData/ir/irText/expressions/floatingPointComparisons/floatingPointExcleq.kt.txt @@ -83,4 +83,3 @@ fun testDF(x: Any, y: Any): Boolean { else -> false } } - diff --git a/compiler/testData/ir/irText/expressions/floatingPointComparisons/floatingPointLess.txt b/compiler/testData/ir/irText/expressions/floatingPointComparisons/floatingPointLess.ir.txt similarity index 100% rename from compiler/testData/ir/irText/expressions/floatingPointComparisons/floatingPointLess.txt rename to compiler/testData/ir/irText/expressions/floatingPointComparisons/floatingPointLess.ir.txt diff --git a/compiler/testData/ir/irText/expressions/floatingPointComparisons/floatingPointLess.kt.txt b/compiler/testData/ir/irText/expressions/floatingPointComparisons/floatingPointLess.kt.txt index 6601494a81c..e5f90615d37 100644 --- a/compiler/testData/ir/irText/expressions/floatingPointComparisons/floatingPointLess.kt.txt +++ b/compiler/testData/ir/irText/expressions/floatingPointComparisons/floatingPointLess.kt.txt @@ -59,4 +59,3 @@ fun testDF(x: Any, y: Any): Boolean { else -> false } } - diff --git a/compiler/testData/ir/irText/expressions/floatingPointComparisons/nullableAnyAsIntToDouble.txt b/compiler/testData/ir/irText/expressions/floatingPointComparisons/nullableAnyAsIntToDouble.ir.txt similarity index 100% rename from compiler/testData/ir/irText/expressions/floatingPointComparisons/nullableAnyAsIntToDouble.txt rename to compiler/testData/ir/irText/expressions/floatingPointComparisons/nullableAnyAsIntToDouble.ir.txt diff --git a/compiler/testData/ir/irText/expressions/floatingPointComparisons/nullableAnyAsIntToDouble.kt.txt b/compiler/testData/ir/irText/expressions/floatingPointComparisons/nullableAnyAsIntToDouble.kt.txt index 994da11b45d..88e971888fe 100644 --- a/compiler/testData/ir/irText/expressions/floatingPointComparisons/nullableAnyAsIntToDouble.kt.txt +++ b/compiler/testData/ir/irText/expressions/floatingPointComparisons/nullableAnyAsIntToDouble.kt.txt @@ -4,4 +4,3 @@ fun test(x: Any?, y: Double): Boolean { else -> false } } - diff --git a/compiler/testData/ir/irText/expressions/floatingPointComparisons/nullableFloatingPointEqeq.fir.txt b/compiler/testData/ir/irText/expressions/floatingPointComparisons/nullableFloatingPointEqeq.fir.ir.txt similarity index 100% rename from compiler/testData/ir/irText/expressions/floatingPointComparisons/nullableFloatingPointEqeq.fir.txt rename to compiler/testData/ir/irText/expressions/floatingPointComparisons/nullableFloatingPointEqeq.fir.ir.txt diff --git a/compiler/testData/ir/irText/expressions/floatingPointComparisons/nullableFloatingPointEqeq.txt b/compiler/testData/ir/irText/expressions/floatingPointComparisons/nullableFloatingPointEqeq.ir.txt similarity index 100% rename from compiler/testData/ir/irText/expressions/floatingPointComparisons/nullableFloatingPointEqeq.txt rename to compiler/testData/ir/irText/expressions/floatingPointComparisons/nullableFloatingPointEqeq.ir.txt diff --git a/compiler/testData/ir/irText/expressions/floatingPointComparisons/nullableFloatingPointEqeq.kt.txt b/compiler/testData/ir/irText/expressions/floatingPointComparisons/nullableFloatingPointEqeq.kt.txt index bf159474337..cec49f53667 100644 --- a/compiler/testData/ir/irText/expressions/floatingPointComparisons/nullableFloatingPointEqeq.kt.txt +++ b/compiler/testData/ir/irText/expressions/floatingPointComparisons/nullableFloatingPointEqeq.kt.txt @@ -43,4 +43,3 @@ fun testDI2(x: Any?, y: Any?): Boolean { else -> false } } - diff --git a/compiler/testData/ir/irText/expressions/floatingPointComparisons/typeParameterWithPrimitiveNumericSupertype.fir.txt b/compiler/testData/ir/irText/expressions/floatingPointComparisons/typeParameterWithPrimitiveNumericSupertype.fir.ir.txt similarity index 100% rename from compiler/testData/ir/irText/expressions/floatingPointComparisons/typeParameterWithPrimitiveNumericSupertype.fir.txt rename to compiler/testData/ir/irText/expressions/floatingPointComparisons/typeParameterWithPrimitiveNumericSupertype.fir.ir.txt diff --git a/compiler/testData/ir/irText/expressions/floatingPointComparisons/typeParameterWithPrimitiveNumericSupertype.txt b/compiler/testData/ir/irText/expressions/floatingPointComparisons/typeParameterWithPrimitiveNumericSupertype.ir.txt similarity index 100% rename from compiler/testData/ir/irText/expressions/floatingPointComparisons/typeParameterWithPrimitiveNumericSupertype.txt rename to compiler/testData/ir/irText/expressions/floatingPointComparisons/typeParameterWithPrimitiveNumericSupertype.ir.txt diff --git a/compiler/testData/ir/irText/expressions/floatingPointComparisons/typeParameterWithPrimitiveNumericSupertype.kt.txt b/compiler/testData/ir/irText/expressions/floatingPointComparisons/typeParameterWithPrimitiveNumericSupertype.kt.txt index ddc7d35451a..35f3b17f98e 100644 --- a/compiler/testData/ir/irText/expressions/floatingPointComparisons/typeParameterWithPrimitiveNumericSupertype.kt.txt +++ b/compiler/testData/ir/irText/expressions/floatingPointComparisons/typeParameterWithPrimitiveNumericSupertype.kt.txt @@ -62,4 +62,3 @@ class F { } } - diff --git a/compiler/testData/ir/irText/expressions/floatingPointComparisons/whenByFloatingPoint.fir.txt b/compiler/testData/ir/irText/expressions/floatingPointComparisons/whenByFloatingPoint.fir.ir.txt similarity index 100% rename from compiler/testData/ir/irText/expressions/floatingPointComparisons/whenByFloatingPoint.fir.txt rename to compiler/testData/ir/irText/expressions/floatingPointComparisons/whenByFloatingPoint.fir.ir.txt diff --git a/compiler/testData/ir/irText/expressions/floatingPointComparisons/whenByFloatingPoint.fir.kt.txt b/compiler/testData/ir/irText/expressions/floatingPointComparisons/whenByFloatingPoint.fir.kt.txt index a9f40419156..21932e86fd8 100644 --- a/compiler/testData/ir/irText/expressions/floatingPointComparisons/whenByFloatingPoint.fir.kt.txt +++ b/compiler/testData/ir/irText/expressions/floatingPointComparisons/whenByFloatingPoint.fir.kt.txt @@ -77,4 +77,3 @@ fun testWithPrematureExitInConditionSubexpression(x: Any): Int { } } } - diff --git a/compiler/testData/ir/irText/expressions/floatingPointComparisons/whenByFloatingPoint.txt b/compiler/testData/ir/irText/expressions/floatingPointComparisons/whenByFloatingPoint.ir.txt similarity index 100% rename from compiler/testData/ir/irText/expressions/floatingPointComparisons/whenByFloatingPoint.txt rename to compiler/testData/ir/irText/expressions/floatingPointComparisons/whenByFloatingPoint.ir.txt diff --git a/compiler/testData/ir/irText/expressions/floatingPointComparisons/whenByFloatingPoint.kt.txt b/compiler/testData/ir/irText/expressions/floatingPointComparisons/whenByFloatingPoint.kt.txt index 61db3d39f9f..1004c04faf1 100644 --- a/compiler/testData/ir/irText/expressions/floatingPointComparisons/whenByFloatingPoint.kt.txt +++ b/compiler/testData/ir/irText/expressions/floatingPointComparisons/whenByFloatingPoint.kt.txt @@ -77,4 +77,3 @@ fun testWithPrematureExitInConditionSubexpression(x: Any): Int { } } } - diff --git a/compiler/testData/ir/irText/expressions/for.fir.txt b/compiler/testData/ir/irText/expressions/for.fir.ir.txt similarity index 100% rename from compiler/testData/ir/irText/expressions/for.fir.txt rename to compiler/testData/ir/irText/expressions/for.fir.ir.txt diff --git a/compiler/testData/ir/irText/expressions/for.fir.kt.txt b/compiler/testData/ir/irText/expressions/for.fir.kt.txt index 7f9665d76a4..9c840b541e0 100644 --- a/compiler/testData/ir/irText/expressions/for.fir.kt.txt +++ b/compiler/testData/ir/irText/expressions/for.fir.kt.txt @@ -40,4 +40,3 @@ fun testRange() { } } } - diff --git a/compiler/testData/ir/irText/expressions/for.txt b/compiler/testData/ir/irText/expressions/for.ir.txt similarity index 100% rename from compiler/testData/ir/irText/expressions/for.txt rename to compiler/testData/ir/irText/expressions/for.ir.txt diff --git a/compiler/testData/ir/irText/expressions/for.kt.txt b/compiler/testData/ir/irText/expressions/for.kt.txt index 0f2fc03ca99..8e000ae7ce9 100644 --- a/compiler/testData/ir/irText/expressions/for.kt.txt +++ b/compiler/testData/ir/irText/expressions/for.kt.txt @@ -42,4 +42,3 @@ fun testRange() { } } } - diff --git a/compiler/testData/ir/irText/expressions/forWithBreakContinue.fir.txt b/compiler/testData/ir/irText/expressions/forWithBreakContinue.fir.ir.txt similarity index 100% rename from compiler/testData/ir/irText/expressions/forWithBreakContinue.fir.txt rename to compiler/testData/ir/irText/expressions/forWithBreakContinue.fir.ir.txt diff --git a/compiler/testData/ir/irText/expressions/forWithBreakContinue.fir.kt.txt b/compiler/testData/ir/irText/expressions/forWithBreakContinue.fir.kt.txt index 4fb24a9177e..de10555b4bd 100644 --- a/compiler/testData/ir/irText/expressions/forWithBreakContinue.fir.kt.txt +++ b/compiler/testData/ir/irText/expressions/forWithBreakContinue.fir.kt.txt @@ -63,4 +63,3 @@ fun testForContinue2(ss: List) { } } } - diff --git a/compiler/testData/ir/irText/expressions/forWithBreakContinue.txt b/compiler/testData/ir/irText/expressions/forWithBreakContinue.ir.txt similarity index 100% rename from compiler/testData/ir/irText/expressions/forWithBreakContinue.txt rename to compiler/testData/ir/irText/expressions/forWithBreakContinue.ir.txt diff --git a/compiler/testData/ir/irText/expressions/forWithBreakContinue.kt.txt b/compiler/testData/ir/irText/expressions/forWithBreakContinue.kt.txt index 2dbb6589b61..e373a5cccb5 100644 --- a/compiler/testData/ir/irText/expressions/forWithBreakContinue.kt.txt +++ b/compiler/testData/ir/irText/expressions/forWithBreakContinue.kt.txt @@ -67,4 +67,3 @@ fun testForContinue2(ss: List) { } } } - diff --git a/compiler/testData/ir/irText/expressions/forWithImplicitReceivers.fir.txt b/compiler/testData/ir/irText/expressions/forWithImplicitReceivers.fir.ir.txt similarity index 100% rename from compiler/testData/ir/irText/expressions/forWithImplicitReceivers.fir.txt rename to compiler/testData/ir/irText/expressions/forWithImplicitReceivers.fir.ir.txt diff --git a/compiler/testData/ir/irText/expressions/forWithImplicitReceivers.txt b/compiler/testData/ir/irText/expressions/forWithImplicitReceivers.ir.txt similarity index 100% rename from compiler/testData/ir/irText/expressions/forWithImplicitReceivers.txt rename to compiler/testData/ir/irText/expressions/forWithImplicitReceivers.ir.txt diff --git a/compiler/testData/ir/irText/expressions/forWithImplicitReceivers.kt.txt b/compiler/testData/ir/irText/expressions/forWithImplicitReceivers.kt.txt index 7db77b47e50..1a10c981ba4 100644 --- a/compiler/testData/ir/irText/expressions/forWithImplicitReceivers.kt.txt +++ b/compiler/testData/ir/irText/expressions/forWithImplicitReceivers.kt.txt @@ -54,4 +54,3 @@ fun IReceiver.test() { } } } - diff --git a/compiler/testData/ir/irText/expressions/funImportedFromObject.txt b/compiler/testData/ir/irText/expressions/funImportedFromObject.ir.txt similarity index 100% rename from compiler/testData/ir/irText/expressions/funImportedFromObject.txt rename to compiler/testData/ir/irText/expressions/funImportedFromObject.ir.txt diff --git a/compiler/testData/ir/irText/expressions/funImportedFromObject.kt.txt b/compiler/testData/ir/irText/expressions/funImportedFromObject.kt.txt index add7154f8a0..d7090afaeb6 100644 --- a/compiler/testData/ir/irText/expressions/funImportedFromObject.kt.txt +++ b/compiler/testData/ir/irText/expressions/funImportedFromObject.kt.txt @@ -16,4 +16,3 @@ object Host { fun test(): String { return Host.foo() } - diff --git a/compiler/testData/ir/irText/expressions/funInterface/arrayAsVarargAfterSamArgument_fi.txt b/compiler/testData/ir/irText/expressions/funInterface/arrayAsVarargAfterSamArgument_fi.ir.txt similarity index 100% rename from compiler/testData/ir/irText/expressions/funInterface/arrayAsVarargAfterSamArgument_fi.txt rename to compiler/testData/ir/irText/expressions/funInterface/arrayAsVarargAfterSamArgument_fi.ir.txt diff --git a/compiler/testData/ir/irText/expressions/funInterface/arrayAsVarargAfterSamArgument_fi.kt.txt b/compiler/testData/ir/irText/expressions/funInterface/arrayAsVarargAfterSamArgument_fi.kt.txt index 6f90e6e597e..ff39d6bafc8 100644 --- a/compiler/testData/ir/irText/expressions/funInterface/arrayAsVarargAfterSamArgument_fi.kt.txt +++ b/compiler/testData/ir/irText/expressions/funInterface/arrayAsVarargAfterSamArgument_fi.kt.txt @@ -1,5 +1,5 @@ fun interface IRunnable { - abstract fun run() + abstract fun run() } @@ -53,4 +53,3 @@ fun test(fn: Function0, r: IRunnable, s: String, arr: Array) { } /*-> IRunnable */, s = [*arr]) } - diff --git a/compiler/testData/ir/irText/expressions/funInterface/basicFunInterfaceConversion.txt b/compiler/testData/ir/irText/expressions/funInterface/basicFunInterfaceConversion.ir.txt similarity index 100% rename from compiler/testData/ir/irText/expressions/funInterface/basicFunInterfaceConversion.txt rename to compiler/testData/ir/irText/expressions/funInterface/basicFunInterfaceConversion.ir.txt diff --git a/compiler/testData/ir/irText/expressions/funInterface/basicFunInterfaceConversion.kt.txt b/compiler/testData/ir/irText/expressions/funInterface/basicFunInterfaceConversion.kt.txt index 42f264a46d5..a84e2b516fb 100644 --- a/compiler/testData/ir/irText/expressions/funInterface/basicFunInterfaceConversion.kt.txt +++ b/compiler/testData/ir/irText/expressions/funInterface/basicFunInterfaceConversion.kt.txt @@ -1,5 +1,5 @@ fun interface Foo { - abstract fun invoke(): String + abstract fun invoke(): String } @@ -13,4 +13,3 @@ fun test(): String { } /*-> Foo */) } - diff --git a/compiler/testData/ir/irText/expressions/funInterface/castFromAny.txt b/compiler/testData/ir/irText/expressions/funInterface/castFromAny.ir.txt similarity index 100% rename from compiler/testData/ir/irText/expressions/funInterface/castFromAny.txt rename to compiler/testData/ir/irText/expressions/funInterface/castFromAny.ir.txt diff --git a/compiler/testData/ir/irText/expressions/funInterface/castFromAny.kt.txt b/compiler/testData/ir/irText/expressions/funInterface/castFromAny.kt.txt index 6360ffbef08..9004f0cd90e 100644 --- a/compiler/testData/ir/irText/expressions/funInterface/castFromAny.kt.txt +++ b/compiler/testData/ir/irText/expressions/funInterface/castFromAny.kt.txt @@ -1,5 +1,5 @@ fun interface KRunnable { - abstract fun invoke() + abstract fun invoke() } @@ -7,4 +7,3 @@ fun test(a: Any?) { a as Function0 /*~> Unit */ a /*as Function0 */ /*-> KRunnable */.invoke() } - diff --git a/compiler/testData/ir/irText/expressions/funInterface/functionSupertype.fir.txt b/compiler/testData/ir/irText/expressions/funInterface/functionSupertype.fir.ir.txt similarity index 100% rename from compiler/testData/ir/irText/expressions/funInterface/functionSupertype.fir.txt rename to compiler/testData/ir/irText/expressions/funInterface/functionSupertype.fir.ir.txt diff --git a/compiler/testData/ir/irText/expressions/funInterface/functionSupertype.txt b/compiler/testData/ir/irText/expressions/funInterface/functionSupertype.ir.txt similarity index 100% rename from compiler/testData/ir/irText/expressions/funInterface/functionSupertype.txt rename to compiler/testData/ir/irText/expressions/funInterface/functionSupertype.ir.txt diff --git a/compiler/testData/ir/irText/expressions/funInterface/partialSam.fir.txt b/compiler/testData/ir/irText/expressions/funInterface/partialSam.fir.ir.txt similarity index 100% rename from compiler/testData/ir/irText/expressions/funInterface/partialSam.fir.txt rename to compiler/testData/ir/irText/expressions/funInterface/partialSam.fir.ir.txt diff --git a/compiler/testData/ir/irText/expressions/funInterface/partialSam.txt b/compiler/testData/ir/irText/expressions/funInterface/partialSam.ir.txt similarity index 100% rename from compiler/testData/ir/irText/expressions/funInterface/partialSam.txt rename to compiler/testData/ir/irText/expressions/funInterface/partialSam.ir.txt diff --git a/compiler/testData/ir/irText/expressions/funInterface/partialSam.kt.txt b/compiler/testData/ir/irText/expressions/funInterface/partialSam.kt.txt index 1fcb4d77db5..e0dfeedb75b 100644 --- a/compiler/testData/ir/irText/expressions/funInterface/partialSam.kt.txt +++ b/compiler/testData/ir/irText/expressions/funInterface/partialSam.kt.txt @@ -1,5 +1,5 @@ fun interface Fn { - abstract fun run(s: String, i: Int, t: T): R + abstract fun run(s: String, i: Int, t: T): R } @@ -64,4 +64,3 @@ fun test(j: J) { } /*-> Fn */, f2 = ()) /*~> Unit */ } - diff --git a/compiler/testData/ir/irText/expressions/funInterface/samConversionInVarargs.fir.txt b/compiler/testData/ir/irText/expressions/funInterface/samConversionInVarargs.fir.ir.txt similarity index 100% rename from compiler/testData/ir/irText/expressions/funInterface/samConversionInVarargs.fir.txt rename to compiler/testData/ir/irText/expressions/funInterface/samConversionInVarargs.fir.ir.txt diff --git a/compiler/testData/ir/irText/expressions/funInterface/samConversionInVarargs.txt b/compiler/testData/ir/irText/expressions/funInterface/samConversionInVarargs.ir.txt similarity index 100% rename from compiler/testData/ir/irText/expressions/funInterface/samConversionInVarargs.txt rename to compiler/testData/ir/irText/expressions/funInterface/samConversionInVarargs.ir.txt diff --git a/compiler/testData/ir/irText/expressions/funInterface/samConversionInVarargs.kt.txt b/compiler/testData/ir/irText/expressions/funInterface/samConversionInVarargs.kt.txt index 213228440e1..81fc4867582 100644 --- a/compiler/testData/ir/irText/expressions/funInterface/samConversionInVarargs.kt.txt +++ b/compiler/testData/ir/irText/expressions/funInterface/samConversionInVarargs.kt.txt @@ -1,5 +1,5 @@ fun interface IFoo { - abstract fun foo(i: Int) + abstract fun foo(i: Int) } @@ -39,4 +39,3 @@ fun testAdaptedCR() { ::withVarargOfInt /*-> IFoo */ }]) } - diff --git a/compiler/testData/ir/irText/expressions/funInterface/samConversionInVarargsMixed.fir.txt b/compiler/testData/ir/irText/expressions/funInterface/samConversionInVarargsMixed.fir.ir.txt similarity index 100% rename from compiler/testData/ir/irText/expressions/funInterface/samConversionInVarargsMixed.fir.txt rename to compiler/testData/ir/irText/expressions/funInterface/samConversionInVarargsMixed.fir.ir.txt diff --git a/compiler/testData/ir/irText/expressions/funInterface/samConversionInVarargsMixed.txt b/compiler/testData/ir/irText/expressions/funInterface/samConversionInVarargsMixed.ir.txt similarity index 100% rename from compiler/testData/ir/irText/expressions/funInterface/samConversionInVarargsMixed.txt rename to compiler/testData/ir/irText/expressions/funInterface/samConversionInVarargsMixed.ir.txt diff --git a/compiler/testData/ir/irText/expressions/funInterface/samConversionInVarargsMixed.kt.txt b/compiler/testData/ir/irText/expressions/funInterface/samConversionInVarargsMixed.kt.txt index 797fff5a4a1..d3d79d4c5ef 100644 --- a/compiler/testData/ir/irText/expressions/funInterface/samConversionInVarargsMixed.kt.txt +++ b/compiler/testData/ir/irText/expressions/funInterface/samConversionInVarargsMixed.kt.txt @@ -1,5 +1,5 @@ fun interface MyRunnable { - abstract fun run() + abstract fun run() } @@ -16,4 +16,3 @@ fun test(a: Any, r: MyRunnable) { fun foo(vararg rs: MyRunnable) { } - diff --git a/compiler/testData/ir/irText/expressions/funInterface/samConversionOnCallableReference.fir.txt b/compiler/testData/ir/irText/expressions/funInterface/samConversionOnCallableReference.fir.ir.txt similarity index 100% rename from compiler/testData/ir/irText/expressions/funInterface/samConversionOnCallableReference.fir.txt rename to compiler/testData/ir/irText/expressions/funInterface/samConversionOnCallableReference.fir.ir.txt diff --git a/compiler/testData/ir/irText/expressions/funInterface/samConversionOnCallableReference.txt b/compiler/testData/ir/irText/expressions/funInterface/samConversionOnCallableReference.ir.txt similarity index 100% rename from compiler/testData/ir/irText/expressions/funInterface/samConversionOnCallableReference.txt rename to compiler/testData/ir/irText/expressions/funInterface/samConversionOnCallableReference.ir.txt diff --git a/compiler/testData/ir/irText/expressions/funInterface/samConversionOnCallableReference.kt.txt b/compiler/testData/ir/irText/expressions/funInterface/samConversionOnCallableReference.kt.txt index 3b6113825e0..9d3478ecc6c 100644 --- a/compiler/testData/ir/irText/expressions/funInterface/samConversionOnCallableReference.kt.txt +++ b/compiler/testData/ir/irText/expressions/funInterface/samConversionOnCallableReference.kt.txt @@ -1,5 +1,5 @@ fun interface KRunnable { - abstract fun run() + abstract fun run() } @@ -40,4 +40,3 @@ fun testSamConversionOnAdapted() { ::foo1 /*-> KRunnable */ }) } - diff --git a/compiler/testData/ir/irText/expressions/funInterface/samConversionsWithSmartCasts.fir.txt b/compiler/testData/ir/irText/expressions/funInterface/samConversionsWithSmartCasts.fir.ir.txt similarity index 100% rename from compiler/testData/ir/irText/expressions/funInterface/samConversionsWithSmartCasts.fir.txt rename to compiler/testData/ir/irText/expressions/funInterface/samConversionsWithSmartCasts.fir.ir.txt diff --git a/compiler/testData/ir/irText/expressions/funInterface/samConversionsWithSmartCasts.txt b/compiler/testData/ir/irText/expressions/funInterface/samConversionsWithSmartCasts.ir.txt similarity index 100% rename from compiler/testData/ir/irText/expressions/funInterface/samConversionsWithSmartCasts.txt rename to compiler/testData/ir/irText/expressions/funInterface/samConversionsWithSmartCasts.ir.txt diff --git a/compiler/testData/ir/irText/expressions/funInterface/samConversionsWithSmartCasts.kt.txt b/compiler/testData/ir/irText/expressions/funInterface/samConversionsWithSmartCasts.kt.txt index 3898a38ccff..c10bc3ef2e0 100644 --- a/compiler/testData/ir/irText/expressions/funInterface/samConversionsWithSmartCasts.kt.txt +++ b/compiler/testData/ir/irText/expressions/funInterface/samConversionsWithSmartCasts.kt.txt @@ -1,5 +1,5 @@ fun interface KRunnable { - abstract fun run() + abstract fun run() } @@ -75,4 +75,3 @@ fun test8(a: Function0) { fun test9() { run1(r = ::test9 /*-> KRunnable */) } - diff --git a/compiler/testData/ir/irText/expressions/genericConstructorCallWithTypeArguments.fir.txt b/compiler/testData/ir/irText/expressions/genericConstructorCallWithTypeArguments.fir.ir.txt similarity index 100% rename from compiler/testData/ir/irText/expressions/genericConstructorCallWithTypeArguments.fir.txt rename to compiler/testData/ir/irText/expressions/genericConstructorCallWithTypeArguments.fir.ir.txt diff --git a/compiler/testData/ir/irText/expressions/genericConstructorCallWithTypeArguments.txt b/compiler/testData/ir/irText/expressions/genericConstructorCallWithTypeArguments.ir.txt similarity index 100% rename from compiler/testData/ir/irText/expressions/genericConstructorCallWithTypeArguments.txt rename to compiler/testData/ir/irText/expressions/genericConstructorCallWithTypeArguments.ir.txt diff --git a/compiler/testData/ir/irText/expressions/genericConstructorCallWithTypeArguments.kt.txt b/compiler/testData/ir/irText/expressions/genericConstructorCallWithTypeArguments.kt.txt index f3cbd3ccae7..b20114935fa 100644 --- a/compiler/testData/ir/irText/expressions/genericConstructorCallWithTypeArguments.kt.txt +++ b/compiler/testData/ir/irText/expressions/genericConstructorCallWithTypeArguments.kt.txt @@ -21,4 +21,3 @@ class Box { get } - diff --git a/compiler/testData/ir/irText/expressions/genericPropertyCall.txt b/compiler/testData/ir/irText/expressions/genericPropertyCall.ir.txt similarity index 100% rename from compiler/testData/ir/irText/expressions/genericPropertyCall.txt rename to compiler/testData/ir/irText/expressions/genericPropertyCall.ir.txt diff --git a/compiler/testData/ir/irText/expressions/genericPropertyCall.kt.txt b/compiler/testData/ir/irText/expressions/genericPropertyCall.kt.txt index 32d611c152e..37051856b73 100644 --- a/compiler/testData/ir/irText/expressions/genericPropertyCall.kt.txt +++ b/compiler/testData/ir/irText/expressions/genericPropertyCall.kt.txt @@ -6,4 +6,3 @@ val T.id: T val test: String field = "abc".() get - diff --git a/compiler/testData/ir/irText/expressions/genericPropertyRef.fir.txt b/compiler/testData/ir/irText/expressions/genericPropertyRef.fir.ir.txt similarity index 100% rename from compiler/testData/ir/irText/expressions/genericPropertyRef.fir.txt rename to compiler/testData/ir/irText/expressions/genericPropertyRef.fir.ir.txt diff --git a/compiler/testData/ir/irText/expressions/genericPropertyRef.txt b/compiler/testData/ir/irText/expressions/genericPropertyRef.ir.txt similarity index 100% rename from compiler/testData/ir/irText/expressions/genericPropertyRef.txt rename to compiler/testData/ir/irText/expressions/genericPropertyRef.ir.txt diff --git a/compiler/testData/ir/irText/expressions/genericPropertyRef.kt.txt b/compiler/testData/ir/irText/expressions/genericPropertyRef.kt.txt index 59be516abff..f41ebab2a94 100644 --- a/compiler/testData/ir/irText/expressions/genericPropertyRef.kt.txt +++ b/compiler/testData/ir/irText/expressions/genericPropertyRef.kt.txt @@ -17,13 +17,13 @@ class Value { } -val Value.additionalText: Int /* by */ +val Value.additionalText: Int /* by */ field = DVal(kmember = Value::text) get(): Int { return #additionalText$delegate.getValue(t = , p = ::additionalText/*()*/) } -val Value.additionalValue: Int /* by */ +val Value.additionalValue: Int /* by */ field = DVal(kmember = Value::value) get(): Int { return #additionalValue$delegate.getValue(t = , p = ::additionalValue/*()*/) @@ -68,4 +68,3 @@ var T.bar: T val barRef: KMutableProperty1 field = ::bar/*()*/ get - diff --git a/compiler/testData/ir/irText/expressions/identity.txt b/compiler/testData/ir/irText/expressions/identity.ir.txt similarity index 100% rename from compiler/testData/ir/irText/expressions/identity.txt rename to compiler/testData/ir/irText/expressions/identity.ir.txt diff --git a/compiler/testData/ir/irText/expressions/identity.kt.txt b/compiler/testData/ir/irText/expressions/identity.kt.txt index e756c6d2c06..4d43da8353e 100644 --- a/compiler/testData/ir/irText/expressions/identity.kt.txt +++ b/compiler/testData/ir/irText/expressions/identity.kt.txt @@ -9,4 +9,3 @@ fun test2(a: Int, b: Int): Boolean { fun test3(a: Any?, b: Any?): Boolean { return EQEQEQ(arg0 = a, arg1 = b) } - diff --git a/compiler/testData/ir/irText/expressions/ifElseIf.fir.txt b/compiler/testData/ir/irText/expressions/ifElseIf.fir.ir.txt similarity index 100% rename from compiler/testData/ir/irText/expressions/ifElseIf.fir.txt rename to compiler/testData/ir/irText/expressions/ifElseIf.fir.ir.txt diff --git a/compiler/testData/ir/irText/expressions/ifElseIf.txt b/compiler/testData/ir/irText/expressions/ifElseIf.ir.txt similarity index 100% rename from compiler/testData/ir/irText/expressions/ifElseIf.txt rename to compiler/testData/ir/irText/expressions/ifElseIf.ir.txt diff --git a/compiler/testData/ir/irText/expressions/ifElseIf.kt.txt b/compiler/testData/ir/irText/expressions/ifElseIf.kt.txt index d150b966d3b..3ec78b9a65f 100644 --- a/compiler/testData/ir/irText/expressions/ifElseIf.kt.txt +++ b/compiler/testData/ir/irText/expressions/ifElseIf.kt.txt @@ -37,4 +37,3 @@ fun testEmptyBranches3(flag: Boolean) { else -> true /*~> Unit */ } } - diff --git a/compiler/testData/ir/irText/expressions/implicitCastInReturnFromConstructor.fir.txt b/compiler/testData/ir/irText/expressions/implicitCastInReturnFromConstructor.fir.ir.txt similarity index 100% rename from compiler/testData/ir/irText/expressions/implicitCastInReturnFromConstructor.fir.txt rename to compiler/testData/ir/irText/expressions/implicitCastInReturnFromConstructor.fir.ir.txt diff --git a/compiler/testData/ir/irText/expressions/implicitCastInReturnFromConstructor.txt b/compiler/testData/ir/irText/expressions/implicitCastInReturnFromConstructor.ir.txt similarity index 100% rename from compiler/testData/ir/irText/expressions/implicitCastInReturnFromConstructor.txt rename to compiler/testData/ir/irText/expressions/implicitCastInReturnFromConstructor.ir.txt diff --git a/compiler/testData/ir/irText/expressions/implicitCastInReturnFromConstructor.kt.txt b/compiler/testData/ir/irText/expressions/implicitCastInReturnFromConstructor.kt.txt index 14dad1853e8..5db94f4218b 100644 --- a/compiler/testData/ir/irText/expressions/implicitCastInReturnFromConstructor.kt.txt +++ b/compiler/testData/ir/irText/expressions/implicitCastInReturnFromConstructor.kt.txt @@ -13,4 +13,3 @@ class C { } } - diff --git a/compiler/testData/ir/irText/expressions/implicitCastOnPlatformType.fir.txt b/compiler/testData/ir/irText/expressions/implicitCastOnPlatformType.fir.ir.txt similarity index 100% rename from compiler/testData/ir/irText/expressions/implicitCastOnPlatformType.fir.txt rename to compiler/testData/ir/irText/expressions/implicitCastOnPlatformType.fir.ir.txt diff --git a/compiler/testData/ir/irText/expressions/implicitCastOnPlatformType.txt b/compiler/testData/ir/irText/expressions/implicitCastOnPlatformType.ir.txt similarity index 100% rename from compiler/testData/ir/irText/expressions/implicitCastOnPlatformType.txt rename to compiler/testData/ir/irText/expressions/implicitCastOnPlatformType.ir.txt diff --git a/compiler/testData/ir/irText/expressions/implicitCastOnPlatformType.kt.txt b/compiler/testData/ir/irText/expressions/implicitCastOnPlatformType.kt.txt index ca9ae90b00f..174fb1c518b 100644 --- a/compiler/testData/ir/irText/expressions/implicitCastOnPlatformType.kt.txt +++ b/compiler/testData/ir/irText/expressions/implicitCastOnPlatformType.kt.txt @@ -1,4 +1,3 @@ fun test(): String { return getProperty(p0 = "test") /*!! String */ } - diff --git a/compiler/testData/ir/irText/expressions/implicitCastToNonNull.txt b/compiler/testData/ir/irText/expressions/implicitCastToNonNull.ir.txt similarity index 100% rename from compiler/testData/ir/irText/expressions/implicitCastToNonNull.txt rename to compiler/testData/ir/irText/expressions/implicitCastToNonNull.ir.txt diff --git a/compiler/testData/ir/irText/expressions/implicitCastToNonNull.kt.txt b/compiler/testData/ir/irText/expressions/implicitCastToNonNull.kt.txt index 70ed96c17a8..02fa9a8e92c 100644 --- a/compiler/testData/ir/irText/expressions/implicitCastToNonNull.kt.txt +++ b/compiler/testData/ir/irText/expressions/implicitCastToNonNull.kt.txt @@ -31,4 +31,3 @@ fun test5(x: T, fn: Function1) { EQEQ(arg0 = x, arg1 = null).not() -> fn.invoke(p1 = x) } } - diff --git a/compiler/testData/ir/irText/expressions/implicitCastToTypeParameter.txt b/compiler/testData/ir/irText/expressions/implicitCastToTypeParameter.ir.txt similarity index 100% rename from compiler/testData/ir/irText/expressions/implicitCastToTypeParameter.txt rename to compiler/testData/ir/irText/expressions/implicitCastToTypeParameter.ir.txt diff --git a/compiler/testData/ir/irText/expressions/implicitCastToTypeParameter.kt.txt b/compiler/testData/ir/irText/expressions/implicitCastToTypeParameter.kt.txt index f8967c192e4..dfac84eac5d 100644 --- a/compiler/testData/ir/irText/expressions/implicitCastToTypeParameter.kt.txt +++ b/compiler/testData/ir/irText/expressions/implicitCastToTypeParameter.kt.txt @@ -33,4 +33,3 @@ class Bar { } } - diff --git a/compiler/testData/ir/irText/expressions/implicitNotNullInDestructuringAssignment.fir.txt b/compiler/testData/ir/irText/expressions/implicitNotNullInDestructuringAssignment.fir.ir.txt similarity index 100% rename from compiler/testData/ir/irText/expressions/implicitNotNullInDestructuringAssignment.fir.txt rename to compiler/testData/ir/irText/expressions/implicitNotNullInDestructuringAssignment.fir.ir.txt diff --git a/compiler/testData/ir/irText/expressions/implicitNotNullInDestructuringAssignment.txt b/compiler/testData/ir/irText/expressions/implicitNotNullInDestructuringAssignment.ir.txt similarity index 100% rename from compiler/testData/ir/irText/expressions/implicitNotNullInDestructuringAssignment.txt rename to compiler/testData/ir/irText/expressions/implicitNotNullInDestructuringAssignment.ir.txt diff --git a/compiler/testData/ir/irText/expressions/implicitNotNullInDestructuringAssignment.kt.txt b/compiler/testData/ir/irText/expressions/implicitNotNullInDestructuringAssignment.kt.txt index afa12bb5595..a2a57be3b15 100644 --- a/compiler/testData/ir/irText/expressions/implicitNotNullInDestructuringAssignment.kt.txt +++ b/compiler/testData/ir/irText/expressions/implicitNotNullInDestructuringAssignment.kt.txt @@ -13,4 +13,3 @@ fun test() { val b: Int = tmp0_container /*!! J */.component2() // } } - diff --git a/compiler/testData/ir/irText/expressions/in.fir.txt b/compiler/testData/ir/irText/expressions/in.fir.ir.txt similarity index 100% rename from compiler/testData/ir/irText/expressions/in.fir.txt rename to compiler/testData/ir/irText/expressions/in.fir.ir.txt diff --git a/compiler/testData/ir/irText/expressions/in.txt b/compiler/testData/ir/irText/expressions/in.ir.txt similarity index 100% rename from compiler/testData/ir/irText/expressions/in.txt rename to compiler/testData/ir/irText/expressions/in.ir.txt diff --git a/compiler/testData/ir/irText/expressions/in.kt.txt b/compiler/testData/ir/irText/expressions/in.kt.txt index 2a0919283e2..e582eb28918 100644 --- a/compiler/testData/ir/irText/expressions/in.kt.txt +++ b/compiler/testData/ir/irText/expressions/in.kt.txt @@ -13,4 +13,3 @@ fun test3(a: T, x: Collection): Boolean { fun test4(a: T, x: Collection): Boolean { return x.contains(element = a).not() } - diff --git a/compiler/testData/ir/irText/expressions/incrementDecrement.fir.txt b/compiler/testData/ir/irText/expressions/incrementDecrement.fir.ir.txt similarity index 100% rename from compiler/testData/ir/irText/expressions/incrementDecrement.fir.txt rename to compiler/testData/ir/irText/expressions/incrementDecrement.fir.ir.txt diff --git a/compiler/testData/ir/irText/expressions/incrementDecrement.txt b/compiler/testData/ir/irText/expressions/incrementDecrement.ir.txt similarity index 100% rename from compiler/testData/ir/irText/expressions/incrementDecrement.txt rename to compiler/testData/ir/irText/expressions/incrementDecrement.ir.txt diff --git a/compiler/testData/ir/irText/expressions/incrementDecrement.kt.txt b/compiler/testData/ir/irText/expressions/incrementDecrement.kt.txt index 74c0b03838d..68a297e0b80 100644 --- a/compiler/testData/ir/irText/expressions/incrementDecrement.kt.txt +++ b/compiler/testData/ir/irText/expressions/incrementDecrement.kt.txt @@ -95,4 +95,3 @@ fun testArrayPostfix() { tmp5 } } - diff --git a/compiler/testData/ir/irText/expressions/interfaceThisRef.txt b/compiler/testData/ir/irText/expressions/interfaceThisRef.ir.txt similarity index 100% rename from compiler/testData/ir/irText/expressions/interfaceThisRef.txt rename to compiler/testData/ir/irText/expressions/interfaceThisRef.ir.txt diff --git a/compiler/testData/ir/irText/expressions/interfaceThisRef.kt.txt b/compiler/testData/ir/irText/expressions/interfaceThisRef.kt.txt index 94965567f3a..8664c666e4a 100644 --- a/compiler/testData/ir/irText/expressions/interfaceThisRef.kt.txt +++ b/compiler/testData/ir/irText/expressions/interfaceThisRef.kt.txt @@ -1,8 +1,7 @@ interface IFoo { - abstract fun foo() + abstract fun foo() fun bar() { .foo() } } - diff --git a/compiler/testData/ir/irText/expressions/javaSyntheticGenericPropretyAccess.fir.txt b/compiler/testData/ir/irText/expressions/javaSyntheticGenericPropretyAccess.fir.ir.txt similarity index 100% rename from compiler/testData/ir/irText/expressions/javaSyntheticGenericPropretyAccess.fir.txt rename to compiler/testData/ir/irText/expressions/javaSyntheticGenericPropretyAccess.fir.ir.txt diff --git a/compiler/testData/ir/irText/expressions/javaSyntheticGenericPropretyAccess.txt b/compiler/testData/ir/irText/expressions/javaSyntheticGenericPropretyAccess.ir.txt similarity index 100% rename from compiler/testData/ir/irText/expressions/javaSyntheticGenericPropretyAccess.txt rename to compiler/testData/ir/irText/expressions/javaSyntheticGenericPropretyAccess.ir.txt diff --git a/compiler/testData/ir/irText/expressions/javaSyntheticPropertyAccess.fir.txt b/compiler/testData/ir/irText/expressions/javaSyntheticPropertyAccess.fir.ir.txt similarity index 100% rename from compiler/testData/ir/irText/expressions/javaSyntheticPropertyAccess.fir.txt rename to compiler/testData/ir/irText/expressions/javaSyntheticPropertyAccess.fir.ir.txt diff --git a/compiler/testData/ir/irText/expressions/javaSyntheticPropertyAccess.txt b/compiler/testData/ir/irText/expressions/javaSyntheticPropertyAccess.ir.txt similarity index 100% rename from compiler/testData/ir/irText/expressions/javaSyntheticPropertyAccess.txt rename to compiler/testData/ir/irText/expressions/javaSyntheticPropertyAccess.ir.txt diff --git a/compiler/testData/ir/irText/expressions/javaSyntheticPropertyAccess.kt.txt b/compiler/testData/ir/irText/expressions/javaSyntheticPropertyAccess.kt.txt index 67c0f252354..402364bd355 100644 --- a/compiler/testData/ir/irText/expressions/javaSyntheticPropertyAccess.kt.txt +++ b/compiler/testData/ir/irText/expressions/javaSyntheticPropertyAccess.kt.txt @@ -14,4 +14,3 @@ fun test(j: J) { tmp2_receiver.setFoo(x = tmp2_receiver.getFoo().plus(other = 1)) } } - diff --git a/compiler/testData/ir/irText/expressions/jvmFieldReferenceWithIntersectionTypes.fir.txt b/compiler/testData/ir/irText/expressions/jvmFieldReferenceWithIntersectionTypes.fir.ir.txt similarity index 100% rename from compiler/testData/ir/irText/expressions/jvmFieldReferenceWithIntersectionTypes.fir.txt rename to compiler/testData/ir/irText/expressions/jvmFieldReferenceWithIntersectionTypes.fir.ir.txt diff --git a/compiler/testData/ir/irText/expressions/jvmFieldReferenceWithIntersectionTypes.txt b/compiler/testData/ir/irText/expressions/jvmFieldReferenceWithIntersectionTypes.ir.txt similarity index 100% rename from compiler/testData/ir/irText/expressions/jvmFieldReferenceWithIntersectionTypes.txt rename to compiler/testData/ir/irText/expressions/jvmFieldReferenceWithIntersectionTypes.ir.txt diff --git a/compiler/testData/ir/irText/expressions/jvmFieldReferenceWithIntersectionTypes.kt.txt b/compiler/testData/ir/irText/expressions/jvmFieldReferenceWithIntersectionTypes.kt.txt index 24a50cea1e7..ac5235727b8 100644 --- a/compiler/testData/ir/irText/expressions/jvmFieldReferenceWithIntersectionTypes.kt.txt +++ b/compiler/testData/ir/irText/expressions/jvmFieldReferenceWithIntersectionTypes.kt.txt @@ -65,4 +65,3 @@ fun test(b: Boolean) { mk /*as Mid */super.#f = 44 mk /*as Mid */super.#f /*~> Unit */ } - diff --git a/compiler/testData/ir/irText/expressions/jvmInstanceFieldReference.fir.txt b/compiler/testData/ir/irText/expressions/jvmInstanceFieldReference.fir.ir.txt similarity index 100% rename from compiler/testData/ir/irText/expressions/jvmInstanceFieldReference.fir.txt rename to compiler/testData/ir/irText/expressions/jvmInstanceFieldReference.fir.ir.txt diff --git a/compiler/testData/ir/irText/expressions/jvmInstanceFieldReference.txt b/compiler/testData/ir/irText/expressions/jvmInstanceFieldReference.ir.txt similarity index 100% rename from compiler/testData/ir/irText/expressions/jvmInstanceFieldReference.txt rename to compiler/testData/ir/irText/expressions/jvmInstanceFieldReference.ir.txt diff --git a/compiler/testData/ir/irText/expressions/jvmInstanceFieldReference.kt.txt b/compiler/testData/ir/irText/expressions/jvmInstanceFieldReference.kt.txt index 1be0f30bbeb..55c08812258 100644 --- a/compiler/testData/ir/irText/expressions/jvmInstanceFieldReference.kt.txt +++ b/compiler/testData/ir/irText/expressions/jvmInstanceFieldReference.kt.txt @@ -18,4 +18,3 @@ class Derived : Base { } } - diff --git a/compiler/testData/ir/irText/expressions/jvmStaticFieldReference.fir.txt b/compiler/testData/ir/irText/expressions/jvmStaticFieldReference.fir.ir.txt similarity index 100% rename from compiler/testData/ir/irText/expressions/jvmStaticFieldReference.fir.txt rename to compiler/testData/ir/irText/expressions/jvmStaticFieldReference.fir.ir.txt diff --git a/compiler/testData/ir/irText/expressions/jvmStaticFieldReference.txt b/compiler/testData/ir/irText/expressions/jvmStaticFieldReference.ir.txt similarity index 100% rename from compiler/testData/ir/irText/expressions/jvmStaticFieldReference.txt rename to compiler/testData/ir/irText/expressions/jvmStaticFieldReference.ir.txt diff --git a/compiler/testData/ir/irText/expressions/jvmStaticFieldReference.kt.txt b/compiler/testData/ir/irText/expressions/jvmStaticFieldReference.kt.txt index f628101e5c1..d1974fa8b1c 100644 --- a/compiler/testData/ir/irText/expressions/jvmStaticFieldReference.kt.txt +++ b/compiler/testData/ir/irText/expressions/jvmStaticFieldReference.kt.txt @@ -32,4 +32,3 @@ class TestClass { } } - diff --git a/compiler/testData/ir/irText/expressions/kt16904.fir.txt b/compiler/testData/ir/irText/expressions/kt16904.fir.ir.txt similarity index 100% rename from compiler/testData/ir/irText/expressions/kt16904.fir.txt rename to compiler/testData/ir/irText/expressions/kt16904.fir.ir.txt diff --git a/compiler/testData/ir/irText/expressions/kt16904.txt b/compiler/testData/ir/irText/expressions/kt16904.ir.txt similarity index 100% rename from compiler/testData/ir/irText/expressions/kt16904.txt rename to compiler/testData/ir/irText/expressions/kt16904.ir.txt diff --git a/compiler/testData/ir/irText/expressions/kt16904.kt.txt b/compiler/testData/ir/irText/expressions/kt16904.kt.txt index d58a73954f3..af22b83d41b 100644 --- a/compiler/testData/ir/irText/expressions/kt16904.kt.txt +++ b/compiler/testData/ir/irText/expressions/kt16904.kt.txt @@ -57,4 +57,3 @@ class Test2 : J { } } - diff --git a/compiler/testData/ir/irText/expressions/kt16905.fir.txt b/compiler/testData/ir/irText/expressions/kt16905.fir.ir.txt similarity index 100% rename from compiler/testData/ir/irText/expressions/kt16905.fir.txt rename to compiler/testData/ir/irText/expressions/kt16905.fir.ir.txt diff --git a/compiler/testData/ir/irText/expressions/kt16905.txt b/compiler/testData/ir/irText/expressions/kt16905.ir.txt similarity index 100% rename from compiler/testData/ir/irText/expressions/kt16905.txt rename to compiler/testData/ir/irText/expressions/kt16905.ir.txt diff --git a/compiler/testData/ir/irText/expressions/kt16905.kt.txt b/compiler/testData/ir/irText/expressions/kt16905.kt.txt index 2ba4dedbf98..5f5268b994e 100644 --- a/compiler/testData/ir/irText/expressions/kt16905.kt.txt +++ b/compiler/testData/ir/irText/expressions/kt16905.kt.txt @@ -38,4 +38,3 @@ typealias OI = Inner fun test(): Inner { return Outer().Inner() } - diff --git a/compiler/testData/ir/irText/expressions/kt23030.fir.txt b/compiler/testData/ir/irText/expressions/kt23030.fir.ir.txt similarity index 100% rename from compiler/testData/ir/irText/expressions/kt23030.fir.txt rename to compiler/testData/ir/irText/expressions/kt23030.fir.ir.txt diff --git a/compiler/testData/ir/irText/expressions/kt23030.txt b/compiler/testData/ir/irText/expressions/kt23030.ir.txt similarity index 100% rename from compiler/testData/ir/irText/expressions/kt23030.txt rename to compiler/testData/ir/irText/expressions/kt23030.ir.txt diff --git a/compiler/testData/ir/irText/expressions/kt23030.kt.txt b/compiler/testData/ir/irText/expressions/kt23030.kt.txt index 29bf0a1e8db..83fd65dbfc2 100644 --- a/compiler/testData/ir/irText/expressions/kt23030.kt.txt +++ b/compiler/testData/ir/irText/expressions/kt23030.kt.txt @@ -52,4 +52,3 @@ class C { } } - diff --git a/compiler/testData/ir/irText/expressions/kt24804.fir.kt.txt b/compiler/testData/ir/irText/expressions/kt24804.fir.kt.txt deleted file mode 100644 index c2d80af741b..00000000000 --- a/compiler/testData/ir/irText/expressions/kt24804.fir.kt.txt +++ /dev/null @@ -1,25 +0,0 @@ -inline fun foo(): Boolean { - return false -} - -fun run(x: Boolean, y: Boolean): String { - var z: Int = 10 - l2@ do// COMPOSITE { - z = z.plus(other = 1) - when { - greater(arg0 = z, arg1 = 100) -> return "NOT_OK" - } - when { - x -> error("") /* ErrorExpression */ - } - when { - y -> continue@l2 - } - // } while (foo()) - return "OK" -} - -fun box(): String { - return run(x = true, y = true) -} - diff --git a/compiler/testData/ir/irText/expressions/kt24804.fir.txt b/compiler/testData/ir/irText/expressions/kt24804.fir.txt deleted file mode 100644 index 0439bc034ed..00000000000 --- a/compiler/testData/ir/irText/expressions/kt24804.fir.txt +++ /dev/null @@ -1,41 +0,0 @@ -FILE fqName: fileName:/kt24804.kt - FUN name:foo visibility:public modality:FINAL <> () returnType:kotlin.Boolean [inline] - BLOCK_BODY - RETURN type=kotlin.Nothing from='public final fun foo (): kotlin.Boolean [inline] declared in ' - CONST Boolean type=kotlin.Boolean value=false - FUN name:run visibility:public modality:FINAL <> (x:kotlin.Boolean, y:kotlin.Boolean) returnType:kotlin.String - VALUE_PARAMETER name:x index:0 type:kotlin.Boolean - VALUE_PARAMETER name:y index:1 type:kotlin.Boolean - BLOCK_BODY - VAR name:z type:kotlin.Int [var] - CONST Int type=kotlin.Int value=10 - DO_WHILE label=l2 origin=DO_WHILE_LOOP - body: COMPOSITE type=kotlin.Unit origin=DO_WHILE_LOOP - SET_VAR 'var z: kotlin.Int [var] declared in .run' type=kotlin.Unit origin=EQ - CALL 'public final fun plus (other: kotlin.Int): kotlin.Int [operator] declared in kotlin.Int' type=kotlin.Int origin=null - $this: GET_VAR 'var z: kotlin.Int [var] declared in .run' type=kotlin.Int origin=null - other: CONST Int type=kotlin.Int value=1 - WHEN type=kotlin.Unit origin=IF - BRANCH - if: CALL 'public final fun greater (arg0: kotlin.Int, arg1: kotlin.Int): kotlin.Boolean declared in kotlin.internal.ir' type=kotlin.Boolean origin=GT - arg0: GET_VAR 'var z: kotlin.Int [var] declared in .run' type=kotlin.Int origin=null - arg1: CONST Int type=kotlin.Int value=100 - then: RETURN type=kotlin.Nothing from='public final fun run (x: kotlin.Boolean, y: kotlin.Boolean): kotlin.String declared in ' - CONST String type=kotlin.String value="NOT_OK" - WHEN type=kotlin.Unit origin=IF - BRANCH - if: GET_VAR 'x: kotlin.Boolean declared in .run' type=kotlin.Boolean origin=null - then: ERROR_EXPR 'Unbound loop: continue@@@[ERROR_EXPR(Cannot bind label l1 to a loop)] ' type=kotlin.Nothing - WHEN type=kotlin.Unit origin=IF - BRANCH - if: GET_VAR 'y: kotlin.Boolean declared in .run' type=kotlin.Boolean origin=null - then: CONTINUE label=l2 loop.label=l2 - condition: CALL 'public final fun foo (): kotlin.Boolean [inline] declared in ' type=kotlin.Boolean origin=null - RETURN type=kotlin.Nothing from='public final fun run (x: kotlin.Boolean, y: kotlin.Boolean): kotlin.String declared in ' - CONST String type=kotlin.String value="OK" - FUN name:box visibility:public modality:FINAL <> () returnType:kotlin.String - BLOCK_BODY - RETURN type=kotlin.Nothing from='public final fun box (): kotlin.String declared in ' - CALL 'public final fun run (x: kotlin.Boolean, y: kotlin.Boolean): kotlin.String declared in ' type=kotlin.String origin=null - x: CONST Boolean type=kotlin.Boolean value=true - y: CONST Boolean type=kotlin.Boolean value=true diff --git a/compiler/testData/ir/irText/expressions/kt24804.txt b/compiler/testData/ir/irText/expressions/kt24804.ir.txt similarity index 100% rename from compiler/testData/ir/irText/expressions/kt24804.txt rename to compiler/testData/ir/irText/expressions/kt24804.ir.txt diff --git a/compiler/testData/ir/irText/expressions/kt24804.kt.txt b/compiler/testData/ir/irText/expressions/kt24804.kt.txt index ca84dff8a76..cd16ba573e2 100644 --- a/compiler/testData/ir/irText/expressions/kt24804.kt.txt +++ b/compiler/testData/ir/irText/expressions/kt24804.kt.txt @@ -24,4 +24,3 @@ fun run(x: Boolean, y: Boolean): String { fun box(): String { return run(x = true, y = true) } - diff --git a/compiler/testData/ir/irText/expressions/kt27933.fir.txt b/compiler/testData/ir/irText/expressions/kt27933.fir.ir.txt similarity index 100% rename from compiler/testData/ir/irText/expressions/kt27933.fir.txt rename to compiler/testData/ir/irText/expressions/kt27933.fir.ir.txt diff --git a/compiler/testData/ir/irText/expressions/kt27933.txt b/compiler/testData/ir/irText/expressions/kt27933.ir.txt similarity index 100% rename from compiler/testData/ir/irText/expressions/kt27933.txt rename to compiler/testData/ir/irText/expressions/kt27933.ir.txt diff --git a/compiler/testData/ir/irText/expressions/kt27933.kt.txt b/compiler/testData/ir/irText/expressions/kt27933.kt.txt index c18fd59f564..470ac8cc65c 100644 --- a/compiler/testData/ir/irText/expressions/kt27933.kt.txt +++ b/compiler/testData/ir/irText/expressions/kt27933.kt.txt @@ -10,4 +10,3 @@ fun box(): String { } return r } - diff --git a/compiler/testData/ir/irText/expressions/kt28006.txt b/compiler/testData/ir/irText/expressions/kt28006.ir.txt similarity index 100% rename from compiler/testData/ir/irText/expressions/kt28006.txt rename to compiler/testData/ir/irText/expressions/kt28006.ir.txt diff --git a/compiler/testData/ir/irText/expressions/kt28006.kt.txt b/compiler/testData/ir/irText/expressions/kt28006.kt.txt index 487c63c15b7..4e1ac66f6cc 100644 --- a/compiler/testData/ir/irText/expressions/kt28006.kt.txt +++ b/compiler/testData/ir/irText/expressions/kt28006.kt.txt @@ -33,4 +33,3 @@ fun test2(x: Int): String { fun test3(x: Int): String { return x + "\uD83E\uDD17" + x } - diff --git a/compiler/testData/ir/irText/expressions/kt28456.fir.txt b/compiler/testData/ir/irText/expressions/kt28456.fir.ir.txt similarity index 100% rename from compiler/testData/ir/irText/expressions/kt28456.fir.txt rename to compiler/testData/ir/irText/expressions/kt28456.fir.ir.txt diff --git a/compiler/testData/ir/irText/expressions/kt28456.txt b/compiler/testData/ir/irText/expressions/kt28456.ir.txt similarity index 100% rename from compiler/testData/ir/irText/expressions/kt28456.txt rename to compiler/testData/ir/irText/expressions/kt28456.ir.txt diff --git a/compiler/testData/ir/irText/expressions/kt28456.kt.txt b/compiler/testData/ir/irText/expressions/kt28456.kt.txt index c008171be0a..dc13521ec62 100644 --- a/compiler/testData/ir/irText/expressions/kt28456.kt.txt +++ b/compiler/testData/ir/irText/expressions/kt28456.kt.txt @@ -37,4 +37,3 @@ fun testCompoundAssignment(a: A) { tmp0_array.set(i = tmp1_index0, j = tmp2_index1, v = tmp0_array.get(xs = [tmp1_index0, tmp2_index1]).plus(other = 10)) } } - diff --git a/compiler/testData/ir/irText/expressions/kt28456a.fir.txt b/compiler/testData/ir/irText/expressions/kt28456a.fir.ir.txt similarity index 100% rename from compiler/testData/ir/irText/expressions/kt28456a.fir.txt rename to compiler/testData/ir/irText/expressions/kt28456a.fir.ir.txt diff --git a/compiler/testData/ir/irText/expressions/kt28456a.txt b/compiler/testData/ir/irText/expressions/kt28456a.ir.txt similarity index 100% rename from compiler/testData/ir/irText/expressions/kt28456a.txt rename to compiler/testData/ir/irText/expressions/kt28456a.ir.txt diff --git a/compiler/testData/ir/irText/expressions/kt28456a.kt.txt b/compiler/testData/ir/irText/expressions/kt28456a.kt.txt index 373081eb9e1..e336daf21c7 100644 --- a/compiler/testData/ir/irText/expressions/kt28456a.kt.txt +++ b/compiler/testData/ir/irText/expressions/kt28456a.kt.txt @@ -13,4 +13,3 @@ operator fun A.set(vararg i: Int, v: Int) { fun testSimpleAssignment(a: A) { a.set(i = [1, 2, 3], v = 0) } - diff --git a/compiler/testData/ir/irText/expressions/kt28456b.fir.txt b/compiler/testData/ir/irText/expressions/kt28456b.fir.ir.txt similarity index 100% rename from compiler/testData/ir/irText/expressions/kt28456b.fir.txt rename to compiler/testData/ir/irText/expressions/kt28456b.fir.ir.txt diff --git a/compiler/testData/ir/irText/expressions/kt28456b.txt b/compiler/testData/ir/irText/expressions/kt28456b.ir.txt similarity index 100% rename from compiler/testData/ir/irText/expressions/kt28456b.txt rename to compiler/testData/ir/irText/expressions/kt28456b.ir.txt diff --git a/compiler/testData/ir/irText/expressions/kt28456b.kt.txt b/compiler/testData/ir/irText/expressions/kt28456b.kt.txt index 78ca854cb33..c414df201df 100644 --- a/compiler/testData/ir/irText/expressions/kt28456b.kt.txt +++ b/compiler/testData/ir/irText/expressions/kt28456b.kt.txt @@ -35,4 +35,3 @@ fun testCompoundAssignment(a: A) { tmp0_array.set(i = tmp1_index0, v = tmp0_array.get(i = tmp1_index0).plus(other = 10)) } } - diff --git a/compiler/testData/ir/irText/expressions/kt30020.fir.txt b/compiler/testData/ir/irText/expressions/kt30020.fir.ir.txt similarity index 100% rename from compiler/testData/ir/irText/expressions/kt30020.fir.txt rename to compiler/testData/ir/irText/expressions/kt30020.fir.ir.txt diff --git a/compiler/testData/ir/irText/expressions/kt30020.txt b/compiler/testData/ir/irText/expressions/kt30020.ir.txt similarity index 100% rename from compiler/testData/ir/irText/expressions/kt30020.txt rename to compiler/testData/ir/irText/expressions/kt30020.ir.txt diff --git a/compiler/testData/ir/irText/expressions/kt30020.kt.txt b/compiler/testData/ir/irText/expressions/kt30020.kt.txt index 45b5022d227..acaecd37245 100644 --- a/compiler/testData/ir/irText/expressions/kt30020.kt.txt +++ b/compiler/testData/ir/irText/expressions/kt30020.kt.txt @@ -2,7 +2,7 @@ interface X { abstract val xs: MutableList abstract get - abstract fun f(): MutableList + abstract fun f(): MutableList } @@ -59,4 +59,3 @@ abstract class AML : MutableList { } } - diff --git a/compiler/testData/ir/irText/expressions/kt30796.fir.txt b/compiler/testData/ir/irText/expressions/kt30796.fir.ir.txt similarity index 100% rename from compiler/testData/ir/irText/expressions/kt30796.fir.txt rename to compiler/testData/ir/irText/expressions/kt30796.fir.ir.txt diff --git a/compiler/testData/ir/irText/expressions/kt30796.fir.kt.txt b/compiler/testData/ir/irText/expressions/kt30796.fir.kt.txt index 067424caa70..de616a7a5bc 100644 --- a/compiler/testData/ir/irText/expressions/kt30796.fir.kt.txt +++ b/compiler/testData/ir/irText/expressions/kt30796.fir.kt.txt @@ -83,4 +83,3 @@ fun test(value: T, value2: T) { } } } - diff --git a/compiler/testData/ir/irText/expressions/kt30796.txt b/compiler/testData/ir/irText/expressions/kt30796.ir.txt similarity index 100% rename from compiler/testData/ir/irText/expressions/kt30796.txt rename to compiler/testData/ir/irText/expressions/kt30796.ir.txt diff --git a/compiler/testData/ir/irText/expressions/kt30796.kt.txt b/compiler/testData/ir/irText/expressions/kt30796.kt.txt index e809961e7fc..63d232c16a4 100644 --- a/compiler/testData/ir/irText/expressions/kt30796.kt.txt +++ b/compiler/testData/ir/irText/expressions/kt30796.kt.txt @@ -83,4 +83,3 @@ fun test(value: T, value2: T) { } } } - diff --git a/compiler/testData/ir/irText/expressions/kt35730.fir.txt b/compiler/testData/ir/irText/expressions/kt35730.fir.ir.txt similarity index 100% rename from compiler/testData/ir/irText/expressions/kt35730.fir.txt rename to compiler/testData/ir/irText/expressions/kt35730.fir.ir.txt diff --git a/compiler/testData/ir/irText/expressions/kt35730.txt b/compiler/testData/ir/irText/expressions/kt35730.ir.txt similarity index 100% rename from compiler/testData/ir/irText/expressions/kt35730.txt rename to compiler/testData/ir/irText/expressions/kt35730.ir.txt diff --git a/compiler/testData/ir/irText/expressions/kt35730.kt.txt b/compiler/testData/ir/irText/expressions/kt35730.kt.txt index c5f0a004967..44446d56be0 100644 --- a/compiler/testData/ir/irText/expressions/kt35730.kt.txt +++ b/compiler/testData/ir/irText/expressions/kt35730.kt.txt @@ -17,4 +17,3 @@ fun test() { Derived.foo() Derived.foo() } - diff --git a/compiler/testData/ir/irText/expressions/kt36956.fir.txt b/compiler/testData/ir/irText/expressions/kt36956.fir.ir.txt similarity index 100% rename from compiler/testData/ir/irText/expressions/kt36956.fir.txt rename to compiler/testData/ir/irText/expressions/kt36956.fir.ir.txt diff --git a/compiler/testData/ir/irText/expressions/kt36956.txt b/compiler/testData/ir/irText/expressions/kt36956.ir.txt similarity index 100% rename from compiler/testData/ir/irText/expressions/kt36956.txt rename to compiler/testData/ir/irText/expressions/kt36956.ir.txt diff --git a/compiler/testData/ir/irText/expressions/kt36956.kt.txt b/compiler/testData/ir/irText/expressions/kt36956.kt.txt index c10a620d7f8..54fdea2a023 100644 --- a/compiler/testData/ir/irText/expressions/kt36956.kt.txt +++ b/compiler/testData/ir/irText/expressions/kt36956.kt.txt @@ -31,4 +31,3 @@ val aInt: Float tmp2 } get - diff --git a/compiler/testData/ir/irText/expressions/kt36963.txt b/compiler/testData/ir/irText/expressions/kt36963.ir.txt similarity index 100% rename from compiler/testData/ir/irText/expressions/kt36963.txt rename to compiler/testData/ir/irText/expressions/kt36963.ir.txt diff --git a/compiler/testData/ir/irText/expressions/kt36963.kt.txt b/compiler/testData/ir/irText/expressions/kt36963.kt.txt index f156845fb79..1121fbdab3a 100644 --- a/compiler/testData/ir/irText/expressions/kt36963.kt.txt +++ b/compiler/testData/ir/irText/expressions/kt36963.kt.txt @@ -4,4 +4,3 @@ fun foo() { fun test(): KFunction0 { return CHECK_NOT_NULL>(arg0 = ::foo) } - diff --git a/compiler/testData/ir/irText/expressions/kt37570.fir.txt b/compiler/testData/ir/irText/expressions/kt37570.fir.ir.txt similarity index 100% rename from compiler/testData/ir/irText/expressions/kt37570.fir.txt rename to compiler/testData/ir/irText/expressions/kt37570.fir.ir.txt diff --git a/compiler/testData/ir/irText/expressions/kt37570.txt b/compiler/testData/ir/irText/expressions/kt37570.ir.txt similarity index 100% rename from compiler/testData/ir/irText/expressions/kt37570.txt rename to compiler/testData/ir/irText/expressions/kt37570.ir.txt diff --git a/compiler/testData/ir/irText/expressions/kt37570.kt.txt b/compiler/testData/ir/irText/expressions/kt37570.kt.txt index ed1901631b0..6818bc803a7 100644 --- a/compiler/testData/ir/irText/expressions/kt37570.kt.txt +++ b/compiler/testData/ir/irText/expressions/kt37570.kt.txt @@ -20,4 +20,3 @@ class A { } } - diff --git a/compiler/testData/ir/irText/expressions/kt37779.txt b/compiler/testData/ir/irText/expressions/kt37779.ir.txt similarity index 100% rename from compiler/testData/ir/irText/expressions/kt37779.txt rename to compiler/testData/ir/irText/expressions/kt37779.ir.txt diff --git a/compiler/testData/ir/irText/expressions/kt37779.kt.txt b/compiler/testData/ir/irText/expressions/kt37779.kt.txt index d19ebdb93db..1d5b95898ba 100644 --- a/compiler/testData/ir/irText/expressions/kt37779.kt.txt +++ b/compiler/testData/ir/irText/expressions/kt37779.kt.txt @@ -8,4 +8,3 @@ fun test1() { fun test2(ss: Array) { foo(s = [*ss]) } - diff --git a/compiler/testData/ir/irText/expressions/kt42321.fir.txt b/compiler/testData/ir/irText/expressions/kt42321.fir.txt deleted file mode 100644 index 3c6a100a8ea..00000000000 --- a/compiler/testData/ir/irText/expressions/kt42321.fir.txt +++ /dev/null @@ -1,118 +0,0 @@ -FILE fqName: fileName:/kt42321.kt - CLASS CLASS name:C modality:ABSTRACT visibility:public superTypes:[kotlin.Any] - $this: VALUE_PARAMETER INSTANCE_RECEIVER name: type:.C.C> - TYPE_PARAMETER name:L index:0 variance: superTypes:[kotlin.Any?] - CONSTRUCTOR visibility:public <> () returnType:.C.C> [primary] - BLOCK_BODY - DELEGATING_CONSTRUCTOR_CALL 'public constructor () [primary] declared in kotlin.Any' - INSTANCE_INITIALIZER_CALL classDescriptor='CLASS CLASS name:C modality:ABSTRACT visibility:public superTypes:[kotlin.Any]' - FUN name:takeT visibility:public modality:ABSTRACT <> ($this:.C.C>, x:L of .C) returnType:kotlin.Unit - $this: VALUE_PARAMETER name: type:.C.C> - VALUE_PARAMETER name:x index:0 type:L of .C - FUN FAKE_OVERRIDE name:equals visibility:public modality:OPEN <> ($this:kotlin.Any, other:kotlin.Any?) returnType:kotlin.Boolean [fake_override,operator] - overridden: - public open fun equals (other: kotlin.Any?): kotlin.Boolean [operator] declared in kotlin.Any - $this: VALUE_PARAMETER name: type:kotlin.Any - VALUE_PARAMETER name:other index:0 type:kotlin.Any? - FUN FAKE_OVERRIDE name:hashCode visibility:public modality:OPEN <> ($this:kotlin.Any) returnType:kotlin.Int [fake_override] - overridden: - public open fun hashCode (): kotlin.Int declared in kotlin.Any - $this: VALUE_PARAMETER name: type:kotlin.Any - FUN FAKE_OVERRIDE name:toString visibility:public modality:OPEN <> ($this:kotlin.Any) returnType:kotlin.String [fake_override] - overridden: - public open fun toString (): kotlin.String declared in kotlin.Any - $this: VALUE_PARAMETER name: type:kotlin.Any - FUN name:testLongDotCall visibility:public modality:FINAL <> (c1:.C) returnType:kotlin.Unit - VALUE_PARAMETER name:c1 index:0 type:.C - BLOCK_BODY - ERROR_CALL 'Unresolved reference: #' type=kotlin.Unit - CONST Int type=kotlin.Int value=3 - ERROR_CALL 'Unresolved reference: #' type=kotlin.Unit - CONST Int type=kotlin.Int value=-1 - ERROR_CALL 'Unresolved reference: #' type=kotlin.Unit - CONST Int type=kotlin.Int value=2 - ERROR_CALL 'Unresolved reference: #' type=kotlin.Unit - CONST Int type=kotlin.Int value=0 - ERROR_CALL 'Unresolved reference: #' type=kotlin.Unit - CONST Int type=kotlin.Int value=1 - ERROR_CALL 'Unresolved reference: #' type=kotlin.Unit - CONST Int type=kotlin.Int value=1 - ERROR_CALL 'Unresolved reference: #' type=kotlin.Unit - CONST Int type=kotlin.Int value=-1 - ERROR_CALL 'Unresolved reference: #' type=kotlin.Unit - CONST Int type=kotlin.Int value=4 - ERROR_CALL 'Unresolved reference: #' type=kotlin.Unit - CONST Int type=kotlin.Int value=0 - ERROR_CALL 'Unresolved reference: #' type=kotlin.Unit - CONST Int type=kotlin.Int value=0 - ERROR_CALL 'Unresolved reference: #' type=kotlin.Unit - CONST Int type=kotlin.Int value=0 - ERROR_CALL 'Unresolved reference: #' type=kotlin.Unit - CONST Int type=kotlin.Int value=3 - ERROR_CALL 'Unresolved reference: #' type=kotlin.Unit - CONST Int type=kotlin.Int value=3 - ERROR_CALL 'Unresolved reference: #' type=kotlin.Unit - CONST Int type=kotlin.Int value=-2 - FUN name:testShortDotCall visibility:public modality:FINAL <> (c2:.C) returnType:kotlin.Unit - VALUE_PARAMETER name:c2 index:0 type:.C - BLOCK_BODY - ERROR_CALL 'Unresolved reference: #' type=kotlin.Unit - CONST Int type=kotlin.Int value=3 - ERROR_CALL 'Unresolved reference: #' type=kotlin.Unit - CONST Int type=kotlin.Int value=0 - ERROR_CALL 'Unresolved reference: #' type=kotlin.Unit - CONST Int type=kotlin.Int value=-2 - FUN name:testByteDotCall visibility:public modality:FINAL <> (c3:.C) returnType:kotlin.Unit - VALUE_PARAMETER name:c3 index:0 type:.C - BLOCK_BODY - ERROR_CALL 'Unresolved reference: #' type=kotlin.Unit - CONST Int type=kotlin.Int value=3 - ERROR_CALL 'Unresolved reference: #' type=kotlin.Unit - CONST Int type=kotlin.Int value=0 - ERROR_CALL 'Unresolved reference: #' type=kotlin.Unit - CONST Int type=kotlin.Int value=-2 - FUN name:testLongOperatorInfixCall visibility:public modality:FINAL <> (c4:.C) returnType:kotlin.Unit - VALUE_PARAMETER name:c4 index:0 type:.C - BLOCK_BODY - ERROR_CALL 'Unresolved reference: #' type=kotlin.Unit - CONST Int type=kotlin.Int value=3 - ERROR_CALL 'Unresolved reference: #' type=kotlin.Unit - CONST Int type=kotlin.Int value=-1 - ERROR_CALL 'Unresolved reference: #' type=kotlin.Unit - CONST Int type=kotlin.Int value=2 - ERROR_CALL 'Unresolved reference: #' type=kotlin.Unit - CONST Int type=kotlin.Int value=0 - ERROR_CALL 'Unresolved reference: #' type=kotlin.Unit - CONST Int type=kotlin.Int value=1 - CALL 'public abstract fun takeT (x: L of .C): kotlin.Unit declared in .C' type=kotlin.Unit origin=null - $this: GET_VAR 'c4: .C declared in .testLongOperatorInfixCall' type=.C origin=null - x: CONST Long type=kotlin.Long value=1 - CALL 'public abstract fun takeT (x: L of .C): kotlin.Unit declared in .C' type=kotlin.Unit origin=null - $this: GET_VAR 'c4: .C declared in .testLongOperatorInfixCall' type=.C origin=null - x: CONST Long type=kotlin.Long value=-1 - ERROR_CALL 'Unresolved reference: #' type=kotlin.Unit - CONST Int type=kotlin.Int value=4 - ERROR_CALL 'Unresolved reference: #' type=kotlin.Unit - CONST Int type=kotlin.Int value=0 - ERROR_CALL 'Unresolved reference: #' type=kotlin.Unit - CONST Int type=kotlin.Int value=0 - ERROR_CALL 'Unresolved reference: #' type=kotlin.Unit - CONST Int type=kotlin.Int value=0 - ERROR_CALL 'Unresolved reference: #' type=kotlin.Unit - CONST Int type=kotlin.Int value=3 - ERROR_CALL 'Unresolved reference: #' type=kotlin.Unit - CONST Int type=kotlin.Int value=3 - FUN name:testShortOperatorInfixCall visibility:public modality:FINAL <> (c5:.C) returnType:kotlin.Unit - VALUE_PARAMETER name:c5 index:0 type:.C - BLOCK_BODY - ERROR_CALL 'Unresolved reference: #' type=kotlin.Unit - CONST Int type=kotlin.Int value=3 - ERROR_CALL 'Unresolved reference: #' type=kotlin.Unit - CONST Int type=kotlin.Int value=0 - FUN name:testByteOperatorInfixCall visibility:public modality:FINAL <> (c6:.C) returnType:kotlin.Unit - VALUE_PARAMETER name:c6 index:0 type:.C - BLOCK_BODY - ERROR_CALL 'Unresolved reference: #' type=kotlin.Unit - CONST Int type=kotlin.Int value=3 - ERROR_CALL 'Unresolved reference: #' type=kotlin.Unit - CONST Int type=kotlin.Int value=0 diff --git a/compiler/testData/ir/irText/expressions/kt42321.txt b/compiler/testData/ir/irText/expressions/kt42321.ir.txt similarity index 100% rename from compiler/testData/ir/irText/expressions/kt42321.txt rename to compiler/testData/ir/irText/expressions/kt42321.ir.txt diff --git a/compiler/testData/ir/irText/expressions/kt44993.txt b/compiler/testData/ir/irText/expressions/kt44993.ir.txt similarity index 100% rename from compiler/testData/ir/irText/expressions/kt44993.txt rename to compiler/testData/ir/irText/expressions/kt44993.ir.txt diff --git a/compiler/testData/ir/irText/expressions/kt45022.fir.txt b/compiler/testData/ir/irText/expressions/kt45022.fir.ir.txt similarity index 100% rename from compiler/testData/ir/irText/expressions/kt45022.fir.txt rename to compiler/testData/ir/irText/expressions/kt45022.fir.ir.txt diff --git a/compiler/testData/ir/irText/expressions/kt45022.txt b/compiler/testData/ir/irText/expressions/kt45022.ir.txt similarity index 100% rename from compiler/testData/ir/irText/expressions/kt45022.txt rename to compiler/testData/ir/irText/expressions/kt45022.ir.txt diff --git a/compiler/testData/ir/irText/expressions/kt47082.fir.txt b/compiler/testData/ir/irText/expressions/kt47082.fir.ir.txt similarity index 100% rename from compiler/testData/ir/irText/expressions/kt47082.fir.txt rename to compiler/testData/ir/irText/expressions/kt47082.fir.ir.txt diff --git a/compiler/testData/ir/irText/expressions/kt47082.fir.kt.txt b/compiler/testData/ir/irText/expressions/kt47082.fir.kt.txt index fc0ff9bc90e..587511dcc94 100644 --- a/compiler/testData/ir/irText/expressions/kt47082.fir.kt.txt +++ b/compiler/testData/ir/irText/expressions/kt47082.fir.kt.txt @@ -28,4 +28,3 @@ fun foo(r: Receiver): R { fun box(): String { return "OK" } - diff --git a/compiler/testData/ir/irText/expressions/kt47082.txt b/compiler/testData/ir/irText/expressions/kt47082.ir.txt similarity index 100% rename from compiler/testData/ir/irText/expressions/kt47082.txt rename to compiler/testData/ir/irText/expressions/kt47082.ir.txt diff --git a/compiler/testData/ir/irText/expressions/kt47245.fir.txt b/compiler/testData/ir/irText/expressions/kt47245.fir.ir.txt similarity index 100% rename from compiler/testData/ir/irText/expressions/kt47245.fir.txt rename to compiler/testData/ir/irText/expressions/kt47245.fir.ir.txt diff --git a/compiler/testData/ir/irText/expressions/kt47245.txt b/compiler/testData/ir/irText/expressions/kt47245.ir.txt similarity index 100% rename from compiler/testData/ir/irText/expressions/kt47245.txt rename to compiler/testData/ir/irText/expressions/kt47245.ir.txt diff --git a/compiler/testData/ir/irText/expressions/kt47328.fir.txt b/compiler/testData/ir/irText/expressions/kt47328.fir.ir.txt similarity index 100% rename from compiler/testData/ir/irText/expressions/kt47328.fir.txt rename to compiler/testData/ir/irText/expressions/kt47328.fir.ir.txt diff --git a/compiler/testData/ir/irText/expressions/kt47328.txt b/compiler/testData/ir/irText/expressions/kt47328.ir.txt similarity index 100% rename from compiler/testData/ir/irText/expressions/kt47328.txt rename to compiler/testData/ir/irText/expressions/kt47328.ir.txt diff --git a/compiler/testData/ir/irText/expressions/kt47450.txt b/compiler/testData/ir/irText/expressions/kt47450.ir.txt similarity index 100% rename from compiler/testData/ir/irText/expressions/kt47450.txt rename to compiler/testData/ir/irText/expressions/kt47450.ir.txt diff --git a/compiler/testData/ir/irText/expressions/kt48708.fir.txt b/compiler/testData/ir/irText/expressions/kt48708.fir.ir.txt similarity index 100% rename from compiler/testData/ir/irText/expressions/kt48708.fir.txt rename to compiler/testData/ir/irText/expressions/kt48708.fir.ir.txt diff --git a/compiler/testData/ir/irText/expressions/kt48708.txt b/compiler/testData/ir/irText/expressions/kt48708.ir.txt similarity index 100% rename from compiler/testData/ir/irText/expressions/kt48708.txt rename to compiler/testData/ir/irText/expressions/kt48708.ir.txt diff --git a/compiler/testData/ir/irText/expressions/kt48806.fir.txt b/compiler/testData/ir/irText/expressions/kt48806.fir.ir.txt similarity index 100% rename from compiler/testData/ir/irText/expressions/kt48806.fir.txt rename to compiler/testData/ir/irText/expressions/kt48806.fir.ir.txt diff --git a/compiler/testData/ir/irText/expressions/kt48806.txt b/compiler/testData/ir/irText/expressions/kt48806.ir.txt similarity index 100% rename from compiler/testData/ir/irText/expressions/kt48806.txt rename to compiler/testData/ir/irText/expressions/kt48806.ir.txt diff --git a/compiler/testData/ir/irText/expressions/lambdaInCAO.fir.txt b/compiler/testData/ir/irText/expressions/lambdaInCAO.fir.ir.txt similarity index 100% rename from compiler/testData/ir/irText/expressions/lambdaInCAO.fir.txt rename to compiler/testData/ir/irText/expressions/lambdaInCAO.fir.ir.txt diff --git a/compiler/testData/ir/irText/expressions/lambdaInCAO.fir.kt.txt b/compiler/testData/ir/irText/expressions/lambdaInCAO.fir.kt.txt index 023777232f7..95d3257a0eb 100644 --- a/compiler/testData/ir/irText/expressions/lambdaInCAO.fir.kt.txt +++ b/compiler/testData/ir/irText/expressions/lambdaInCAO.fir.kt.txt @@ -36,4 +36,3 @@ fun test3(a: Any) { .set(index = , value = .inc()) /*~> Unit */ } - diff --git a/compiler/testData/ir/irText/expressions/lambdaInCAO.txt b/compiler/testData/ir/irText/expressions/lambdaInCAO.ir.txt similarity index 100% rename from compiler/testData/ir/irText/expressions/lambdaInCAO.txt rename to compiler/testData/ir/irText/expressions/lambdaInCAO.ir.txt diff --git a/compiler/testData/ir/irText/expressions/lambdaInCAO.kt.txt b/compiler/testData/ir/irText/expressions/lambdaInCAO.kt.txt index ef3c333d5bb..f57dd1934b7 100644 --- a/compiler/testData/ir/irText/expressions/lambdaInCAO.kt.txt +++ b/compiler/testData/ir/irText/expressions/lambdaInCAO.kt.txt @@ -38,4 +38,3 @@ fun test3(a: Any) { tmp2 } /*~> Unit */ } - diff --git a/compiler/testData/ir/irText/expressions/literals.fir.txt b/compiler/testData/ir/irText/expressions/literals.fir.ir.txt similarity index 100% rename from compiler/testData/ir/irText/expressions/literals.fir.txt rename to compiler/testData/ir/irText/expressions/literals.fir.ir.txt diff --git a/compiler/testData/ir/irText/expressions/literals.fir.kt.txt b/compiler/testData/ir/irText/expressions/literals.fir.kt.txt index a9c139c87af..51940adbf1f 100644 --- a/compiler/testData/ir/irText/expressions/literals.fir.kt.txt +++ b/compiler/testData/ir/irText/expressions/literals.fir.kt.txt @@ -65,4 +65,3 @@ val testI: Int val testL: Long field = 1L get - diff --git a/compiler/testData/ir/irText/expressions/literals.txt b/compiler/testData/ir/irText/expressions/literals.ir.txt similarity index 100% rename from compiler/testData/ir/irText/expressions/literals.txt rename to compiler/testData/ir/irText/expressions/literals.ir.txt diff --git a/compiler/testData/ir/irText/expressions/literals.kt.txt b/compiler/testData/ir/irText/expressions/literals.kt.txt index db5b57cdd43..2ff19dbf637 100644 --- a/compiler/testData/ir/irText/expressions/literals.kt.txt +++ b/compiler/testData/ir/irText/expressions/literals.kt.txt @@ -65,4 +65,3 @@ val testI: Int val testL: Long field = 1L get - diff --git a/compiler/testData/ir/irText/expressions/memberTypeArguments.txt b/compiler/testData/ir/irText/expressions/memberTypeArguments.ir.txt similarity index 100% rename from compiler/testData/ir/irText/expressions/memberTypeArguments.txt rename to compiler/testData/ir/irText/expressions/memberTypeArguments.ir.txt diff --git a/compiler/testData/ir/irText/expressions/memberTypeArguments.kt.txt b/compiler/testData/ir/irText/expressions/memberTypeArguments.kt.txt index 6f23eac262e..c918f56974a 100644 --- a/compiler/testData/ir/irText/expressions/memberTypeArguments.kt.txt +++ b/compiler/testData/ir/irText/expressions/memberTypeArguments.kt.txt @@ -14,4 +14,3 @@ class GenericClass { } } - diff --git a/compiler/testData/ir/irText/expressions/membersImportedFromObject.txt b/compiler/testData/ir/irText/expressions/membersImportedFromObject.ir.txt similarity index 100% rename from compiler/testData/ir/irText/expressions/membersImportedFromObject.txt rename to compiler/testData/ir/irText/expressions/membersImportedFromObject.ir.txt diff --git a/compiler/testData/ir/irText/expressions/membersImportedFromObject.kt.txt b/compiler/testData/ir/irText/expressions/membersImportedFromObject.kt.txt index 57b326943ef..de2ef786f9b 100644 --- a/compiler/testData/ir/irText/expressions/membersImportedFromObject.kt.txt +++ b/compiler/testData/ir/irText/expressions/membersImportedFromObject.kt.txt @@ -39,4 +39,3 @@ val test3: Int val test4: Int field = (A, 1).() get - diff --git a/compiler/testData/ir/irText/expressions/multipleSmartCasts.fir.txt b/compiler/testData/ir/irText/expressions/multipleSmartCasts.fir.ir.txt similarity index 100% rename from compiler/testData/ir/irText/expressions/multipleSmartCasts.fir.txt rename to compiler/testData/ir/irText/expressions/multipleSmartCasts.fir.ir.txt diff --git a/compiler/testData/ir/irText/expressions/multipleSmartCasts.txt b/compiler/testData/ir/irText/expressions/multipleSmartCasts.ir.txt similarity index 100% rename from compiler/testData/ir/irText/expressions/multipleSmartCasts.txt rename to compiler/testData/ir/irText/expressions/multipleSmartCasts.ir.txt diff --git a/compiler/testData/ir/irText/expressions/multipleThisReferences.fir.txt b/compiler/testData/ir/irText/expressions/multipleThisReferences.fir.ir.txt similarity index 100% rename from compiler/testData/ir/irText/expressions/multipleThisReferences.fir.txt rename to compiler/testData/ir/irText/expressions/multipleThisReferences.fir.ir.txt diff --git a/compiler/testData/ir/irText/expressions/multipleThisReferences.txt b/compiler/testData/ir/irText/expressions/multipleThisReferences.ir.txt similarity index 100% rename from compiler/testData/ir/irText/expressions/multipleThisReferences.txt rename to compiler/testData/ir/irText/expressions/multipleThisReferences.ir.txt diff --git a/compiler/testData/ir/irText/expressions/multipleThisReferences.kt.txt b/compiler/testData/ir/irText/expressions/multipleThisReferences.kt.txt index 08f33b41402..b25c07ff2ed 100644 --- a/compiler/testData/ir/irText/expressions/multipleThisReferences.kt.txt +++ b/compiler/testData/ir/irText/expressions/multipleThisReferences.kt.txt @@ -51,4 +51,3 @@ class Host { } } - diff --git a/compiler/testData/ir/irText/expressions/nullCheckOnGenericLambdaReturn.txt b/compiler/testData/ir/irText/expressions/nullCheckOnGenericLambdaReturn.ir.txt similarity index 100% rename from compiler/testData/ir/irText/expressions/nullCheckOnGenericLambdaReturn.txt rename to compiler/testData/ir/irText/expressions/nullCheckOnGenericLambdaReturn.ir.txt diff --git a/compiler/testData/ir/irText/expressions/nullCheckOnGenericLambdaReturn.kt.txt b/compiler/testData/ir/irText/expressions/nullCheckOnGenericLambdaReturn.kt.txt index 82516e8032a..041c347069a 100644 --- a/compiler/testData/ir/irText/expressions/nullCheckOnGenericLambdaReturn.kt.txt +++ b/compiler/testData/ir/irText/expressions/nullCheckOnGenericLambdaReturn.kt.txt @@ -45,4 +45,3 @@ fun test4(): String { } ) /*!! String */ } - diff --git a/compiler/testData/ir/irText/expressions/nullCheckOnLambdaReturn.fir.txt b/compiler/testData/ir/irText/expressions/nullCheckOnLambdaReturn.fir.ir.txt similarity index 100% rename from compiler/testData/ir/irText/expressions/nullCheckOnLambdaReturn.fir.txt rename to compiler/testData/ir/irText/expressions/nullCheckOnLambdaReturn.fir.ir.txt diff --git a/compiler/testData/ir/irText/expressions/nullCheckOnLambdaReturn.fir.kt.txt b/compiler/testData/ir/irText/expressions/nullCheckOnLambdaReturn.fir.kt.txt index 775ce658637..0a86a34fd77 100644 --- a/compiler/testData/ir/irText/expressions/nullCheckOnLambdaReturn.fir.kt.txt +++ b/compiler/testData/ir/irText/expressions/nullCheckOnLambdaReturn.fir.kt.txt @@ -51,4 +51,3 @@ fun test6(): Any? { } ) } - diff --git a/compiler/testData/ir/irText/expressions/nullCheckOnLambdaReturn.txt b/compiler/testData/ir/irText/expressions/nullCheckOnLambdaReturn.ir.txt similarity index 100% rename from compiler/testData/ir/irText/expressions/nullCheckOnLambdaReturn.txt rename to compiler/testData/ir/irText/expressions/nullCheckOnLambdaReturn.ir.txt diff --git a/compiler/testData/ir/irText/expressions/nullCheckOnLambdaReturn.kt.txt b/compiler/testData/ir/irText/expressions/nullCheckOnLambdaReturn.kt.txt index ea9036c9ccc..3a677e4311e 100644 --- a/compiler/testData/ir/irText/expressions/nullCheckOnLambdaReturn.kt.txt +++ b/compiler/testData/ir/irText/expressions/nullCheckOnLambdaReturn.kt.txt @@ -51,4 +51,3 @@ fun test6(): Any? { } ) } - diff --git a/compiler/testData/ir/irText/expressions/objectAsCallable.fir.txt b/compiler/testData/ir/irText/expressions/objectAsCallable.fir.ir.txt similarity index 100% rename from compiler/testData/ir/irText/expressions/objectAsCallable.fir.txt rename to compiler/testData/ir/irText/expressions/objectAsCallable.fir.ir.txt diff --git a/compiler/testData/ir/irText/expressions/objectAsCallable.txt b/compiler/testData/ir/irText/expressions/objectAsCallable.ir.txt similarity index 100% rename from compiler/testData/ir/irText/expressions/objectAsCallable.txt rename to compiler/testData/ir/irText/expressions/objectAsCallable.ir.txt diff --git a/compiler/testData/ir/irText/expressions/objectAsCallable.kt.txt b/compiler/testData/ir/irText/expressions/objectAsCallable.kt.txt index 93d2702896f..11639efa551 100644 --- a/compiler/testData/ir/irText/expressions/objectAsCallable.kt.txt +++ b/compiler/testData/ir/irText/expressions/objectAsCallable.kt.txt @@ -37,4 +37,3 @@ val test1: Int val test2: Int field = En.X.invoke(i = 42) get - diff --git a/compiler/testData/ir/irText/expressions/objectByNameInsideObject.txt b/compiler/testData/ir/irText/expressions/objectByNameInsideObject.ir.txt similarity index 100% rename from compiler/testData/ir/irText/expressions/objectByNameInsideObject.txt rename to compiler/testData/ir/irText/expressions/objectByNameInsideObject.ir.txt diff --git a/compiler/testData/ir/irText/expressions/objectByNameInsideObject.kt.txt b/compiler/testData/ir/irText/expressions/objectByNameInsideObject.kt.txt index a0a73d61825..48a45ae537a 100644 --- a/compiler/testData/ir/irText/expressions/objectByNameInsideObject.kt.txt +++ b/compiler/testData/ir/irText/expressions/objectByNameInsideObject.kt.txt @@ -30,4 +30,3 @@ object Thing : Base { } } - diff --git a/compiler/testData/ir/irText/expressions/objectClassReference.txt b/compiler/testData/ir/irText/expressions/objectClassReference.ir.txt similarity index 100% rename from compiler/testData/ir/irText/expressions/objectClassReference.txt rename to compiler/testData/ir/irText/expressions/objectClassReference.ir.txt diff --git a/compiler/testData/ir/irText/expressions/objectClassReference.kt.txt b/compiler/testData/ir/irText/expressions/objectClassReference.kt.txt index ea74ca8d175..9543a48f9cf 100644 --- a/compiler/testData/ir/irText/expressions/objectClassReference.kt.txt +++ b/compiler/testData/ir/irText/expressions/objectClassReference.kt.txt @@ -11,4 +11,3 @@ fun test() { A::class /*~> Unit */ A::class.() /*~> Unit */ } - diff --git a/compiler/testData/ir/irText/expressions/objectReference.fir.txt b/compiler/testData/ir/irText/expressions/objectReference.fir.ir.txt similarity index 100% rename from compiler/testData/ir/irText/expressions/objectReference.fir.txt rename to compiler/testData/ir/irText/expressions/objectReference.fir.ir.txt diff --git a/compiler/testData/ir/irText/expressions/objectReference.txt b/compiler/testData/ir/irText/expressions/objectReference.ir.txt similarity index 100% rename from compiler/testData/ir/irText/expressions/objectReference.txt rename to compiler/testData/ir/irText/expressions/objectReference.ir.txt diff --git a/compiler/testData/ir/irText/expressions/objectReference.kt.txt b/compiler/testData/ir/irText/expressions/objectReference.kt.txt index 200b6e12164..bd825ea625b 100644 --- a/compiler/testData/ir/irText/expressions/objectReference.kt.txt +++ b/compiler/testData/ir/irText/expressions/objectReference.kt.txt @@ -90,4 +90,3 @@ fun Z.test() { Z.( = 1) Z.foo() } - diff --git a/compiler/testData/ir/irText/expressions/objectReferenceInClosureInSuperConstructorCall.txt b/compiler/testData/ir/irText/expressions/objectReferenceInClosureInSuperConstructorCall.ir.txt similarity index 100% rename from compiler/testData/ir/irText/expressions/objectReferenceInClosureInSuperConstructorCall.txt rename to compiler/testData/ir/irText/expressions/objectReferenceInClosureInSuperConstructorCall.ir.txt diff --git a/compiler/testData/ir/irText/expressions/objectReferenceInClosureInSuperConstructorCall.kt.txt b/compiler/testData/ir/irText/expressions/objectReferenceInClosureInSuperConstructorCall.kt.txt index 9672d5107b9..b2e99c61e65 100644 --- a/compiler/testData/ir/irText/expressions/objectReferenceInClosureInSuperConstructorCall.kt.txt +++ b/compiler/testData/ir/irText/expressions/objectReferenceInClosureInSuperConstructorCall.kt.txt @@ -22,4 +22,3 @@ object Test : Base { } } - diff --git a/compiler/testData/ir/irText/expressions/objectReferenceInFieldInitializer.txt b/compiler/testData/ir/irText/expressions/objectReferenceInFieldInitializer.ir.txt similarity index 100% rename from compiler/testData/ir/irText/expressions/objectReferenceInFieldInitializer.txt rename to compiler/testData/ir/irText/expressions/objectReferenceInFieldInitializer.ir.txt diff --git a/compiler/testData/ir/irText/expressions/objectReferenceInFieldInitializer.kt.txt b/compiler/testData/ir/irText/expressions/objectReferenceInFieldInitializer.kt.txt index 9ce2a8abc1d..4fa29836e27 100644 --- a/compiler/testData/ir/irText/expressions/objectReferenceInFieldInitializer.kt.txt +++ b/compiler/testData/ir/irText/expressions/objectReferenceInFieldInitializer.kt.txt @@ -18,4 +18,3 @@ object A { private get } - diff --git a/compiler/testData/ir/irText/expressions/outerClassInstanceReference.txt b/compiler/testData/ir/irText/expressions/outerClassInstanceReference.ir.txt similarity index 100% rename from compiler/testData/ir/irText/expressions/outerClassInstanceReference.txt rename to compiler/testData/ir/irText/expressions/outerClassInstanceReference.ir.txt diff --git a/compiler/testData/ir/irText/expressions/outerClassInstanceReference.kt.txt b/compiler/testData/ir/irText/expressions/outerClassInstanceReference.kt.txt index 09d035df815..b34d54aeee8 100644 --- a/compiler/testData/ir/irText/expressions/outerClassInstanceReference.kt.txt +++ b/compiler/testData/ir/irText/expressions/outerClassInstanceReference.kt.txt @@ -22,4 +22,3 @@ class Outer { } } - diff --git a/compiler/testData/ir/irText/expressions/primitiveComparisons.txt b/compiler/testData/ir/irText/expressions/primitiveComparisons.ir.txt similarity index 100% rename from compiler/testData/ir/irText/expressions/primitiveComparisons.txt rename to compiler/testData/ir/irText/expressions/primitiveComparisons.ir.txt diff --git a/compiler/testData/ir/irText/expressions/primitiveComparisons.kt.txt b/compiler/testData/ir/irText/expressions/primitiveComparisons.kt.txt index 86a72670df2..91ab888bf11 100644 --- a/compiler/testData/ir/irText/expressions/primitiveComparisons.kt.txt +++ b/compiler/testData/ir/irText/expressions/primitiveComparisons.kt.txt @@ -93,4 +93,3 @@ fun dtest3(a: Double, b: Double): Boolean { fun dtest4(a: Double, b: Double): Boolean { return lessOrEqual(arg0 = a, arg1 = b) } - diff --git a/compiler/testData/ir/irText/expressions/primitivesImplicitConversions.fir.kt.txt b/compiler/testData/ir/irText/expressions/primitivesImplicitConversions.fir.kt.txt deleted file mode 100644 index 0462a5c1fc5..00000000000 --- a/compiler/testData/ir/irText/expressions/primitivesImplicitConversions.fir.kt.txt +++ /dev/null @@ -1,49 +0,0 @@ -val test1: Long - field = 42L - get - -val test2: Short - field = 42S - get - -val test3: Byte - field = 42B - get - -val test4: Long - field = 42.unaryMinus() - get - -val test5: Short - field = 42.unaryMinus() - get - -val test6: Byte - field = 42.unaryMinus() - get - -fun test() { - val test1: Int? = 42 - val test2: Long = 42L - val test3: Long? = 42L - val test4: Long? = -1L - val test5: Long? = -1 - val test6: Short? = -1 - val test7: Byte? = -1 -} - -fun testImplicitArguments(x: Long = -1) { -} - -class TestImplicitArguments { - constructor(x: Long = -1) /* primary */ { - super/*Any*/() - /* () */ - - } - - val x: Long - field = x - get - -} diff --git a/compiler/testData/ir/irText/expressions/primitivesImplicitConversions.fir.txt b/compiler/testData/ir/irText/expressions/primitivesImplicitConversions.fir.txt deleted file mode 100644 index f07c88dac9a..00000000000 --- a/compiler/testData/ir/irText/expressions/primitivesImplicitConversions.fir.txt +++ /dev/null @@ -1,112 +0,0 @@ -FILE fqName: fileName:/primitivesImplicitConversions.kt - PROPERTY name:test1 visibility:public modality:FINAL [val] - FIELD PROPERTY_BACKING_FIELD name:test1 type:kotlin.Long visibility:private [final,static] - EXPRESSION_BODY - CONST Long type=kotlin.Long value=42 - FUN DEFAULT_PROPERTY_ACCESSOR name: visibility:public modality:FINAL <> () returnType:kotlin.Long - correspondingProperty: PROPERTY name:test1 visibility:public modality:FINAL [val] - BLOCK_BODY - RETURN type=kotlin.Nothing from='public final fun (): kotlin.Long declared in ' - GET_FIELD 'FIELD PROPERTY_BACKING_FIELD name:test1 type:kotlin.Long visibility:private [final,static]' type=kotlin.Long origin=null - PROPERTY name:test2 visibility:public modality:FINAL [val] - FIELD PROPERTY_BACKING_FIELD name:test2 type:kotlin.Short visibility:private [final,static] - EXPRESSION_BODY - CONST Short type=kotlin.Short value=42 - FUN DEFAULT_PROPERTY_ACCESSOR name: visibility:public modality:FINAL <> () returnType:kotlin.Short - correspondingProperty: PROPERTY name:test2 visibility:public modality:FINAL [val] - BLOCK_BODY - RETURN type=kotlin.Nothing from='public final fun (): kotlin.Short declared in ' - GET_FIELD 'FIELD PROPERTY_BACKING_FIELD name:test2 type:kotlin.Short visibility:private [final,static]' type=kotlin.Short origin=null - PROPERTY name:test3 visibility:public modality:FINAL [val] - FIELD PROPERTY_BACKING_FIELD name:test3 type:kotlin.Byte visibility:private [final,static] - EXPRESSION_BODY - CONST Byte type=kotlin.Byte value=42 - FUN DEFAULT_PROPERTY_ACCESSOR name: visibility:public modality:FINAL <> () returnType:kotlin.Byte - correspondingProperty: PROPERTY name:test3 visibility:public modality:FINAL [val] - BLOCK_BODY - RETURN type=kotlin.Nothing from='public final fun (): kotlin.Byte declared in ' - GET_FIELD 'FIELD PROPERTY_BACKING_FIELD name:test3 type:kotlin.Byte visibility:private [final,static]' type=kotlin.Byte origin=null - PROPERTY name:test4 visibility:public modality:FINAL [val] - FIELD PROPERTY_BACKING_FIELD name:test4 type:kotlin.Long visibility:private [final,static] - EXPRESSION_BODY - CALL 'public final fun unaryMinus (): kotlin.Int [operator] declared in kotlin.Int' type=kotlin.Int origin=null - $this: CONST Int type=kotlin.Int value=42 - FUN DEFAULT_PROPERTY_ACCESSOR name: visibility:public modality:FINAL <> () returnType:kotlin.Long - correspondingProperty: PROPERTY name:test4 visibility:public modality:FINAL [val] - BLOCK_BODY - RETURN type=kotlin.Nothing from='public final fun (): kotlin.Long declared in ' - GET_FIELD 'FIELD PROPERTY_BACKING_FIELD name:test4 type:kotlin.Long visibility:private [final,static]' type=kotlin.Long origin=null - PROPERTY name:test5 visibility:public modality:FINAL [val] - FIELD PROPERTY_BACKING_FIELD name:test5 type:kotlin.Short visibility:private [final,static] - EXPRESSION_BODY - CALL 'public final fun unaryMinus (): kotlin.Int [operator] declared in kotlin.Int' type=kotlin.Int origin=null - $this: CONST Int type=kotlin.Int value=42 - FUN DEFAULT_PROPERTY_ACCESSOR name: visibility:public modality:FINAL <> () returnType:kotlin.Short - correspondingProperty: PROPERTY name:test5 visibility:public modality:FINAL [val] - BLOCK_BODY - RETURN type=kotlin.Nothing from='public final fun (): kotlin.Short declared in ' - GET_FIELD 'FIELD PROPERTY_BACKING_FIELD name:test5 type:kotlin.Short visibility:private [final,static]' type=kotlin.Short origin=null - PROPERTY name:test6 visibility:public modality:FINAL [val] - FIELD PROPERTY_BACKING_FIELD name:test6 type:kotlin.Byte visibility:private [final,static] - EXPRESSION_BODY - CALL 'public final fun unaryMinus (): kotlin.Int [operator] declared in kotlin.Int' type=kotlin.Int origin=null - $this: CONST Int type=kotlin.Int value=42 - FUN DEFAULT_PROPERTY_ACCESSOR name: visibility:public modality:FINAL <> () returnType:kotlin.Byte - correspondingProperty: PROPERTY name:test6 visibility:public modality:FINAL [val] - BLOCK_BODY - RETURN type=kotlin.Nothing from='public final fun (): kotlin.Byte declared in ' - GET_FIELD 'FIELD PROPERTY_BACKING_FIELD name:test6 type:kotlin.Byte visibility:private [final,static]' type=kotlin.Byte origin=null - FUN name:test visibility:public modality:FINAL <> () returnType:kotlin.Unit - BLOCK_BODY - VAR name:test1 type:kotlin.Int? [val] - CONST Int type=kotlin.Int value=42 - VAR name:test2 type:kotlin.Long [val] - CONST Long type=kotlin.Long value=42 - VAR name:test3 type:kotlin.Long? [val] - CONST Long type=kotlin.Long value=42 - VAR name:test4 type:kotlin.Long? [val] - CONST Long type=kotlin.Long value=-1 - VAR name:test5 type:kotlin.Long? [val] - CONST Int type=kotlin.Int value=-1 - VAR name:test6 type:kotlin.Short? [val] - CONST Int type=kotlin.Int value=-1 - VAR name:test7 type:kotlin.Byte? [val] - CONST Int type=kotlin.Int value=-1 - FUN name:testImplicitArguments visibility:public modality:FINAL <> (x:kotlin.Long) returnType:kotlin.Unit - VALUE_PARAMETER name:x index:0 type:kotlin.Long - EXPRESSION_BODY - CONST Int type=kotlin.Int value=-1 - BLOCK_BODY - CLASS CLASS name:TestImplicitArguments modality:FINAL visibility:public superTypes:[kotlin.Any] - $this: VALUE_PARAMETER INSTANCE_RECEIVER name: type:.TestImplicitArguments - CONSTRUCTOR visibility:public <> (x:kotlin.Long) returnType:.TestImplicitArguments [primary] - VALUE_PARAMETER name:x index:0 type:kotlin.Long - EXPRESSION_BODY - CONST Int type=kotlin.Int value=-1 - BLOCK_BODY - DELEGATING_CONSTRUCTOR_CALL 'public constructor () [primary] declared in kotlin.Any' - INSTANCE_INITIALIZER_CALL classDescriptor='CLASS CLASS name:TestImplicitArguments modality:FINAL visibility:public superTypes:[kotlin.Any]' - PROPERTY name:x visibility:public modality:FINAL [val] - FIELD PROPERTY_BACKING_FIELD name:x type:kotlin.Long visibility:private [final] - EXPRESSION_BODY - GET_VAR 'x: kotlin.Long declared in .TestImplicitArguments.' type=kotlin.Long origin=INITIALIZE_PROPERTY_FROM_PARAMETER - FUN DEFAULT_PROPERTY_ACCESSOR name: visibility:public modality:FINAL <> ($this:.TestImplicitArguments) returnType:kotlin.Long - correspondingProperty: PROPERTY name:x visibility:public modality:FINAL [val] - $this: VALUE_PARAMETER name: type:.TestImplicitArguments - BLOCK_BODY - RETURN type=kotlin.Nothing from='public final fun (): kotlin.Long declared in .TestImplicitArguments' - GET_FIELD 'FIELD PROPERTY_BACKING_FIELD name:x type:kotlin.Long visibility:private [final]' type=kotlin.Long origin=null - receiver: GET_VAR ': .TestImplicitArguments declared in .TestImplicitArguments.' type=.TestImplicitArguments origin=null - FUN FAKE_OVERRIDE name:equals visibility:public modality:OPEN <> ($this:kotlin.Any, other:kotlin.Any?) returnType:kotlin.Boolean [fake_override,operator] - overridden: - public open fun equals (other: kotlin.Any?): kotlin.Boolean [operator] declared in kotlin.Any - $this: VALUE_PARAMETER name: type:kotlin.Any - VALUE_PARAMETER name:other index:0 type:kotlin.Any? - FUN FAKE_OVERRIDE name:hashCode visibility:public modality:OPEN <> ($this:kotlin.Any) returnType:kotlin.Int [fake_override] - overridden: - public open fun hashCode (): kotlin.Int declared in kotlin.Any - $this: VALUE_PARAMETER name: type:kotlin.Any - FUN FAKE_OVERRIDE name:toString visibility:public modality:OPEN <> ($this:kotlin.Any) returnType:kotlin.String [fake_override] - overridden: - public open fun toString (): kotlin.String declared in kotlin.Any - $this: VALUE_PARAMETER name: type:kotlin.Any diff --git a/compiler/testData/ir/irText/expressions/primitivesImplicitConversions.txt b/compiler/testData/ir/irText/expressions/primitivesImplicitConversions.ir.txt similarity index 100% rename from compiler/testData/ir/irText/expressions/primitivesImplicitConversions.txt rename to compiler/testData/ir/irText/expressions/primitivesImplicitConversions.ir.txt diff --git a/compiler/testData/ir/irText/expressions/primitivesImplicitConversions.kt.txt b/compiler/testData/ir/irText/expressions/primitivesImplicitConversions.kt.txt index cc841fd738f..d92b6394649 100644 --- a/compiler/testData/ir/irText/expressions/primitivesImplicitConversions.kt.txt +++ b/compiler/testData/ir/irText/expressions/primitivesImplicitConversions.kt.txt @@ -47,4 +47,3 @@ class TestImplicitArguments { get } - diff --git a/compiler/testData/ir/irText/expressions/propertyReferences.fir.txt b/compiler/testData/ir/irText/expressions/propertyReferences.fir.ir.txt similarity index 100% rename from compiler/testData/ir/irText/expressions/propertyReferences.fir.txt rename to compiler/testData/ir/irText/expressions/propertyReferences.fir.ir.txt diff --git a/compiler/testData/ir/irText/expressions/propertyReferences.txt b/compiler/testData/ir/irText/expressions/propertyReferences.ir.txt similarity index 100% rename from compiler/testData/ir/irText/expressions/propertyReferences.txt rename to compiler/testData/ir/irText/expressions/propertyReferences.ir.txt diff --git a/compiler/testData/ir/irText/expressions/propertyReferences.kt.txt b/compiler/testData/ir/irText/expressions/propertyReferences.kt.txt index 4c871c3fd13..c7ccf5243df 100644 --- a/compiler/testData/ir/irText/expressions/propertyReferences.kt.txt +++ b/compiler/testData/ir/irText/expressions/propertyReferences.kt.txt @@ -83,7 +83,7 @@ val test_varWithAccessors: KMutableProperty0 field = ::varWithAccessors get -val delegatedVal: Int /* by */ +val delegatedVal: Int /* by */ field = Delegate get(): Int { return #delegatedVal$delegate.getValue(thisRef = null, kProp = ::delegatedVal) @@ -93,7 +93,7 @@ val test_delegatedVal: KProperty0 field = ::delegatedVal get -var delegatedVar: Int /* by */ +var delegatedVar: Int /* by */ field = Delegate get(): Int { return #delegatedVar$delegate.getValue(thisRef = null, kProp = ::delegatedVar) @@ -129,4 +129,3 @@ val test_varWithPrivateSet: KProperty1 val test_varWithProtectedSet: KProperty1 field = C::varWithProtectedSet get - diff --git a/compiler/testData/ir/irText/expressions/protectedJavaFieldRef.fir.txt b/compiler/testData/ir/irText/expressions/protectedJavaFieldRef.fir.ir.txt similarity index 100% rename from compiler/testData/ir/irText/expressions/protectedJavaFieldRef.fir.txt rename to compiler/testData/ir/irText/expressions/protectedJavaFieldRef.fir.ir.txt diff --git a/compiler/testData/ir/irText/expressions/protectedJavaFieldRef.txt b/compiler/testData/ir/irText/expressions/protectedJavaFieldRef.ir.txt similarity index 100% rename from compiler/testData/ir/irText/expressions/protectedJavaFieldRef.txt rename to compiler/testData/ir/irText/expressions/protectedJavaFieldRef.ir.txt diff --git a/compiler/testData/ir/irText/expressions/references.txt b/compiler/testData/ir/irText/expressions/references.ir.txt similarity index 100% rename from compiler/testData/ir/irText/expressions/references.txt rename to compiler/testData/ir/irText/expressions/references.ir.txt diff --git a/compiler/testData/ir/irText/expressions/references.kt.txt b/compiler/testData/ir/irText/expressions/references.kt.txt index a4fbb1e4897..ea8eb5ee47b 100644 --- a/compiler/testData/ir/irText/expressions/references.kt.txt +++ b/compiler/testData/ir/irText/expressions/references.kt.txt @@ -36,4 +36,3 @@ val String.okext: String fun String.test5(): String { return .() } - diff --git a/compiler/testData/ir/irText/expressions/reflectionLiterals.txt b/compiler/testData/ir/irText/expressions/reflectionLiterals.ir.txt similarity index 100% rename from compiler/testData/ir/irText/expressions/reflectionLiterals.txt rename to compiler/testData/ir/irText/expressions/reflectionLiterals.ir.txt diff --git a/compiler/testData/ir/irText/expressions/reflectionLiterals.kt.txt b/compiler/testData/ir/irText/expressions/reflectionLiterals.kt.txt index 90ff95c3e64..48fe8deea3b 100644 --- a/compiler/testData/ir/irText/expressions/reflectionLiterals.kt.txt +++ b/compiler/testData/ir/irText/expressions/reflectionLiterals.kt.txt @@ -40,4 +40,3 @@ val test5: KFunction0 val test6: KFunction0 field = ::bar get - diff --git a/compiler/testData/ir/irText/expressions/safeAssignment.fir.txt b/compiler/testData/ir/irText/expressions/safeAssignment.fir.ir.txt similarity index 100% rename from compiler/testData/ir/irText/expressions/safeAssignment.fir.txt rename to compiler/testData/ir/irText/expressions/safeAssignment.fir.ir.txt diff --git a/compiler/testData/ir/irText/expressions/safeAssignment.txt b/compiler/testData/ir/irText/expressions/safeAssignment.ir.txt similarity index 100% rename from compiler/testData/ir/irText/expressions/safeAssignment.txt rename to compiler/testData/ir/irText/expressions/safeAssignment.ir.txt diff --git a/compiler/testData/ir/irText/expressions/safeAssignment.kt.txt b/compiler/testData/ir/irText/expressions/safeAssignment.kt.txt index 977e01d3e95..6c2a1055e23 100644 --- a/compiler/testData/ir/irText/expressions/safeAssignment.kt.txt +++ b/compiler/testData/ir/irText/expressions/safeAssignment.kt.txt @@ -21,4 +21,3 @@ fun test(nc: C?) { } } } - diff --git a/compiler/testData/ir/irText/expressions/safeCallWithIncrementDecrement.fir.kt.txt b/compiler/testData/ir/irText/expressions/safeCallWithIncrementDecrement.fir.kt.txt deleted file mode 100644 index ea0d8518045..00000000000 --- a/compiler/testData/ir/irText/expressions/safeCallWithIncrementDecrement.fir.kt.txt +++ /dev/null @@ -1,66 +0,0 @@ -package test - -class C { - constructor() /* primary */ { - super/*Any*/() - /* () */ - - } - -} - -var C?.p: Int - get(): Int { - return 42 - } - set(value: Int) { - } - -operator fun Int?.inc(): Int? { - return { // BLOCK - val tmp0_safe_receiver: Int? = - when { - EQEQ(arg0 = tmp0_safe_receiver, arg1 = null) -> null - else -> tmp0_safe_receiver.inc() - } - } -} - -operator fun Int?.get(index: Int): Int { - return 42 -} - -operator fun Int?.set(index: Int, value: Int) { -} - -fun testProperty(nc: C?) { - val : Int? = { // BLOCK - val tmp1_safe_receiver: C? = nc - when { - EQEQ(arg0 = tmp1_safe_receiver, arg1 = null) -> null - else -> tmp1_safe_receiver.() - } - } - { // BLOCK - val tmp2_safe_receiver: C? = nc - when { - EQEQ(arg0 = tmp2_safe_receiver, arg1 = null) -> null - else -> tmp2_safe_receiver.(value = .inc()) - } - } /*~> Unit */ - /*~> Unit */ -} - -fun testArrayAccess(nc: C?) { - val : Int? = { // BLOCK - val tmp3_safe_receiver: C? = nc - when { - EQEQ(arg0 = tmp3_safe_receiver, arg1 = null) -> null - else -> tmp3_safe_receiver.() - } - } - val : Int = 0 - val : Int = .get(index = ) - .set(index = , value = .inc()) - /*~> Unit */ -} diff --git a/compiler/testData/ir/irText/expressions/safeCallWithIncrementDecrement.fir.txt b/compiler/testData/ir/irText/expressions/safeCallWithIncrementDecrement.fir.txt deleted file mode 100644 index d7c526ea61c..00000000000 --- a/compiler/testData/ir/irText/expressions/safeCallWithIncrementDecrement.fir.txt +++ /dev/null @@ -1,125 +0,0 @@ -FILE fqName:test fileName:/safeCallWithIncrementDecrement.kt - CLASS CLASS name:C modality:FINAL visibility:public superTypes:[kotlin.Any] - $this: VALUE_PARAMETER INSTANCE_RECEIVER name: type:test.C - CONSTRUCTOR visibility:public <> () returnType:test.C [primary] - BLOCK_BODY - DELEGATING_CONSTRUCTOR_CALL 'public constructor () [primary] declared in kotlin.Any' - INSTANCE_INITIALIZER_CALL classDescriptor='CLASS CLASS name:C modality:FINAL visibility:public superTypes:[kotlin.Any]' - FUN FAKE_OVERRIDE name:equals visibility:public modality:OPEN <> ($this:kotlin.Any, other:kotlin.Any?) returnType:kotlin.Boolean [fake_override,operator] - overridden: - public open fun equals (other: kotlin.Any?): kotlin.Boolean [operator] declared in kotlin.Any - $this: VALUE_PARAMETER name: type:kotlin.Any - VALUE_PARAMETER name:other index:0 type:kotlin.Any? - FUN FAKE_OVERRIDE name:hashCode visibility:public modality:OPEN <> ($this:kotlin.Any) returnType:kotlin.Int [fake_override] - overridden: - public open fun hashCode (): kotlin.Int declared in kotlin.Any - $this: VALUE_PARAMETER name: type:kotlin.Any - FUN FAKE_OVERRIDE name:toString visibility:public modality:OPEN <> ($this:kotlin.Any) returnType:kotlin.String [fake_override] - overridden: - public open fun toString (): kotlin.String declared in kotlin.Any - $this: VALUE_PARAMETER name: type:kotlin.Any - PROPERTY name:p visibility:public modality:FINAL [var] - FUN name: visibility:public modality:FINAL <> ($receiver:test.C?) returnType:kotlin.Int - correspondingProperty: PROPERTY name:p visibility:public modality:FINAL [var] - $receiver: VALUE_PARAMETER name: type:test.C? - BLOCK_BODY - RETURN type=kotlin.Nothing from='public final fun (): kotlin.Int declared in test' - CONST Int type=kotlin.Int value=42 - FUN name: visibility:public modality:FINAL <> ($receiver:test.C?, value:kotlin.Int) returnType:kotlin.Unit - correspondingProperty: PROPERTY name:p visibility:public modality:FINAL [var] - $receiver: VALUE_PARAMETER name: type:test.C? - VALUE_PARAMETER name:value index:0 type:kotlin.Int - BLOCK_BODY - FUN name:inc visibility:public modality:FINAL <> ($receiver:kotlin.Int?) returnType:kotlin.Int? [operator] - $receiver: VALUE_PARAMETER name: type:kotlin.Int? - BLOCK_BODY - RETURN type=kotlin.Nothing from='public final fun inc (): kotlin.Int? [operator] declared in test' - BLOCK type=kotlin.Int? origin=SAFE_CALL - VAR IR_TEMPORARY_VARIABLE name:tmp_0 type:kotlin.Int? [val] - GET_VAR ': kotlin.Int? declared in test.inc' type=kotlin.Int? origin=null - WHEN type=kotlin.Int? origin=null - BRANCH - if: CALL 'public final fun EQEQ (arg0: kotlin.Any?, arg1: kotlin.Any?): kotlin.Boolean declared in kotlin.internal.ir' type=kotlin.Boolean origin=EQEQ - arg0: GET_VAR 'val tmp_0: kotlin.Int? [val] declared in test.inc' type=kotlin.Int? origin=null - arg1: CONST Null type=kotlin.Nothing? value=null - then: CONST Null type=kotlin.Nothing? value=null - BRANCH - if: CONST Boolean type=kotlin.Boolean value=true - then: CALL 'public final fun inc (): kotlin.Int [operator] declared in kotlin.Int' type=kotlin.Int origin=null - $this: GET_VAR 'val tmp_0: kotlin.Int? [val] declared in test.inc' type=kotlin.Int? origin=null - FUN name:get visibility:public modality:FINAL <> ($receiver:kotlin.Int?, index:kotlin.Int) returnType:kotlin.Int [operator] - $receiver: VALUE_PARAMETER name: type:kotlin.Int? - VALUE_PARAMETER name:index index:0 type:kotlin.Int - BLOCK_BODY - RETURN type=kotlin.Nothing from='public final fun get (index: kotlin.Int): kotlin.Int [operator] declared in test' - CONST Int type=kotlin.Int value=42 - FUN name:set visibility:public modality:FINAL <> ($receiver:kotlin.Int?, index:kotlin.Int, value:kotlin.Int) returnType:kotlin.Unit [operator] - $receiver: VALUE_PARAMETER name: type:kotlin.Int? - VALUE_PARAMETER name:index index:0 type:kotlin.Int - VALUE_PARAMETER name:value index:1 type:kotlin.Int - BLOCK_BODY - FUN name:testProperty visibility:public modality:FINAL <> (nc:test.C?) returnType:kotlin.Unit - VALUE_PARAMETER name:nc index:0 type:test.C? - BLOCK_BODY - VAR IR_TEMPORARY_VARIABLE name:tmp_1 type:kotlin.Int? [val] - BLOCK type=kotlin.Int? origin=SAFE_CALL - VAR IR_TEMPORARY_VARIABLE name:tmp_2 type:test.C? [val] - GET_VAR 'nc: test.C? declared in test.testProperty' type=test.C? origin=null - WHEN type=kotlin.Int? origin=null - BRANCH - if: CALL 'public final fun EQEQ (arg0: kotlin.Any?, arg1: kotlin.Any?): kotlin.Boolean declared in kotlin.internal.ir' type=kotlin.Boolean origin=EQEQ - arg0: GET_VAR 'val tmp_2: test.C? [val] declared in test.testProperty' type=test.C? origin=null - arg1: CONST Null type=kotlin.Nothing? value=null - then: CONST Null type=kotlin.Nothing? value=null - BRANCH - if: CONST Boolean type=kotlin.Boolean value=true - then: CALL 'public final fun (): kotlin.Int declared in test' type=kotlin.Int origin=GET_PROPERTY - $receiver: GET_VAR 'val tmp_2: test.C? [val] declared in test.testProperty' type=test.C? origin=null - TYPE_OP type=kotlin.Unit origin=IMPLICIT_COERCION_TO_UNIT typeOperand=kotlin.Unit - BLOCK type=kotlin.Unit? origin=SAFE_CALL - VAR IR_TEMPORARY_VARIABLE name:tmp_3 type:test.C? [val] - GET_VAR 'nc: test.C? declared in test.testProperty' type=test.C? origin=null - WHEN type=kotlin.Unit? origin=null - BRANCH - if: CALL 'public final fun EQEQ (arg0: kotlin.Any?, arg1: kotlin.Any?): kotlin.Boolean declared in kotlin.internal.ir' type=kotlin.Boolean origin=EQEQ - arg0: GET_VAR 'val tmp_3: test.C? [val] declared in test.testProperty' type=test.C? origin=null - arg1: CONST Null type=kotlin.Nothing? value=null - then: CONST Null type=kotlin.Nothing? value=null - BRANCH - if: CONST Boolean type=kotlin.Boolean value=true - then: CALL 'public final fun (value: kotlin.Int): kotlin.Unit declared in test' type=kotlin.Unit origin=EQ - $receiver: GET_VAR 'val tmp_3: test.C? [val] declared in test.testProperty' type=test.C? origin=null - value: CALL 'public final fun inc (): kotlin.Int? [operator] declared in test' type=kotlin.Int? origin=null - $receiver: GET_VAR 'val tmp_1: kotlin.Int? [val] declared in test.testProperty' type=kotlin.Int? origin=null - TYPE_OP type=kotlin.Unit origin=IMPLICIT_COERCION_TO_UNIT typeOperand=kotlin.Unit - GET_VAR 'val tmp_1: kotlin.Int? [val] declared in test.testProperty' type=kotlin.Int? origin=null - FUN name:testArrayAccess visibility:public modality:FINAL <> (nc:test.C?) returnType:kotlin.Unit - VALUE_PARAMETER name:nc index:0 type:test.C? - BLOCK_BODY - VAR IR_TEMPORARY_VARIABLE name:tmp_4 type:kotlin.Int? [val] - BLOCK type=kotlin.Int? origin=SAFE_CALL - VAR IR_TEMPORARY_VARIABLE name:tmp_5 type:test.C? [val] - GET_VAR 'nc: test.C? declared in test.testArrayAccess' type=test.C? origin=null - WHEN type=kotlin.Int? origin=null - BRANCH - if: CALL 'public final fun EQEQ (arg0: kotlin.Any?, arg1: kotlin.Any?): kotlin.Boolean declared in kotlin.internal.ir' type=kotlin.Boolean origin=EQEQ - arg0: GET_VAR 'val tmp_5: test.C? [val] declared in test.testArrayAccess' type=test.C? origin=null - arg1: CONST Null type=kotlin.Nothing? value=null - then: CONST Null type=kotlin.Nothing? value=null - BRANCH - if: CONST Boolean type=kotlin.Boolean value=true - then: CALL 'public final fun (): kotlin.Int declared in test' type=kotlin.Int origin=GET_PROPERTY - $receiver: GET_VAR 'val tmp_5: test.C? [val] declared in test.testArrayAccess' type=test.C? origin=null - VAR IR_TEMPORARY_VARIABLE name:tmp_6 type:kotlin.Int [val] - CONST Int type=kotlin.Int value=0 - VAR IR_TEMPORARY_VARIABLE name:tmp_7 type:kotlin.Int [val] - CALL 'public final fun get (index: kotlin.Int): kotlin.Int [operator] declared in test' type=kotlin.Int origin=null - $receiver: GET_VAR 'val tmp_4: kotlin.Int? [val] declared in test.testArrayAccess' type=kotlin.Int? origin=null - index: GET_VAR 'val tmp_6: kotlin.Int [val] declared in test.testArrayAccess' type=kotlin.Int origin=null - CALL 'public final fun set (index: kotlin.Int, value: kotlin.Int): kotlin.Unit [operator] declared in test' type=kotlin.Unit origin=null - $receiver: GET_VAR 'val tmp_4: kotlin.Int? [val] declared in test.testArrayAccess' type=kotlin.Int? origin=null - index: GET_VAR 'val tmp_6: kotlin.Int [val] declared in test.testArrayAccess' type=kotlin.Int origin=null - value: CALL 'public final fun inc (): kotlin.Int [operator] declared in kotlin.Int' type=kotlin.Int origin=null - $this: GET_VAR 'val tmp_7: kotlin.Int [val] declared in test.testArrayAccess' type=kotlin.Int origin=null - TYPE_OP type=kotlin.Unit origin=IMPLICIT_COERCION_TO_UNIT typeOperand=kotlin.Unit - GET_VAR 'val tmp_7: kotlin.Int [val] declared in test.testArrayAccess' type=kotlin.Int origin=null diff --git a/compiler/testData/ir/irText/expressions/safeCallWithIncrementDecrement.txt b/compiler/testData/ir/irText/expressions/safeCallWithIncrementDecrement.ir.txt similarity index 100% rename from compiler/testData/ir/irText/expressions/safeCallWithIncrementDecrement.txt rename to compiler/testData/ir/irText/expressions/safeCallWithIncrementDecrement.ir.txt diff --git a/compiler/testData/ir/irText/expressions/safeCallWithIncrementDecrement.kt.txt b/compiler/testData/ir/irText/expressions/safeCallWithIncrementDecrement.kt.txt index f81fdecee93..1400a80bfbf 100644 --- a/compiler/testData/ir/irText/expressions/safeCallWithIncrementDecrement.kt.txt +++ b/compiler/testData/ir/irText/expressions/safeCallWithIncrementDecrement.kt.txt @@ -65,4 +65,3 @@ fun testArrayAccess(nc: C?) { tmp3 } /*~> Unit */ } - diff --git a/compiler/testData/ir/irText/expressions/safeCalls.fir.txt b/compiler/testData/ir/irText/expressions/safeCalls.fir.ir.txt similarity index 100% rename from compiler/testData/ir/irText/expressions/safeCalls.fir.txt rename to compiler/testData/ir/irText/expressions/safeCalls.fir.ir.txt diff --git a/compiler/testData/ir/irText/expressions/safeCalls.txt b/compiler/testData/ir/irText/expressions/safeCalls.ir.txt similarity index 100% rename from compiler/testData/ir/irText/expressions/safeCalls.txt rename to compiler/testData/ir/irText/expressions/safeCalls.ir.txt diff --git a/compiler/testData/ir/irText/expressions/safeCalls.kt.txt b/compiler/testData/ir/irText/expressions/safeCalls.kt.txt index 86f5c5056a4..a9d3613f3ee 100644 --- a/compiler/testData/ir/irText/expressions/safeCalls.kt.txt +++ b/compiler/testData/ir/irText/expressions/safeCalls.kt.txt @@ -82,4 +82,3 @@ fun box() { } } /*~> Unit */ } - diff --git a/compiler/testData/ir/irText/expressions/sam/arrayAsVarargAfterSamArgument.fir.kt.txt b/compiler/testData/ir/irText/expressions/sam/arrayAsVarargAfterSamArgument.fir.kt.txt deleted file mode 100644 index 77ca4aca3f2..00000000000 --- a/compiler/testData/ir/irText/expressions/sam/arrayAsVarargAfterSamArgument.fir.kt.txt +++ /dev/null @@ -1,69 +0,0 @@ -fun test(fn: Function0, r: Runnable, arr: Array) { - error("") /* ErrorCallExpression */local fun () { - return Unit - } -; arr; - foo1(r = local fun () { - return Unit - } - /*-> @FlexibleNullability Runnable? */, strs = [*arr]) /*~> Unit */ - error("") /* ErrorCallExpression */fn; arr; - foo1(r = fn /*-> @FlexibleNullability Runnable? */, strs = [*arr]) /*~> Unit */ - foo1(r = r, strs = [""]) /*~> Unit */ - error("") /* ErrorCallExpression */fn; arr; - foo1(r = fn /*-> @FlexibleNullability Runnable? */, strs = [*arr]) /*~> Unit */ - foo1(r = r, strs = [*arr]) /*~> Unit */ - val i1: ErrorType = error("") /* ErrorCallExpression */local fun () { - return Unit - } -; arr; - val i2: Test = Test(r = local fun () { - return Unit - } - /*-> @FlexibleNullability Runnable? */, strs = [*arr]) - val i3: ErrorType = error("") /* ErrorCallExpression */local fun () { - return Unit - } -; local fun () { - return Unit - } -; arr; - val i4: Test = Test(r1 = r, r2 = local fun () { - return Unit - } - /*-> @FlexibleNullability Runnable? */, strs = [""]) - val i5: Test = Test(r1 = local fun () { - return Unit - } - /*-> @FlexibleNullability Runnable? */, r2 = local fun () { - return Unit - } - /*-> @FlexibleNullability Runnable? */, strs = [*arr]) - val i6: Test = Test(r1 = r, r2 = local fun () { - return Unit - } - /*-> @FlexibleNullability Runnable? */, strs = [*arr]) - error("") /* ErrorCallExpression */local fun () { - return Unit - } -; local fun () { - return Unit - } -; arr; - error("") /* ErrorCallExpression */r; local fun () { - return Unit - } -; ""; - error("") /* ErrorCallExpression */local fun () { - return Unit - } -; local fun () { - return Unit - } -; arr; - error("") /* ErrorCallExpression */r; local fun () { - return Unit - } -; arr; -} - diff --git a/compiler/testData/ir/irText/expressions/sam/arrayAsVarargAfterSamArgument.fir.txt b/compiler/testData/ir/irText/expressions/sam/arrayAsVarargAfterSamArgument.fir.txt deleted file mode 100644 index dab9d1f3739..00000000000 --- a/compiler/testData/ir/irText/expressions/sam/arrayAsVarargAfterSamArgument.fir.txt +++ /dev/null @@ -1,167 +0,0 @@ -FILE fqName: fileName:/arrayAsVarargAfterSamArgument.kt - FUN name:test visibility:public modality:FINAL <> (fn:kotlin.Function0, r:java.lang.Runnable, arr:kotlin.Array) returnType:kotlin.Unit - VALUE_PARAMETER name:fn index:0 type:kotlin.Function0 - VALUE_PARAMETER name:r index:1 type:java.lang.Runnable - VALUE_PARAMETER name:arr index:2 type:kotlin.Array - BLOCK_BODY - ERROR_CALL 'Unresolved reference: #' type=@[FlexibleNullability] kotlin.String? - FUN_EXPR type=kotlin.Function0 origin=LAMBDA - FUN LOCAL_FUNCTION_FOR_LAMBDA name: visibility:local modality:FINAL <> () returnType:kotlin.Unit - BLOCK_BODY - RETURN type=kotlin.Nothing from='local final fun (): kotlin.Unit declared in .test' - GET_OBJECT 'CLASS IR_EXTERNAL_DECLARATION_STUB OBJECT name:Unit modality:FINAL visibility:public superTypes:[kotlin.Any]' type=kotlin.Unit - GET_VAR 'arr: kotlin.Array declared in .test' type=kotlin.Array origin=null - TYPE_OP type=kotlin.Unit origin=IMPLICIT_COERCION_TO_UNIT typeOperand=kotlin.Unit - CALL 'public open fun foo1 (r: @[FlexibleNullability] java.lang.Runnable?, vararg strs: @[FlexibleNullability] kotlin.String?): @[FlexibleNullability] kotlin.String? declared in .Test' type=@[FlexibleNullability] kotlin.String? origin=null - r: TYPE_OP type=@[FlexibleNullability] java.lang.Runnable? origin=SAM_CONVERSION typeOperand=@[FlexibleNullability] java.lang.Runnable? - FUN_EXPR type=kotlin.Function0 origin=LAMBDA - FUN LOCAL_FUNCTION_FOR_LAMBDA name: visibility:local modality:FINAL <> () returnType:kotlin.Unit - BLOCK_BODY - RETURN type=kotlin.Nothing from='local final fun (): kotlin.Unit declared in .test' - GET_OBJECT 'CLASS IR_EXTERNAL_DECLARATION_STUB OBJECT name:Unit modality:FINAL visibility:public superTypes:[kotlin.Any]' type=kotlin.Unit - strs: VARARG type=@[FlexibleNullability] kotlin.Array? varargElementType=@[FlexibleNullability] kotlin.String? - SPREAD_ELEMENT - GET_VAR 'arr: kotlin.Array declared in .test' type=kotlin.Array origin=null - ERROR_CALL 'Unresolved reference: #' type=@[FlexibleNullability] kotlin.String? - GET_VAR 'fn: kotlin.Function0 declared in .test' type=kotlin.Function0 origin=null - GET_VAR 'arr: kotlin.Array declared in .test' type=kotlin.Array origin=null - TYPE_OP type=kotlin.Unit origin=IMPLICIT_COERCION_TO_UNIT typeOperand=kotlin.Unit - CALL 'public open fun foo1 (r: @[FlexibleNullability] java.lang.Runnable?, vararg strs: @[FlexibleNullability] kotlin.String?): @[FlexibleNullability] kotlin.String? declared in .Test' type=@[FlexibleNullability] kotlin.String? origin=null - r: TYPE_OP type=@[FlexibleNullability] java.lang.Runnable? origin=SAM_CONVERSION typeOperand=@[FlexibleNullability] java.lang.Runnable? - GET_VAR 'fn: kotlin.Function0 declared in .test' type=kotlin.Function0 origin=null - strs: VARARG type=@[FlexibleNullability] kotlin.Array? varargElementType=@[FlexibleNullability] kotlin.String? - SPREAD_ELEMENT - GET_VAR 'arr: kotlin.Array declared in .test' type=kotlin.Array origin=null - TYPE_OP type=kotlin.Unit origin=IMPLICIT_COERCION_TO_UNIT typeOperand=kotlin.Unit - CALL 'public open fun foo1 (r: @[FlexibleNullability] java.lang.Runnable?, vararg strs: @[FlexibleNullability] kotlin.String?): @[FlexibleNullability] kotlin.String? declared in .Test' type=@[FlexibleNullability] kotlin.String? origin=null - r: GET_VAR 'r: java.lang.Runnable declared in .test' type=java.lang.Runnable origin=null - strs: VARARG type=@[FlexibleNullability] kotlin.Array? varargElementType=@[FlexibleNullability] kotlin.String? - CONST String type=kotlin.String value="" - ERROR_CALL 'Unresolved reference: #' type=@[FlexibleNullability] kotlin.String? - GET_VAR 'fn: kotlin.Function0 declared in .test' type=kotlin.Function0 origin=null - GET_VAR 'arr: kotlin.Array declared in .test' type=kotlin.Array origin=null - TYPE_OP type=kotlin.Unit origin=IMPLICIT_COERCION_TO_UNIT typeOperand=kotlin.Unit - CALL 'public open fun foo1 (r: @[FlexibleNullability] java.lang.Runnable?, vararg strs: @[FlexibleNullability] kotlin.String?): @[FlexibleNullability] kotlin.String? declared in .Test' type=@[FlexibleNullability] kotlin.String? origin=null - r: TYPE_OP type=@[FlexibleNullability] java.lang.Runnable? origin=SAM_CONVERSION typeOperand=@[FlexibleNullability] java.lang.Runnable? - GET_VAR 'fn: kotlin.Function0 declared in .test' type=kotlin.Function0 origin=null - strs: VARARG type=@[FlexibleNullability] kotlin.Array? varargElementType=@[FlexibleNullability] kotlin.String? - SPREAD_ELEMENT - GET_VAR 'arr: kotlin.Array declared in .test' type=kotlin.Array origin=null - TYPE_OP type=kotlin.Unit origin=IMPLICIT_COERCION_TO_UNIT typeOperand=kotlin.Unit - CALL 'public open fun foo1 (r: @[FlexibleNullability] java.lang.Runnable?, vararg strs: @[FlexibleNullability] kotlin.String?): @[FlexibleNullability] kotlin.String? declared in .Test' type=@[FlexibleNullability] kotlin.String? origin=null - r: GET_VAR 'r: java.lang.Runnable declared in .test' type=java.lang.Runnable origin=null - strs: VARARG type=@[FlexibleNullability] kotlin.Array? varargElementType=@[FlexibleNullability] kotlin.String? - SPREAD_ELEMENT - GET_VAR 'arr: kotlin.Array declared in .test' type=kotlin.Array origin=null - VAR name:i1 type:IrErrorType(null) [val] - ERROR_CALL 'Unresolved reference: #' type=IrErrorType(null) - FUN_EXPR type=kotlin.Function0 origin=LAMBDA - FUN LOCAL_FUNCTION_FOR_LAMBDA name: visibility:local modality:FINAL <> () returnType:kotlin.Unit - BLOCK_BODY - RETURN type=kotlin.Nothing from='local final fun (): kotlin.Unit declared in .test' - GET_OBJECT 'CLASS IR_EXTERNAL_DECLARATION_STUB OBJECT name:Unit modality:FINAL visibility:public superTypes:[kotlin.Any]' type=kotlin.Unit - GET_VAR 'arr: kotlin.Array declared in .test' type=kotlin.Array origin=null - VAR name:i2 type:.Test [val] - CONSTRUCTOR_CALL 'public constructor (r: @[FlexibleNullability] java.lang.Runnable?, vararg strs: @[FlexibleNullability] kotlin.String?) declared in .Test' type=.Test origin=null - r: TYPE_OP type=@[FlexibleNullability] java.lang.Runnable? origin=SAM_CONVERSION typeOperand=@[FlexibleNullability] java.lang.Runnable? - FUN_EXPR type=kotlin.Function0 origin=LAMBDA - FUN LOCAL_FUNCTION_FOR_LAMBDA name: visibility:local modality:FINAL <> () returnType:kotlin.Unit - BLOCK_BODY - RETURN type=kotlin.Nothing from='local final fun (): kotlin.Unit declared in .test' - GET_OBJECT 'CLASS IR_EXTERNAL_DECLARATION_STUB OBJECT name:Unit modality:FINAL visibility:public superTypes:[kotlin.Any]' type=kotlin.Unit - strs: VARARG type=@[FlexibleNullability] kotlin.Array? varargElementType=@[FlexibleNullability] kotlin.String? - SPREAD_ELEMENT - GET_VAR 'arr: kotlin.Array declared in .test' type=kotlin.Array origin=null - VAR name:i3 type:IrErrorType(null) [val] - ERROR_CALL 'Unresolved reference: #' type=IrErrorType(null) - FUN_EXPR type=kotlin.Function0 origin=LAMBDA - FUN LOCAL_FUNCTION_FOR_LAMBDA name: visibility:local modality:FINAL <> () returnType:kotlin.Unit - BLOCK_BODY - RETURN type=kotlin.Nothing from='local final fun (): kotlin.Unit declared in .test' - GET_OBJECT 'CLASS IR_EXTERNAL_DECLARATION_STUB OBJECT name:Unit modality:FINAL visibility:public superTypes:[kotlin.Any]' type=kotlin.Unit - FUN_EXPR type=kotlin.Function0 origin=LAMBDA - FUN LOCAL_FUNCTION_FOR_LAMBDA name: visibility:local modality:FINAL <> () returnType:kotlin.Unit - BLOCK_BODY - RETURN type=kotlin.Nothing from='local final fun (): kotlin.Unit declared in .test' - GET_OBJECT 'CLASS IR_EXTERNAL_DECLARATION_STUB OBJECT name:Unit modality:FINAL visibility:public superTypes:[kotlin.Any]' type=kotlin.Unit - GET_VAR 'arr: kotlin.Array declared in .test' type=kotlin.Array origin=null - VAR name:i4 type:.Test [val] - CONSTRUCTOR_CALL 'public constructor (r1: @[FlexibleNullability] java.lang.Runnable?, r2: @[FlexibleNullability] java.lang.Runnable?, vararg strs: @[FlexibleNullability] kotlin.String?) declared in .Test' type=.Test origin=null - r1: GET_VAR 'r: java.lang.Runnable declared in .test' type=java.lang.Runnable origin=null - r2: TYPE_OP type=@[FlexibleNullability] java.lang.Runnable? origin=SAM_CONVERSION typeOperand=@[FlexibleNullability] java.lang.Runnable? - FUN_EXPR type=kotlin.Function0 origin=LAMBDA - FUN LOCAL_FUNCTION_FOR_LAMBDA name: visibility:local modality:FINAL <> () returnType:kotlin.Unit - BLOCK_BODY - RETURN type=kotlin.Nothing from='local final fun (): kotlin.Unit declared in .test' - GET_OBJECT 'CLASS IR_EXTERNAL_DECLARATION_STUB OBJECT name:Unit modality:FINAL visibility:public superTypes:[kotlin.Any]' type=kotlin.Unit - strs: VARARG type=@[FlexibleNullability] kotlin.Array? varargElementType=@[FlexibleNullability] kotlin.String? - CONST String type=kotlin.String value="" - VAR name:i5 type:.Test [val] - CONSTRUCTOR_CALL 'public constructor (r1: @[FlexibleNullability] java.lang.Runnable?, r2: @[FlexibleNullability] java.lang.Runnable?, vararg strs: @[FlexibleNullability] kotlin.String?) declared in .Test' type=.Test origin=null - r1: TYPE_OP type=@[FlexibleNullability] java.lang.Runnable? origin=SAM_CONVERSION typeOperand=@[FlexibleNullability] java.lang.Runnable? - FUN_EXPR type=kotlin.Function0 origin=LAMBDA - FUN LOCAL_FUNCTION_FOR_LAMBDA name: visibility:local modality:FINAL <> () returnType:kotlin.Unit - BLOCK_BODY - RETURN type=kotlin.Nothing from='local final fun (): kotlin.Unit declared in .test' - GET_OBJECT 'CLASS IR_EXTERNAL_DECLARATION_STUB OBJECT name:Unit modality:FINAL visibility:public superTypes:[kotlin.Any]' type=kotlin.Unit - r2: TYPE_OP type=@[FlexibleNullability] java.lang.Runnable? origin=SAM_CONVERSION typeOperand=@[FlexibleNullability] java.lang.Runnable? - FUN_EXPR type=kotlin.Function0 origin=LAMBDA - FUN LOCAL_FUNCTION_FOR_LAMBDA name: visibility:local modality:FINAL <> () returnType:kotlin.Unit - BLOCK_BODY - RETURN type=kotlin.Nothing from='local final fun (): kotlin.Unit declared in .test' - GET_OBJECT 'CLASS IR_EXTERNAL_DECLARATION_STUB OBJECT name:Unit modality:FINAL visibility:public superTypes:[kotlin.Any]' type=kotlin.Unit - strs: VARARG type=@[FlexibleNullability] kotlin.Array? varargElementType=@[FlexibleNullability] kotlin.String? - SPREAD_ELEMENT - GET_VAR 'arr: kotlin.Array declared in .test' type=kotlin.Array origin=null - VAR name:i6 type:.Test [val] - CONSTRUCTOR_CALL 'public constructor (r1: @[FlexibleNullability] java.lang.Runnable?, r2: @[FlexibleNullability] java.lang.Runnable?, vararg strs: @[FlexibleNullability] kotlin.String?) declared in .Test' type=.Test origin=null - r1: GET_VAR 'r: java.lang.Runnable declared in .test' type=java.lang.Runnable origin=null - r2: TYPE_OP type=@[FlexibleNullability] java.lang.Runnable? origin=SAM_CONVERSION typeOperand=@[FlexibleNullability] java.lang.Runnable? - FUN_EXPR type=kotlin.Function0 origin=LAMBDA - FUN LOCAL_FUNCTION_FOR_LAMBDA name: visibility:local modality:FINAL <> () returnType:kotlin.Unit - BLOCK_BODY - RETURN type=kotlin.Nothing from='local final fun (): kotlin.Unit declared in .test' - GET_OBJECT 'CLASS IR_EXTERNAL_DECLARATION_STUB OBJECT name:Unit modality:FINAL visibility:public superTypes:[kotlin.Any]' type=kotlin.Unit - strs: VARARG type=@[FlexibleNullability] kotlin.Array? varargElementType=@[FlexibleNullability] kotlin.String? - SPREAD_ELEMENT - GET_VAR 'arr: kotlin.Array declared in .test' type=kotlin.Array origin=null - ERROR_CALL 'Unresolved reference: #' type=IrErrorType(null) - FUN_EXPR type=kotlin.Function0 origin=LAMBDA - FUN LOCAL_FUNCTION_FOR_LAMBDA name: visibility:local modality:FINAL <> () returnType:kotlin.Unit - BLOCK_BODY - RETURN type=kotlin.Nothing from='local final fun (): kotlin.Unit declared in .test' - GET_OBJECT 'CLASS IR_EXTERNAL_DECLARATION_STUB OBJECT name:Unit modality:FINAL visibility:public superTypes:[kotlin.Any]' type=kotlin.Unit - FUN_EXPR type=kotlin.Function0 origin=LAMBDA - FUN LOCAL_FUNCTION_FOR_LAMBDA name: visibility:local modality:FINAL <> () returnType:kotlin.Unit - BLOCK_BODY - RETURN type=kotlin.Nothing from='local final fun (): kotlin.Unit declared in .test' - GET_OBJECT 'CLASS IR_EXTERNAL_DECLARATION_STUB OBJECT name:Unit modality:FINAL visibility:public superTypes:[kotlin.Any]' type=kotlin.Unit - GET_VAR 'arr: kotlin.Array declared in .test' type=kotlin.Array origin=null - ERROR_CALL 'Unresolved reference: #' type=IrErrorType(null) - GET_VAR 'r: java.lang.Runnable declared in .test' type=java.lang.Runnable origin=null - FUN_EXPR type=kotlin.Function0 origin=LAMBDA - FUN LOCAL_FUNCTION_FOR_LAMBDA name: visibility:local modality:FINAL <> () returnType:kotlin.Unit - BLOCK_BODY - RETURN type=kotlin.Nothing from='local final fun (): kotlin.Unit declared in .test' - GET_OBJECT 'CLASS IR_EXTERNAL_DECLARATION_STUB OBJECT name:Unit modality:FINAL visibility:public superTypes:[kotlin.Any]' type=kotlin.Unit - CONST String type=kotlin.String value="" - ERROR_CALL 'Unresolved reference: #' type=IrErrorType(null) - FUN_EXPR type=kotlin.Function0 origin=LAMBDA - FUN LOCAL_FUNCTION_FOR_LAMBDA name: visibility:local modality:FINAL <> () returnType:kotlin.Unit - BLOCK_BODY - RETURN type=kotlin.Nothing from='local final fun (): kotlin.Unit declared in .test' - GET_OBJECT 'CLASS IR_EXTERNAL_DECLARATION_STUB OBJECT name:Unit modality:FINAL visibility:public superTypes:[kotlin.Any]' type=kotlin.Unit - FUN_EXPR type=kotlin.Function0 origin=LAMBDA - FUN LOCAL_FUNCTION_FOR_LAMBDA name: visibility:local modality:FINAL <> () returnType:kotlin.Unit - BLOCK_BODY - RETURN type=kotlin.Nothing from='local final fun (): kotlin.Unit declared in .test' - GET_OBJECT 'CLASS IR_EXTERNAL_DECLARATION_STUB OBJECT name:Unit modality:FINAL visibility:public superTypes:[kotlin.Any]' type=kotlin.Unit - GET_VAR 'arr: kotlin.Array declared in .test' type=kotlin.Array origin=null - ERROR_CALL 'Unresolved reference: #' type=IrErrorType(null) - GET_VAR 'r: java.lang.Runnable declared in .test' type=java.lang.Runnable origin=null - FUN_EXPR type=kotlin.Function0 origin=LAMBDA - FUN LOCAL_FUNCTION_FOR_LAMBDA name: visibility:local modality:FINAL <> () returnType:kotlin.Unit - BLOCK_BODY - RETURN type=kotlin.Nothing from='local final fun (): kotlin.Unit declared in .test' - GET_OBJECT 'CLASS IR_EXTERNAL_DECLARATION_STUB OBJECT name:Unit modality:FINAL visibility:public superTypes:[kotlin.Any]' type=kotlin.Unit - GET_VAR 'arr: kotlin.Array declared in .test' type=kotlin.Array origin=null diff --git a/compiler/testData/ir/irText/expressions/sam/arrayAsVarargAfterSamArgument.txt b/compiler/testData/ir/irText/expressions/sam/arrayAsVarargAfterSamArgument.ir.txt similarity index 100% rename from compiler/testData/ir/irText/expressions/sam/arrayAsVarargAfterSamArgument.txt rename to compiler/testData/ir/irText/expressions/sam/arrayAsVarargAfterSamArgument.ir.txt diff --git a/compiler/testData/ir/irText/expressions/sam/arrayAsVarargAfterSamArgument.kt.txt b/compiler/testData/ir/irText/expressions/sam/arrayAsVarargAfterSamArgument.kt.txt index cdddbbbb84f..88d9f619d0d 100644 --- a/compiler/testData/ir/irText/expressions/sam/arrayAsVarargAfterSamArgument.kt.txt +++ b/compiler/testData/ir/irText/expressions/sam/arrayAsVarargAfterSamArgument.kt.txt @@ -66,4 +66,3 @@ fun test(fn: Function0, r: Runnable, arr: Array) { } /*-> @FlexibleNullability Runnable? */, strs = [*arr]) /*~> Unit */ } - diff --git a/compiler/testData/ir/irText/expressions/sam/genericSamProjectedOut.fir.txt b/compiler/testData/ir/irText/expressions/sam/genericSamProjectedOut.fir.ir.txt similarity index 100% rename from compiler/testData/ir/irText/expressions/sam/genericSamProjectedOut.fir.txt rename to compiler/testData/ir/irText/expressions/sam/genericSamProjectedOut.fir.ir.txt diff --git a/compiler/testData/ir/irText/expressions/sam/genericSamProjectedOut.fir.kt.txt b/compiler/testData/ir/irText/expressions/sam/genericSamProjectedOut.fir.kt.txt index 7447bcb3a48..a04abda853b 100644 --- a/compiler/testData/ir/irText/expressions/sam/genericSamProjectedOut.fir.kt.txt +++ b/compiler/testData/ir/irText/expressions/sam/genericSamProjectedOut.fir.kt.txt @@ -12,4 +12,3 @@ fun test(a: SomeJavaClass) { } /*-> @FlexibleNullability Hello<@FlexibleNullability String?>? */) } - diff --git a/compiler/testData/ir/irText/expressions/sam/genericSamProjectedOut.txt b/compiler/testData/ir/irText/expressions/sam/genericSamProjectedOut.ir.txt similarity index 100% rename from compiler/testData/ir/irText/expressions/sam/genericSamProjectedOut.txt rename to compiler/testData/ir/irText/expressions/sam/genericSamProjectedOut.ir.txt diff --git a/compiler/testData/ir/irText/expressions/sam/genericSamProjectedOut.kt.txt b/compiler/testData/ir/irText/expressions/sam/genericSamProjectedOut.kt.txt index e65d238f5e2..ea5400af0f0 100644 --- a/compiler/testData/ir/irText/expressions/sam/genericSamProjectedOut.kt.txt +++ b/compiler/testData/ir/irText/expressions/sam/genericSamProjectedOut.kt.txt @@ -12,4 +12,3 @@ fun test(a: SomeJavaClass) { } /*-> @FlexibleNullability Hello? */) } - diff --git a/compiler/testData/ir/irText/expressions/sam/genericSamSmartcast.fir.txt b/compiler/testData/ir/irText/expressions/sam/genericSamSmartcast.fir.ir.txt similarity index 100% rename from compiler/testData/ir/irText/expressions/sam/genericSamSmartcast.fir.txt rename to compiler/testData/ir/irText/expressions/sam/genericSamSmartcast.fir.ir.txt diff --git a/compiler/testData/ir/irText/expressions/sam/genericSamSmartcast.txt b/compiler/testData/ir/irText/expressions/sam/genericSamSmartcast.ir.txt similarity index 100% rename from compiler/testData/ir/irText/expressions/sam/genericSamSmartcast.txt rename to compiler/testData/ir/irText/expressions/sam/genericSamSmartcast.ir.txt diff --git a/compiler/testData/ir/irText/expressions/sam/genericSamSmartcast.kt.txt b/compiler/testData/ir/irText/expressions/sam/genericSamSmartcast.kt.txt index 31aa5a37bbf..63d518793c1 100644 --- a/compiler/testData/ir/irText/expressions/sam/genericSamSmartcast.kt.txt +++ b/compiler/testData/ir/irText/expressions/sam/genericSamSmartcast.kt.txt @@ -9,4 +9,3 @@ fun f(x: Any): String { } return "Fail" } - diff --git a/compiler/testData/ir/irText/expressions/sam/samByProjectedType.txt b/compiler/testData/ir/irText/expressions/sam/samByProjectedType.ir.txt similarity index 100% rename from compiler/testData/ir/irText/expressions/sam/samByProjectedType.txt rename to compiler/testData/ir/irText/expressions/sam/samByProjectedType.ir.txt diff --git a/compiler/testData/ir/irText/expressions/sam/samByProjectedType.kt.txt b/compiler/testData/ir/irText/expressions/sam/samByProjectedType.kt.txt index 6a9e49a8d55..9518bdc211a 100644 --- a/compiler/testData/ir/irText/expressions/sam/samByProjectedType.kt.txt +++ b/compiler/testData/ir/irText/expressions/sam/samByProjectedType.kt.txt @@ -4,4 +4,3 @@ fun test1() { } /*-> @FlexibleNullability J<@FlexibleNullability Any?>? */) } - diff --git a/compiler/testData/ir/irText/expressions/sam/samConstructors.fir.txt b/compiler/testData/ir/irText/expressions/sam/samConstructors.fir.ir.txt similarity index 100% rename from compiler/testData/ir/irText/expressions/sam/samConstructors.fir.txt rename to compiler/testData/ir/irText/expressions/sam/samConstructors.fir.ir.txt diff --git a/compiler/testData/ir/irText/expressions/sam/samConstructors.fir.kt.txt b/compiler/testData/ir/irText/expressions/sam/samConstructors.fir.kt.txt index 4786ac266eb..2e09526a136 100644 --- a/compiler/testData/ir/irText/expressions/sam/samConstructors.fir.kt.txt +++ b/compiler/testData/ir/irText/expressions/sam/samConstructors.fir.kt.txt @@ -22,4 +22,3 @@ fun test4(): Comparator<@FlexibleNullability Int?> { } /*-> Comparator<@FlexibleNullability Int?> */ } - diff --git a/compiler/testData/ir/irText/expressions/sam/samConstructors.txt b/compiler/testData/ir/irText/expressions/sam/samConstructors.ir.txt similarity index 100% rename from compiler/testData/ir/irText/expressions/sam/samConstructors.txt rename to compiler/testData/ir/irText/expressions/sam/samConstructors.ir.txt diff --git a/compiler/testData/ir/irText/expressions/sam/samConstructors.kt.txt b/compiler/testData/ir/irText/expressions/sam/samConstructors.kt.txt index fc8c8d38ed6..8f37f4e186d 100644 --- a/compiler/testData/ir/irText/expressions/sam/samConstructors.kt.txt +++ b/compiler/testData/ir/irText/expressions/sam/samConstructors.kt.txt @@ -22,4 +22,3 @@ fun test4(): Comparator { } /*-> Comparator */ } - diff --git a/compiler/testData/ir/irText/expressions/sam/samConversionInGenericConstructorCall.txt b/compiler/testData/ir/irText/expressions/sam/samConversionInGenericConstructorCall.ir.txt similarity index 100% rename from compiler/testData/ir/irText/expressions/sam/samConversionInGenericConstructorCall.txt rename to compiler/testData/ir/irText/expressions/sam/samConversionInGenericConstructorCall.ir.txt diff --git a/compiler/testData/ir/irText/expressions/sam/samConversionInGenericConstructorCall.kt.txt b/compiler/testData/ir/irText/expressions/sam/samConversionInGenericConstructorCall.kt.txt index b2a8e98e6ea..02cc97fefa3 100644 --- a/compiler/testData/ir/irText/expressions/sam/samConversionInGenericConstructorCall.kt.txt +++ b/compiler/testData/ir/irText/expressions/sam/samConversionInGenericConstructorCall.kt.txt @@ -6,4 +6,3 @@ fun test2(x: Any) { x as Function1 /*~> Unit */ C<@FlexibleNullability String?>(jxx = x /*as Function1 */ /*-> @FlexibleNullability J<@FlexibleNullability String?, @FlexibleNullability String?>? */) /*~> Unit */ } - diff --git a/compiler/testData/ir/irText/expressions/sam/samConversionInGenericConstructorCall_NI.txt b/compiler/testData/ir/irText/expressions/sam/samConversionInGenericConstructorCall_NI.ir.txt similarity index 100% rename from compiler/testData/ir/irText/expressions/sam/samConversionInGenericConstructorCall_NI.txt rename to compiler/testData/ir/irText/expressions/sam/samConversionInGenericConstructorCall_NI.ir.txt diff --git a/compiler/testData/ir/irText/expressions/sam/samConversionInGenericConstructorCall_NI.kt.txt b/compiler/testData/ir/irText/expressions/sam/samConversionInGenericConstructorCall_NI.kt.txt index 4de1ad8e837..19eb35d5b51 100644 --- a/compiler/testData/ir/irText/expressions/sam/samConversionInGenericConstructorCall_NI.kt.txt +++ b/compiler/testData/ir/irText/expressions/sam/samConversionInGenericConstructorCall_NI.kt.txt @@ -40,4 +40,3 @@ fun testGenericJavaCtor2(x: Any) { x as Function1 /*~> Unit */ G<@FlexibleNullability String?, @FlexibleNullability Int?>(x = x /*as Function1 */ /*-> @FlexibleNullability J<@FlexibleNullability Int?, @FlexibleNullability String?>? */) /*~> Unit */ } - diff --git a/compiler/testData/ir/irText/expressions/sam/samConversionToGeneric.fir.txt b/compiler/testData/ir/irText/expressions/sam/samConversionToGeneric.fir.ir.txt similarity index 100% rename from compiler/testData/ir/irText/expressions/sam/samConversionToGeneric.fir.txt rename to compiler/testData/ir/irText/expressions/sam/samConversionToGeneric.fir.ir.txt diff --git a/compiler/testData/ir/irText/expressions/sam/samConversionToGeneric.fir.kt.txt b/compiler/testData/ir/irText/expressions/sam/samConversionToGeneric.fir.kt.txt index 5e1d3d1bff1..8fedaddc1f2 100644 --- a/compiler/testData/ir/irText/expressions/sam/samConversionToGeneric.fir.kt.txt +++ b/compiler/testData/ir/irText/expressions/sam/samConversionToGeneric.fir.kt.txt @@ -49,4 +49,3 @@ fun test9(efn: @ExtensionFunctionType Function1) { fun test10(fn: Function1) { bar2x<@FlexibleNullability Int?>(j2x = fn /*-> @FlexibleNullability J2X<@FlexibleNullability Int?>? */) } - diff --git a/compiler/testData/ir/irText/expressions/sam/samConversionToGeneric.txt b/compiler/testData/ir/irText/expressions/sam/samConversionToGeneric.ir.txt similarity index 100% rename from compiler/testData/ir/irText/expressions/sam/samConversionToGeneric.txt rename to compiler/testData/ir/irText/expressions/sam/samConversionToGeneric.ir.txt diff --git a/compiler/testData/ir/irText/expressions/sam/samConversionToGeneric.kt.txt b/compiler/testData/ir/irText/expressions/sam/samConversionToGeneric.kt.txt index ed788a12528..d66d06283e8 100644 --- a/compiler/testData/ir/irText/expressions/sam/samConversionToGeneric.kt.txt +++ b/compiler/testData/ir/irText/expressions/sam/samConversionToGeneric.kt.txt @@ -49,4 +49,3 @@ fun test9(efn: @ExtensionFunctionType Function1) { fun test10(fn: Function1) { bar2x<@FlexibleNullability Int?>(j2x = fn /*-> @FlexibleNullability J2X<@FlexibleNullability Int?>? */) } - diff --git a/compiler/testData/ir/irText/expressions/sam/samConversions.txt b/compiler/testData/ir/irText/expressions/sam/samConversions.ir.txt similarity index 100% rename from compiler/testData/ir/irText/expressions/sam/samConversions.txt rename to compiler/testData/ir/irText/expressions/sam/samConversions.ir.txt diff --git a/compiler/testData/ir/irText/expressions/sam/samConversions.kt.txt b/compiler/testData/ir/irText/expressions/sam/samConversions.kt.txt index 6cb66288544..ce287d8109e 100644 --- a/compiler/testData/ir/irText/expressions/sam/samConversions.kt.txt +++ b/compiler/testData/ir/irText/expressions/sam/samConversions.kt.txt @@ -27,4 +27,3 @@ fun J.test4(a: Function0, b: Function0, flag: Boolean) { else -> b } /*-> @FlexibleNullability Runnable? */) } - diff --git a/compiler/testData/ir/irText/expressions/sam/samConversionsWithSmartCasts.fir.txt b/compiler/testData/ir/irText/expressions/sam/samConversionsWithSmartCasts.fir.ir.txt similarity index 100% rename from compiler/testData/ir/irText/expressions/sam/samConversionsWithSmartCasts.fir.txt rename to compiler/testData/ir/irText/expressions/sam/samConversionsWithSmartCasts.fir.ir.txt diff --git a/compiler/testData/ir/irText/expressions/sam/samConversionsWithSmartCasts.fir.kt.txt b/compiler/testData/ir/irText/expressions/sam/samConversionsWithSmartCasts.fir.kt.txt index 4527300719c..e8005fc8b86 100644 --- a/compiler/testData/ir/irText/expressions/sam/samConversionsWithSmartCasts.fir.kt.txt +++ b/compiler/testData/ir/irText/expressions/sam/samConversionsWithSmartCasts.fir.kt.txt @@ -54,4 +54,3 @@ fun test8(a: Function0) { fun test9() { J().run1(r = ::test9 /*-> @FlexibleNullability Runnable? */) } - diff --git a/compiler/testData/ir/irText/expressions/sam/samConversionsWithSmartCasts.txt b/compiler/testData/ir/irText/expressions/sam/samConversionsWithSmartCasts.ir.txt similarity index 100% rename from compiler/testData/ir/irText/expressions/sam/samConversionsWithSmartCasts.txt rename to compiler/testData/ir/irText/expressions/sam/samConversionsWithSmartCasts.ir.txt diff --git a/compiler/testData/ir/irText/expressions/sam/samConversionsWithSmartCasts.kt.txt b/compiler/testData/ir/irText/expressions/sam/samConversionsWithSmartCasts.kt.txt index 396d6a3ad01..21a80657a37 100644 --- a/compiler/testData/ir/irText/expressions/sam/samConversionsWithSmartCasts.kt.txt +++ b/compiler/testData/ir/irText/expressions/sam/samConversionsWithSmartCasts.kt.txt @@ -64,4 +64,3 @@ fun test8(a: Function0) { fun test9() { J().run1(r = ::test9 /*-> @FlexibleNullability Runnable? */) } - diff --git a/compiler/testData/ir/irText/expressions/sam/samOperators.fir.txt b/compiler/testData/ir/irText/expressions/sam/samOperators.fir.ir.txt similarity index 100% rename from compiler/testData/ir/irText/expressions/sam/samOperators.fir.txt rename to compiler/testData/ir/irText/expressions/sam/samOperators.fir.ir.txt diff --git a/compiler/testData/ir/irText/expressions/sam/samOperators.fir.kt.txt b/compiler/testData/ir/irText/expressions/sam/samOperators.fir.kt.txt index 311a011a2d0..0ab5c6b9b34 100644 --- a/compiler/testData/ir/irText/expressions/sam/samOperators.fir.kt.txt +++ b/compiler/testData/ir/irText/expressions/sam/samOperators.fir.kt.txt @@ -15,4 +15,3 @@ fun J.test3() { .plusAssign(i = ::f /*-> @FlexibleNullability Runnable? */) .minusAssign(i = ::f /*-> @FlexibleNullability Runnable? */) } - diff --git a/compiler/testData/ir/irText/expressions/sam/samOperators.txt b/compiler/testData/ir/irText/expressions/sam/samOperators.ir.txt similarity index 100% rename from compiler/testData/ir/irText/expressions/sam/samOperators.txt rename to compiler/testData/ir/irText/expressions/sam/samOperators.ir.txt diff --git a/compiler/testData/ir/irText/expressions/sam/samOperators.kt.txt b/compiler/testData/ir/irText/expressions/sam/samOperators.kt.txt index 311a011a2d0..0ab5c6b9b34 100644 --- a/compiler/testData/ir/irText/expressions/sam/samOperators.kt.txt +++ b/compiler/testData/ir/irText/expressions/sam/samOperators.kt.txt @@ -15,4 +15,3 @@ fun J.test3() { .plusAssign(i = ::f /*-> @FlexibleNullability Runnable? */) .minusAssign(i = ::f /*-> @FlexibleNullability Runnable? */) } - diff --git a/compiler/testData/ir/irText/expressions/setFieldWithImplicitCast.fir.txt b/compiler/testData/ir/irText/expressions/setFieldWithImplicitCast.fir.ir.txt similarity index 100% rename from compiler/testData/ir/irText/expressions/setFieldWithImplicitCast.fir.txt rename to compiler/testData/ir/irText/expressions/setFieldWithImplicitCast.fir.ir.txt diff --git a/compiler/testData/ir/irText/expressions/setFieldWithImplicitCast.txt b/compiler/testData/ir/irText/expressions/setFieldWithImplicitCast.ir.txt similarity index 100% rename from compiler/testData/ir/irText/expressions/setFieldWithImplicitCast.txt rename to compiler/testData/ir/irText/expressions/setFieldWithImplicitCast.ir.txt diff --git a/compiler/testData/ir/irText/expressions/setFieldWithImplicitCast.kt.txt b/compiler/testData/ir/irText/expressions/setFieldWithImplicitCast.kt.txt index f9323b93a52..1178a6be540 100644 --- a/compiler/testData/ir/irText/expressions/setFieldWithImplicitCast.kt.txt +++ b/compiler/testData/ir/irText/expressions/setFieldWithImplicitCast.kt.txt @@ -14,4 +14,3 @@ class Derived : Base { } } - diff --git a/compiler/testData/ir/irText/expressions/signedToUnsignedConversions.fir.kt.txt b/compiler/testData/ir/irText/expressions/signedToUnsignedConversions.fir.kt.txt deleted file mode 100644 index 72545183027..00000000000 --- a/compiler/testData/ir/irText/expressions/signedToUnsignedConversions.fir.kt.txt +++ /dev/null @@ -1,67 +0,0 @@ -// FILE: signedToUnsignedConversions_annotation.kt -package kotlin.internal - -annotation class ImplicitIntegerCoercion : Annotation { - constructor() /* primary */ - -} - -// FILE: signedToUnsignedConversions_test.kt - -@ImplicitIntegerCoercion -const val IMPLICIT_INT: Int - field = 255 - get - -@ImplicitIntegerCoercion -const val EXPLICIT_INT: Int - field = 255 - get - -@ImplicitIntegerCoercion -const val LONG_CONST: Long - field = 255L - get - -@ImplicitIntegerCoercion -val NON_CONST: Int - field = 255 - get - -@ImplicitIntegerCoercion -const val BIGGER_THAN_UBYTE: Int - field = 256 - get - -@ImplicitIntegerCoercion -const val UINT_CONST: UInt - field = 42 - get - -fun takeUByte(@ImplicitIntegerCoercion u: UByte) { -} - -fun takeUShort(@ImplicitIntegerCoercion u: UShort) { -} - -fun takeUInt(@ImplicitIntegerCoercion u: UInt) { -} - -fun takeULong(@ImplicitIntegerCoercion u: ULong) { -} - -fun takeUBytes(@ImplicitIntegerCoercion vararg u: UByte) { -} - -fun takeLong(@ImplicitIntegerCoercion l: Long) { -} - -fun test() { - error("") /* ErrorCallExpression */255; - error("") /* ErrorCallExpression */255; - error("") /* ErrorCallExpression */255; - error("") /* ErrorCallExpression */256; - error("") /* ErrorCallExpression */255; - error("") /* ErrorCallExpression */255; - error("") /* ErrorCallExpression */255; 255; 42; -} diff --git a/compiler/testData/ir/irText/expressions/signedToUnsignedConversions.fir.txt b/compiler/testData/ir/irText/expressions/signedToUnsignedConversions.fir.txt deleted file mode 100644 index 3ff820c74a9..00000000000 --- a/compiler/testData/ir/irText/expressions/signedToUnsignedConversions.fir.txt +++ /dev/null @@ -1,132 +0,0 @@ -FILE fqName:kotlin.internal fileName:/signedToUnsignedConversions_annotation.kt - CLASS ANNOTATION_CLASS name:ImplicitIntegerCoercion modality:FINAL visibility:public superTypes:[kotlin.Annotation] - $this: VALUE_PARAMETER INSTANCE_RECEIVER name: type:kotlin.internal.ImplicitIntegerCoercion - CONSTRUCTOR visibility:public <> () returnType:kotlin.internal.ImplicitIntegerCoercion [primary] - FUN FAKE_OVERRIDE name:equals visibility:public modality:OPEN <> ($this:kotlin.Any, other:kotlin.Any?) returnType:kotlin.Boolean [fake_override,operator] - overridden: - public open fun equals (other: kotlin.Any?): kotlin.Boolean [fake_override,operator] declared in kotlin.Annotation - $this: VALUE_PARAMETER name: type:kotlin.Any - VALUE_PARAMETER name:other index:0 type:kotlin.Any? - FUN FAKE_OVERRIDE name:hashCode visibility:public modality:OPEN <> ($this:kotlin.Any) returnType:kotlin.Int [fake_override] - overridden: - public open fun hashCode (): kotlin.Int [fake_override] declared in kotlin.Annotation - $this: VALUE_PARAMETER name: type:kotlin.Any - FUN FAKE_OVERRIDE name:toString visibility:public modality:OPEN <> ($this:kotlin.Any) returnType:kotlin.String [fake_override] - overridden: - public open fun toString (): kotlin.String [fake_override] declared in kotlin.Annotation - $this: VALUE_PARAMETER name: type:kotlin.Any -FILE fqName: fileName:/signedToUnsignedConversions_test.kt - PROPERTY name:IMPLICIT_INT visibility:public modality:FINAL [const,val] - annotations: - ImplicitIntegerCoercion - FIELD PROPERTY_BACKING_FIELD name:IMPLICIT_INT type:kotlin.Int visibility:public [final,static] - EXPRESSION_BODY - CONST Int type=kotlin.Int value=255 - FUN DEFAULT_PROPERTY_ACCESSOR name: visibility:public modality:FINAL <> () returnType:kotlin.Int - correspondingProperty: PROPERTY name:IMPLICIT_INT visibility:public modality:FINAL [const,val] - BLOCK_BODY - RETURN type=kotlin.Nothing from='public final fun (): kotlin.Int declared in ' - GET_FIELD 'FIELD PROPERTY_BACKING_FIELD name:IMPLICIT_INT type:kotlin.Int visibility:public [final,static]' type=kotlin.Int origin=null - PROPERTY name:EXPLICIT_INT visibility:public modality:FINAL [const,val] - annotations: - ImplicitIntegerCoercion - FIELD PROPERTY_BACKING_FIELD name:EXPLICIT_INT type:kotlin.Int visibility:public [final,static] - EXPRESSION_BODY - CONST Int type=kotlin.Int value=255 - FUN DEFAULT_PROPERTY_ACCESSOR name: visibility:public modality:FINAL <> () returnType:kotlin.Int - correspondingProperty: PROPERTY name:EXPLICIT_INT visibility:public modality:FINAL [const,val] - BLOCK_BODY - RETURN type=kotlin.Nothing from='public final fun (): kotlin.Int declared in ' - GET_FIELD 'FIELD PROPERTY_BACKING_FIELD name:EXPLICIT_INT type:kotlin.Int visibility:public [final,static]' type=kotlin.Int origin=null - PROPERTY name:LONG_CONST visibility:public modality:FINAL [const,val] - annotations: - ImplicitIntegerCoercion - FIELD PROPERTY_BACKING_FIELD name:LONG_CONST type:kotlin.Long visibility:public [final,static] - EXPRESSION_BODY - CONST Long type=kotlin.Long value=255 - FUN DEFAULT_PROPERTY_ACCESSOR name: visibility:public modality:FINAL <> () returnType:kotlin.Long - correspondingProperty: PROPERTY name:LONG_CONST visibility:public modality:FINAL [const,val] - BLOCK_BODY - RETURN type=kotlin.Nothing from='public final fun (): kotlin.Long declared in ' - GET_FIELD 'FIELD PROPERTY_BACKING_FIELD name:LONG_CONST type:kotlin.Long visibility:public [final,static]' type=kotlin.Long origin=null - PROPERTY name:NON_CONST visibility:public modality:FINAL [val] - annotations: - ImplicitIntegerCoercion - FIELD PROPERTY_BACKING_FIELD name:NON_CONST type:kotlin.Int visibility:private [final,static] - EXPRESSION_BODY - CONST Int type=kotlin.Int value=255 - FUN DEFAULT_PROPERTY_ACCESSOR name: visibility:public modality:FINAL <> () returnType:kotlin.Int - correspondingProperty: PROPERTY name:NON_CONST visibility:public modality:FINAL [val] - BLOCK_BODY - RETURN type=kotlin.Nothing from='public final fun (): kotlin.Int declared in ' - GET_FIELD 'FIELD PROPERTY_BACKING_FIELD name:NON_CONST type:kotlin.Int visibility:private [final,static]' type=kotlin.Int origin=null - PROPERTY name:BIGGER_THAN_UBYTE visibility:public modality:FINAL [const,val] - annotations: - ImplicitIntegerCoercion - FIELD PROPERTY_BACKING_FIELD name:BIGGER_THAN_UBYTE type:kotlin.Int visibility:public [final,static] - EXPRESSION_BODY - CONST Int type=kotlin.Int value=256 - FUN DEFAULT_PROPERTY_ACCESSOR name: visibility:public modality:FINAL <> () returnType:kotlin.Int - correspondingProperty: PROPERTY name:BIGGER_THAN_UBYTE visibility:public modality:FINAL [const,val] - BLOCK_BODY - RETURN type=kotlin.Nothing from='public final fun (): kotlin.Int declared in ' - GET_FIELD 'FIELD PROPERTY_BACKING_FIELD name:BIGGER_THAN_UBYTE type:kotlin.Int visibility:public [final,static]' type=kotlin.Int origin=null - PROPERTY name:UINT_CONST visibility:public modality:FINAL [const,val] - annotations: - ImplicitIntegerCoercion - FIELD PROPERTY_BACKING_FIELD name:UINT_CONST type:kotlin.UInt visibility:public [final,static] - EXPRESSION_BODY - CONST Int type=kotlin.UInt value=42 - FUN DEFAULT_PROPERTY_ACCESSOR name: visibility:public modality:FINAL <> () returnType:kotlin.UInt - correspondingProperty: PROPERTY name:UINT_CONST visibility:public modality:FINAL [const,val] - BLOCK_BODY - RETURN type=kotlin.Nothing from='public final fun (): kotlin.UInt declared in ' - GET_FIELD 'FIELD PROPERTY_BACKING_FIELD name:UINT_CONST type:kotlin.UInt visibility:public [final,static]' type=kotlin.UInt origin=null - FUN name:takeUByte visibility:public modality:FINAL <> (u:kotlin.UByte) returnType:kotlin.Unit - VALUE_PARAMETER name:u index:0 type:kotlin.UByte - annotations: - ImplicitIntegerCoercion - BLOCK_BODY - FUN name:takeUShort visibility:public modality:FINAL <> (u:kotlin.UShort) returnType:kotlin.Unit - VALUE_PARAMETER name:u index:0 type:kotlin.UShort - annotations: - ImplicitIntegerCoercion - BLOCK_BODY - FUN name:takeUInt visibility:public modality:FINAL <> (u:kotlin.UInt) returnType:kotlin.Unit - VALUE_PARAMETER name:u index:0 type:kotlin.UInt - annotations: - ImplicitIntegerCoercion - BLOCK_BODY - FUN name:takeULong visibility:public modality:FINAL <> (u:kotlin.ULong) returnType:kotlin.Unit - VALUE_PARAMETER name:u index:0 type:kotlin.ULong - annotations: - ImplicitIntegerCoercion - BLOCK_BODY - FUN name:takeUBytes visibility:public modality:FINAL <> (u:kotlin.UByteArray) returnType:kotlin.Unit - VALUE_PARAMETER name:u index:0 type:kotlin.UByteArray varargElementType:kotlin.UByte [vararg] - annotations: - ImplicitIntegerCoercion - BLOCK_BODY - FUN name:takeLong visibility:public modality:FINAL <> (l:kotlin.Long) returnType:kotlin.Unit - VALUE_PARAMETER name:l index:0 type:kotlin.Long - annotations: - ImplicitIntegerCoercion - BLOCK_BODY - FUN name:test visibility:public modality:FINAL <> () returnType:kotlin.Unit - BLOCK_BODY - ERROR_CALL 'Unresolved reference: #' type=kotlin.Unit - CONST Int type=kotlin.Int value=255 - ERROR_CALL 'Unresolved reference: #' type=kotlin.Unit - CONST Int type=kotlin.Int value=255 - ERROR_CALL 'Unresolved reference: #' type=kotlin.Unit - CONST Int type=kotlin.Int value=255 - ERROR_CALL 'Unresolved reference: #' type=kotlin.Unit - CONST Int type=kotlin.Int value=256 - ERROR_CALL 'Unresolved reference: #' type=kotlin.Unit - CONST Int type=kotlin.Int value=255 - ERROR_CALL 'Unresolved reference: #' type=kotlin.Unit - CONST Int type=kotlin.Int value=255 - ERROR_CALL 'Unresolved reference: #' type=kotlin.Unit - CONST Int type=kotlin.Int value=255 - CONST Int type=kotlin.Int value=255 - CONST Int type=kotlin.UInt value=42 diff --git a/compiler/testData/ir/irText/expressions/signedToUnsignedConversions.txt b/compiler/testData/ir/irText/expressions/signedToUnsignedConversions.ir.txt similarity index 100% rename from compiler/testData/ir/irText/expressions/signedToUnsignedConversions.txt rename to compiler/testData/ir/irText/expressions/signedToUnsignedConversions.ir.txt diff --git a/compiler/testData/ir/irText/expressions/simpleOperators.txt b/compiler/testData/ir/irText/expressions/simpleOperators.ir.txt similarity index 100% rename from compiler/testData/ir/irText/expressions/simpleOperators.txt rename to compiler/testData/ir/irText/expressions/simpleOperators.ir.txt diff --git a/compiler/testData/ir/irText/expressions/simpleOperators.kt.txt b/compiler/testData/ir/irText/expressions/simpleOperators.kt.txt index 9e80cfff977..99d1db7d1be 100644 --- a/compiler/testData/ir/irText/expressions/simpleOperators.kt.txt +++ b/compiler/testData/ir/irText/expressions/simpleOperators.kt.txt @@ -41,4 +41,3 @@ fun test4x(a: Int, b: Int): Int { fun test5x(a: Int, b: Int): Int { return a.rem(other = b) } - diff --git a/compiler/testData/ir/irText/expressions/simpleUnaryOperators.fir.txt b/compiler/testData/ir/irText/expressions/simpleUnaryOperators.fir.ir.txt similarity index 100% rename from compiler/testData/ir/irText/expressions/simpleUnaryOperators.fir.txt rename to compiler/testData/ir/irText/expressions/simpleUnaryOperators.fir.ir.txt diff --git a/compiler/testData/ir/irText/expressions/simpleUnaryOperators.txt b/compiler/testData/ir/irText/expressions/simpleUnaryOperators.ir.txt similarity index 100% rename from compiler/testData/ir/irText/expressions/simpleUnaryOperators.txt rename to compiler/testData/ir/irText/expressions/simpleUnaryOperators.ir.txt diff --git a/compiler/testData/ir/irText/expressions/simpleUnaryOperators.kt.txt b/compiler/testData/ir/irText/expressions/simpleUnaryOperators.kt.txt index c2b7bca047d..dd9a2cdcd72 100644 --- a/compiler/testData/ir/irText/expressions/simpleUnaryOperators.kt.txt +++ b/compiler/testData/ir/irText/expressions/simpleUnaryOperators.kt.txt @@ -21,4 +21,3 @@ fun test5(x: Boolean): Boolean { fun test6(): Boolean { return false } - diff --git a/compiler/testData/ir/irText/expressions/smartCasts.txt b/compiler/testData/ir/irText/expressions/smartCasts.ir.txt similarity index 100% rename from compiler/testData/ir/irText/expressions/smartCasts.txt rename to compiler/testData/ir/irText/expressions/smartCasts.ir.txt diff --git a/compiler/testData/ir/irText/expressions/smartCasts.kt.txt b/compiler/testData/ir/irText/expressions/smartCasts.kt.txt index 9de2088812f..46afd042311 100644 --- a/compiler/testData/ir/irText/expressions/smartCasts.kt.txt +++ b/compiler/testData/ir/irText/expressions/smartCasts.kt.txt @@ -35,4 +35,3 @@ fun test3(x: Any): String { } return x /*as String */ } - diff --git a/compiler/testData/ir/irText/expressions/smartCastsWithDestructuring.fir.txt b/compiler/testData/ir/irText/expressions/smartCastsWithDestructuring.fir.ir.txt similarity index 100% rename from compiler/testData/ir/irText/expressions/smartCastsWithDestructuring.fir.txt rename to compiler/testData/ir/irText/expressions/smartCastsWithDestructuring.fir.ir.txt diff --git a/compiler/testData/ir/irText/expressions/smartCastsWithDestructuring.txt b/compiler/testData/ir/irText/expressions/smartCastsWithDestructuring.ir.txt similarity index 100% rename from compiler/testData/ir/irText/expressions/smartCastsWithDestructuring.txt rename to compiler/testData/ir/irText/expressions/smartCastsWithDestructuring.ir.txt diff --git a/compiler/testData/ir/irText/expressions/smartCastsWithDestructuring.kt.txt b/compiler/testData/ir/irText/expressions/smartCastsWithDestructuring.kt.txt index 103d5468f2e..72da10ee35a 100644 --- a/compiler/testData/ir/irText/expressions/smartCastsWithDestructuring.kt.txt +++ b/compiler/testData/ir/irText/expressions/smartCastsWithDestructuring.kt.txt @@ -24,4 +24,3 @@ fun test(x: I1) { val c2: String = tmp0_container.component2() // } } - diff --git a/compiler/testData/ir/irText/expressions/specializedTypeAliasConstructorCall.fir.txt b/compiler/testData/ir/irText/expressions/specializedTypeAliasConstructorCall.fir.ir.txt similarity index 100% rename from compiler/testData/ir/irText/expressions/specializedTypeAliasConstructorCall.fir.txt rename to compiler/testData/ir/irText/expressions/specializedTypeAliasConstructorCall.fir.ir.txt diff --git a/compiler/testData/ir/irText/expressions/specializedTypeAliasConstructorCall.txt b/compiler/testData/ir/irText/expressions/specializedTypeAliasConstructorCall.ir.txt similarity index 100% rename from compiler/testData/ir/irText/expressions/specializedTypeAliasConstructorCall.txt rename to compiler/testData/ir/irText/expressions/specializedTypeAliasConstructorCall.ir.txt diff --git a/compiler/testData/ir/irText/expressions/specializedTypeAliasConstructorCall.kt.txt b/compiler/testData/ir/irText/expressions/specializedTypeAliasConstructorCall.kt.txt index 29a835a11f4..d355fdd2fd6 100644 --- a/compiler/testData/ir/irText/expressions/specializedTypeAliasConstructorCall.kt.txt +++ b/compiler/testData/ir/irText/expressions/specializedTypeAliasConstructorCall.kt.txt @@ -15,4 +15,3 @@ typealias IntAlias = Cell fun test(): Cell { return Cell(value = 42) } - diff --git a/compiler/testData/ir/irText/expressions/stringComparisons.fir.txt b/compiler/testData/ir/irText/expressions/stringComparisons.fir.ir.txt similarity index 100% rename from compiler/testData/ir/irText/expressions/stringComparisons.fir.txt rename to compiler/testData/ir/irText/expressions/stringComparisons.fir.ir.txt diff --git a/compiler/testData/ir/irText/expressions/stringComparisons.txt b/compiler/testData/ir/irText/expressions/stringComparisons.ir.txt similarity index 100% rename from compiler/testData/ir/irText/expressions/stringComparisons.txt rename to compiler/testData/ir/irText/expressions/stringComparisons.ir.txt diff --git a/compiler/testData/ir/irText/expressions/stringComparisons.kt.txt b/compiler/testData/ir/irText/expressions/stringComparisons.kt.txt index 6096c5b759b..b0e6c856350 100644 --- a/compiler/testData/ir/irText/expressions/stringComparisons.kt.txt +++ b/compiler/testData/ir/irText/expressions/stringComparisons.kt.txt @@ -13,4 +13,3 @@ fun test3(a: String, b: String): Boolean { fun test4(a: String, b: String): Boolean { return lessOrEqual(arg0 = a.compareTo(other = b), arg1 = 0) } - diff --git a/compiler/testData/ir/irText/expressions/stringPlus.txt b/compiler/testData/ir/irText/expressions/stringPlus.ir.txt similarity index 100% rename from compiler/testData/ir/irText/expressions/stringPlus.txt rename to compiler/testData/ir/irText/expressions/stringPlus.ir.txt diff --git a/compiler/testData/ir/irText/expressions/stringPlus.kt.txt b/compiler/testData/ir/irText/expressions/stringPlus.kt.txt index fbdd34bca55..0c54d82a411 100644 --- a/compiler/testData/ir/irText/expressions/stringPlus.kt.txt +++ b/compiler/testData/ir/irText/expressions/stringPlus.kt.txt @@ -9,4 +9,3 @@ fun test2(a: String, b: Int): String { fun test3(a: String, b: Int): String { return a.plus(other = "+").plus(other = b.plus(other = 1)).plus(other = a) } - diff --git a/compiler/testData/ir/irText/expressions/stringTemplates.txt b/compiler/testData/ir/irText/expressions/stringTemplates.ir.txt similarity index 100% rename from compiler/testData/ir/irText/expressions/stringTemplates.txt rename to compiler/testData/ir/irText/expressions/stringTemplates.ir.txt diff --git a/compiler/testData/ir/irText/expressions/stringTemplates.kt.txt b/compiler/testData/ir/irText/expressions/stringTemplates.kt.txt index a33e42997c2..a43bdeb5208 100644 --- a/compiler/testData/ir/irText/expressions/stringTemplates.kt.txt +++ b/compiler/testData/ir/irText/expressions/stringTemplates.kt.txt @@ -41,4 +41,3 @@ val test8: String val test9: String field = () get - diff --git a/compiler/testData/ir/irText/expressions/suspendConversionInVararg.fir.txt b/compiler/testData/ir/irText/expressions/suspendConversionInVararg.fir.ir.txt similarity index 100% rename from compiler/testData/ir/irText/expressions/suspendConversionInVararg.fir.txt rename to compiler/testData/ir/irText/expressions/suspendConversionInVararg.fir.ir.txt diff --git a/compiler/testData/ir/irText/expressions/suspendConversionInVararg.txt b/compiler/testData/ir/irText/expressions/suspendConversionInVararg.ir.txt similarity index 100% rename from compiler/testData/ir/irText/expressions/suspendConversionInVararg.txt rename to compiler/testData/ir/irText/expressions/suspendConversionInVararg.ir.txt diff --git a/compiler/testData/ir/irText/expressions/suspendConversionOnArbitraryExpression.fir.txt b/compiler/testData/ir/irText/expressions/suspendConversionOnArbitraryExpression.fir.ir.txt similarity index 100% rename from compiler/testData/ir/irText/expressions/suspendConversionOnArbitraryExpression.fir.txt rename to compiler/testData/ir/irText/expressions/suspendConversionOnArbitraryExpression.fir.ir.txt diff --git a/compiler/testData/ir/irText/expressions/suspendConversionOnArbitraryExpression.txt b/compiler/testData/ir/irText/expressions/suspendConversionOnArbitraryExpression.ir.txt similarity index 100% rename from compiler/testData/ir/irText/expressions/suspendConversionOnArbitraryExpression.txt rename to compiler/testData/ir/irText/expressions/suspendConversionOnArbitraryExpression.ir.txt diff --git a/compiler/testData/ir/irText/expressions/suspendConversionOnArbitraryExpression.kt.txt b/compiler/testData/ir/irText/expressions/suspendConversionOnArbitraryExpression.kt.txt index 41ae8a9e89d..2764c6b660c 100644 --- a/compiler/testData/ir/irText/expressions/suspendConversionOnArbitraryExpression.kt.txt +++ b/compiler/testData/ir/irText/expressions/suspendConversionOnArbitraryExpression.kt.txt @@ -187,4 +187,3 @@ fun testSmartCastOnVarVsSuspendConversion(a: Function0) { fun testIntersectionVsSuspendConversion(x: T) where T : Function0, T : SuspendFunction0 { useSuspend(sfn = x) } - diff --git a/compiler/testData/ir/irText/expressions/suspendConversionWithFunInterfaces.fir.txt b/compiler/testData/ir/irText/expressions/suspendConversionWithFunInterfaces.fir.ir.txt similarity index 100% rename from compiler/testData/ir/irText/expressions/suspendConversionWithFunInterfaces.fir.txt rename to compiler/testData/ir/irText/expressions/suspendConversionWithFunInterfaces.fir.ir.txt diff --git a/compiler/testData/ir/irText/expressions/suspendConversionWithFunInterfaces.txt b/compiler/testData/ir/irText/expressions/suspendConversionWithFunInterfaces.ir.txt similarity index 100% rename from compiler/testData/ir/irText/expressions/suspendConversionWithFunInterfaces.txt rename to compiler/testData/ir/irText/expressions/suspendConversionWithFunInterfaces.ir.txt diff --git a/compiler/testData/ir/irText/expressions/temporaryInEnumEntryInitializer.fir.txt b/compiler/testData/ir/irText/expressions/temporaryInEnumEntryInitializer.fir.ir.txt similarity index 100% rename from compiler/testData/ir/irText/expressions/temporaryInEnumEntryInitializer.fir.txt rename to compiler/testData/ir/irText/expressions/temporaryInEnumEntryInitializer.fir.ir.txt diff --git a/compiler/testData/ir/irText/expressions/temporaryInEnumEntryInitializer.txt b/compiler/testData/ir/irText/expressions/temporaryInEnumEntryInitializer.ir.txt similarity index 100% rename from compiler/testData/ir/irText/expressions/temporaryInEnumEntryInitializer.txt rename to compiler/testData/ir/irText/expressions/temporaryInEnumEntryInitializer.ir.txt diff --git a/compiler/testData/ir/irText/expressions/temporaryInEnumEntryInitializer.kt.txt b/compiler/testData/ir/irText/expressions/temporaryInEnumEntryInitializer.kt.txt index 42dcdab5985..55a5687d4bb 100644 --- a/compiler/testData/ir/irText/expressions/temporaryInEnumEntryInitializer.kt.txt +++ b/compiler/testData/ir/irText/expressions/temporaryInEnumEntryInitializer.kt.txt @@ -26,4 +26,3 @@ enum class En : Enum { fun valueOf(value: String): En /* Synthetic body for ENUM_VALUEOF */ } - diff --git a/compiler/testData/ir/irText/expressions/temporaryInInitBlock.txt b/compiler/testData/ir/irText/expressions/temporaryInInitBlock.ir.txt similarity index 100% rename from compiler/testData/ir/irText/expressions/temporaryInInitBlock.txt rename to compiler/testData/ir/irText/expressions/temporaryInInitBlock.ir.txt diff --git a/compiler/testData/ir/irText/expressions/thisOfGenericOuterClass.fir.txt b/compiler/testData/ir/irText/expressions/thisOfGenericOuterClass.fir.ir.txt similarity index 100% rename from compiler/testData/ir/irText/expressions/thisOfGenericOuterClass.fir.txt rename to compiler/testData/ir/irText/expressions/thisOfGenericOuterClass.fir.ir.txt diff --git a/compiler/testData/ir/irText/expressions/thisOfGenericOuterClass.txt b/compiler/testData/ir/irText/expressions/thisOfGenericOuterClass.ir.txt similarity index 100% rename from compiler/testData/ir/irText/expressions/thisOfGenericOuterClass.txt rename to compiler/testData/ir/irText/expressions/thisOfGenericOuterClass.ir.txt diff --git a/compiler/testData/ir/irText/expressions/thisOfGenericOuterClass.kt.txt b/compiler/testData/ir/irText/expressions/thisOfGenericOuterClass.kt.txt index 73718400f8e..767928e903f 100644 --- a/compiler/testData/ir/irText/expressions/thisOfGenericOuterClass.kt.txt +++ b/compiler/testData/ir/irText/expressions/thisOfGenericOuterClass.kt.txt @@ -42,4 +42,3 @@ fun Outer.test(): Inner { () } } - diff --git a/compiler/testData/ir/irText/expressions/thisRefToObjectInNestedClassConstructorCall.txt b/compiler/testData/ir/irText/expressions/thisRefToObjectInNestedClassConstructorCall.ir.txt similarity index 100% rename from compiler/testData/ir/irText/expressions/thisRefToObjectInNestedClassConstructorCall.txt rename to compiler/testData/ir/irText/expressions/thisRefToObjectInNestedClassConstructorCall.ir.txt diff --git a/compiler/testData/ir/irText/expressions/thisRefToObjectInNestedClassConstructorCall.kt.txt b/compiler/testData/ir/irText/expressions/thisRefToObjectInNestedClassConstructorCall.kt.txt index 7591fb8ddf8..17c69ed7c75 100644 --- a/compiler/testData/ir/irText/expressions/thisRefToObjectInNestedClassConstructorCall.kt.txt +++ b/compiler/testData/ir/irText/expressions/thisRefToObjectInNestedClassConstructorCall.kt.txt @@ -37,4 +37,3 @@ object Host { } } - diff --git a/compiler/testData/ir/irText/expressions/thisReferenceBeforeClassDeclared.fir.txt b/compiler/testData/ir/irText/expressions/thisReferenceBeforeClassDeclared.fir.ir.txt similarity index 100% rename from compiler/testData/ir/irText/expressions/thisReferenceBeforeClassDeclared.fir.txt rename to compiler/testData/ir/irText/expressions/thisReferenceBeforeClassDeclared.fir.ir.txt diff --git a/compiler/testData/ir/irText/expressions/thisReferenceBeforeClassDeclared.txt b/compiler/testData/ir/irText/expressions/thisReferenceBeforeClassDeclared.ir.txt similarity index 100% rename from compiler/testData/ir/irText/expressions/thisReferenceBeforeClassDeclared.txt rename to compiler/testData/ir/irText/expressions/thisReferenceBeforeClassDeclared.ir.txt diff --git a/compiler/testData/ir/irText/expressions/thisReferenceBeforeClassDeclared.kt.txt b/compiler/testData/ir/irText/expressions/thisReferenceBeforeClassDeclared.kt.txt index cdc21d497b3..d71c2556819 100644 --- a/compiler/testData/ir/irText/expressions/thisReferenceBeforeClassDeclared.kt.txt +++ b/compiler/testData/ir/irText/expressions/thisReferenceBeforeClassDeclared.kt.txt @@ -46,4 +46,3 @@ open class WithCompanion { } } - diff --git a/compiler/testData/ir/irText/expressions/throw.fir.txt b/compiler/testData/ir/irText/expressions/throw.fir.ir.txt similarity index 100% rename from compiler/testData/ir/irText/expressions/throw.fir.txt rename to compiler/testData/ir/irText/expressions/throw.fir.ir.txt diff --git a/compiler/testData/ir/irText/expressions/throw.txt b/compiler/testData/ir/irText/expressions/throw.ir.txt similarity index 100% rename from compiler/testData/ir/irText/expressions/throw.txt rename to compiler/testData/ir/irText/expressions/throw.ir.txt diff --git a/compiler/testData/ir/irText/expressions/throw.kt.txt b/compiler/testData/ir/irText/expressions/throw.kt.txt index e80fdc7a1f5..0ac9035c315 100644 --- a/compiler/testData/ir/irText/expressions/throw.kt.txt +++ b/compiler/testData/ir/irText/expressions/throw.kt.txt @@ -9,4 +9,3 @@ fun testImplicitCast(a: Any) { } } } - diff --git a/compiler/testData/ir/irText/expressions/tryCatch.fir.txt b/compiler/testData/ir/irText/expressions/tryCatch.fir.ir.txt similarity index 100% rename from compiler/testData/ir/irText/expressions/tryCatch.fir.txt rename to compiler/testData/ir/irText/expressions/tryCatch.fir.ir.txt diff --git a/compiler/testData/ir/irText/expressions/tryCatch.txt b/compiler/testData/ir/irText/expressions/tryCatch.ir.txt similarity index 100% rename from compiler/testData/ir/irText/expressions/tryCatch.txt rename to compiler/testData/ir/irText/expressions/tryCatch.ir.txt diff --git a/compiler/testData/ir/irText/expressions/tryCatch.kt.txt b/compiler/testData/ir/irText/expressions/tryCatch.kt.txt index f66eb6cccc3..b596fc6dbec 100644 --- a/compiler/testData/ir/irText/expressions/tryCatch.kt.txt +++ b/compiler/testData/ir/irText/expressions/tryCatch.kt.txt @@ -24,4 +24,3 @@ fun test2(): Int { 555 /*~> Unit */ } } - diff --git a/compiler/testData/ir/irText/expressions/tryCatchWithImplicitCast.fir.txt b/compiler/testData/ir/irText/expressions/tryCatchWithImplicitCast.fir.ir.txt similarity index 100% rename from compiler/testData/ir/irText/expressions/tryCatchWithImplicitCast.fir.txt rename to compiler/testData/ir/irText/expressions/tryCatchWithImplicitCast.fir.ir.txt diff --git a/compiler/testData/ir/irText/expressions/tryCatchWithImplicitCast.txt b/compiler/testData/ir/irText/expressions/tryCatchWithImplicitCast.ir.txt similarity index 100% rename from compiler/testData/ir/irText/expressions/tryCatchWithImplicitCast.txt rename to compiler/testData/ir/irText/expressions/tryCatchWithImplicitCast.ir.txt diff --git a/compiler/testData/ir/irText/expressions/tryCatchWithImplicitCast.kt.txt b/compiler/testData/ir/irText/expressions/tryCatchWithImplicitCast.kt.txt index 23eba47d908..afa4c169ee5 100644 --- a/compiler/testData/ir/irText/expressions/tryCatchWithImplicitCast.kt.txt +++ b/compiler/testData/ir/irText/expressions/tryCatchWithImplicitCast.kt.txt @@ -10,4 +10,3 @@ fun testImplicitCast(a: Any) { } } - diff --git a/compiler/testData/ir/irText/expressions/typeAliasConstructorReference.fir.txt b/compiler/testData/ir/irText/expressions/typeAliasConstructorReference.fir.ir.txt similarity index 100% rename from compiler/testData/ir/irText/expressions/typeAliasConstructorReference.fir.txt rename to compiler/testData/ir/irText/expressions/typeAliasConstructorReference.fir.ir.txt diff --git a/compiler/testData/ir/irText/expressions/typeAliasConstructorReference.txt b/compiler/testData/ir/irText/expressions/typeAliasConstructorReference.ir.txt similarity index 100% rename from compiler/testData/ir/irText/expressions/typeAliasConstructorReference.txt rename to compiler/testData/ir/irText/expressions/typeAliasConstructorReference.ir.txt diff --git a/compiler/testData/ir/irText/expressions/typeAliasConstructorReference.kt.txt b/compiler/testData/ir/irText/expressions/typeAliasConstructorReference.kt.txt index 8612cdef373..b73db21ba5a 100644 --- a/compiler/testData/ir/irText/expressions/typeAliasConstructorReference.kt.txt +++ b/compiler/testData/ir/irText/expressions/typeAliasConstructorReference.kt.txt @@ -34,4 +34,3 @@ val test1: Function1 val test2: Function1 field = Nested:: get - diff --git a/compiler/testData/ir/irText/expressions/typeArguments.txt b/compiler/testData/ir/irText/expressions/typeArguments.ir.txt similarity index 100% rename from compiler/testData/ir/irText/expressions/typeArguments.txt rename to compiler/testData/ir/irText/expressions/typeArguments.ir.txt diff --git a/compiler/testData/ir/irText/expressions/typeArguments.kt.txt b/compiler/testData/ir/irText/expressions/typeArguments.kt.txt index 7f0ca45762e..0d647c4ec34 100644 --- a/compiler/testData/ir/irText/expressions/typeArguments.kt.txt +++ b/compiler/testData/ir/irText/expressions/typeArguments.kt.txt @@ -4,4 +4,3 @@ fun test1(x: Any): Boolean { else -> false } } - diff --git a/compiler/testData/ir/irText/expressions/typeOperators.txt b/compiler/testData/ir/irText/expressions/typeOperators.ir.txt similarity index 100% rename from compiler/testData/ir/irText/expressions/typeOperators.txt rename to compiler/testData/ir/irText/expressions/typeOperators.ir.txt diff --git a/compiler/testData/ir/irText/expressions/typeOperators.kt.txt b/compiler/testData/ir/irText/expressions/typeOperators.kt.txt index d6a07a733a4..8eabd35e681 100644 --- a/compiler/testData/ir/irText/expressions/typeOperators.kt.txt +++ b/compiler/testData/ir/irText/expressions/typeOperators.kt.txt @@ -17,4 +17,3 @@ fun test3(x: Any): IThing { fun test4(x: Any): IThing? { return x as? IThing } - diff --git a/compiler/testData/ir/irText/expressions/typeParameterClassLiteral.txt b/compiler/testData/ir/irText/expressions/typeParameterClassLiteral.ir.txt similarity index 100% rename from compiler/testData/ir/irText/expressions/typeParameterClassLiteral.txt rename to compiler/testData/ir/irText/expressions/typeParameterClassLiteral.ir.txt diff --git a/compiler/testData/ir/irText/expressions/typeParameterClassLiteral.kt.txt b/compiler/testData/ir/irText/expressions/typeParameterClassLiteral.kt.txt index b60a2348d72..027260d6006 100644 --- a/compiler/testData/ir/irText/expressions/typeParameterClassLiteral.kt.txt +++ b/compiler/testData/ir/irText/expressions/typeParameterClassLiteral.kt.txt @@ -32,4 +32,3 @@ class Host { } } - diff --git a/compiler/testData/ir/irText/expressions/unsignedIntegerLiterals.txt b/compiler/testData/ir/irText/expressions/unsignedIntegerLiterals.ir.txt similarity index 100% rename from compiler/testData/ir/irText/expressions/unsignedIntegerLiterals.txt rename to compiler/testData/ir/irText/expressions/unsignedIntegerLiterals.ir.txt diff --git a/compiler/testData/ir/irText/expressions/unsignedIntegerLiterals.kt.txt b/compiler/testData/ir/irText/expressions/unsignedIntegerLiterals.kt.txt index 8972b17eadd..12952a2c6c8 100644 --- a/compiler/testData/ir/irText/expressions/unsignedIntegerLiterals.kt.txt +++ b/compiler/testData/ir/irText/expressions/unsignedIntegerLiterals.kt.txt @@ -37,4 +37,3 @@ val testToUInt: UInt val testToULong: ULong field = 1.toULong() get - diff --git a/compiler/testData/ir/irText/expressions/useImportedMember.fir.txt b/compiler/testData/ir/irText/expressions/useImportedMember.fir.ir.txt similarity index 100% rename from compiler/testData/ir/irText/expressions/useImportedMember.fir.txt rename to compiler/testData/ir/irText/expressions/useImportedMember.fir.ir.txt diff --git a/compiler/testData/ir/irText/expressions/useImportedMember.txt b/compiler/testData/ir/irText/expressions/useImportedMember.ir.txt similarity index 100% rename from compiler/testData/ir/irText/expressions/useImportedMember.txt rename to compiler/testData/ir/irText/expressions/useImportedMember.ir.txt diff --git a/compiler/testData/ir/irText/expressions/useImportedMember.kt.txt b/compiler/testData/ir/irText/expressions/useImportedMember.kt.txt index cfa75e89d95..987ce65d2a2 100644 --- a/compiler/testData/ir/irText/expressions/useImportedMember.kt.txt +++ b/compiler/testData/ir/irText/expressions/useImportedMember.kt.txt @@ -100,4 +100,3 @@ fun box(): String { } return "OK" } - diff --git a/compiler/testData/ir/irText/expressions/values.fir.txt b/compiler/testData/ir/irText/expressions/values.fir.ir.txt similarity index 100% rename from compiler/testData/ir/irText/expressions/values.fir.txt rename to compiler/testData/ir/irText/expressions/values.fir.ir.txt diff --git a/compiler/testData/ir/irText/expressions/values.txt b/compiler/testData/ir/irText/expressions/values.ir.txt similarity index 100% rename from compiler/testData/ir/irText/expressions/values.txt rename to compiler/testData/ir/irText/expressions/values.ir.txt diff --git a/compiler/testData/ir/irText/expressions/values.kt.txt b/compiler/testData/ir/irText/expressions/values.kt.txt index 6eb9e198069..0466612fce3 100644 --- a/compiler/testData/ir/irText/expressions/values.kt.txt +++ b/compiler/testData/ir/irText/expressions/values.kt.txt @@ -59,4 +59,3 @@ fun test3(): Int { fun test4(): Companion { return Companion } - diff --git a/compiler/testData/ir/irText/expressions/vararg.txt b/compiler/testData/ir/irText/expressions/vararg.ir.txt similarity index 100% rename from compiler/testData/ir/irText/expressions/vararg.txt rename to compiler/testData/ir/irText/expressions/vararg.ir.txt diff --git a/compiler/testData/ir/irText/expressions/vararg.kt.txt b/compiler/testData/ir/irText/expressions/vararg.kt.txt index 8b80161b75d..18be8e2380b 100644 --- a/compiler/testData/ir/irText/expressions/vararg.kt.txt +++ b/compiler/testData/ir/irText/expressions/vararg.kt.txt @@ -9,4 +9,3 @@ val test2: Array val test3: Array field = arrayOf(elements = ["0", *(), *(), "4"]) get - diff --git a/compiler/testData/ir/irText/expressions/varargWithImplicitCast.txt b/compiler/testData/ir/irText/expressions/varargWithImplicitCast.ir.txt similarity index 100% rename from compiler/testData/ir/irText/expressions/varargWithImplicitCast.txt rename to compiler/testData/ir/irText/expressions/varargWithImplicitCast.ir.txt diff --git a/compiler/testData/ir/irText/expressions/varargWithImplicitCast.kt.txt b/compiler/testData/ir/irText/expressions/varargWithImplicitCast.kt.txt index 0890435cbdd..5bfc4492102 100644 --- a/compiler/testData/ir/irText/expressions/varargWithImplicitCast.kt.txt +++ b/compiler/testData/ir/irText/expressions/varargWithImplicitCast.kt.txt @@ -11,4 +11,3 @@ fun testSpread(a: Any): IntArray { } return intArrayOf(elements = [*a /*as IntArray */]) } - diff --git a/compiler/testData/ir/irText/expressions/variableAsFunctionCall.fir.txt b/compiler/testData/ir/irText/expressions/variableAsFunctionCall.fir.ir.txt similarity index 100% rename from compiler/testData/ir/irText/expressions/variableAsFunctionCall.fir.txt rename to compiler/testData/ir/irText/expressions/variableAsFunctionCall.fir.ir.txt diff --git a/compiler/testData/ir/irText/expressions/variableAsFunctionCall.txt b/compiler/testData/ir/irText/expressions/variableAsFunctionCall.ir.txt similarity index 100% rename from compiler/testData/ir/irText/expressions/variableAsFunctionCall.txt rename to compiler/testData/ir/irText/expressions/variableAsFunctionCall.ir.txt diff --git a/compiler/testData/ir/irText/expressions/variableAsFunctionCall.kt.txt b/compiler/testData/ir/irText/expressions/variableAsFunctionCall.kt.txt index 84796b744e3..d26d3800122 100644 --- a/compiler/testData/ir/irText/expressions/variableAsFunctionCall.kt.txt +++ b/compiler/testData/ir/irText/expressions/variableAsFunctionCall.kt.txt @@ -32,4 +32,3 @@ fun test4(ns: String?): String? { } } } - diff --git a/compiler/testData/ir/irText/expressions/variableAsFunctionCallWithGenerics.fir.txt b/compiler/testData/ir/irText/expressions/variableAsFunctionCallWithGenerics.fir.ir.txt similarity index 100% rename from compiler/testData/ir/irText/expressions/variableAsFunctionCallWithGenerics.fir.txt rename to compiler/testData/ir/irText/expressions/variableAsFunctionCallWithGenerics.fir.ir.txt diff --git a/compiler/testData/ir/irText/expressions/variableAsFunctionCallWithGenerics.txt b/compiler/testData/ir/irText/expressions/variableAsFunctionCallWithGenerics.ir.txt similarity index 100% rename from compiler/testData/ir/irText/expressions/variableAsFunctionCallWithGenerics.txt rename to compiler/testData/ir/irText/expressions/variableAsFunctionCallWithGenerics.ir.txt diff --git a/compiler/testData/ir/irText/expressions/variableAsFunctionCallWithGenerics.kt.txt b/compiler/testData/ir/irText/expressions/variableAsFunctionCallWithGenerics.kt.txt index 3b4191fd644..aeb0d4a67d0 100644 --- a/compiler/testData/ir/irText/expressions/variableAsFunctionCallWithGenerics.kt.txt +++ b/compiler/testData/ir/irText/expressions/variableAsFunctionCallWithGenerics.kt.txt @@ -21,4 +21,3 @@ val T.kt26531Val: Function0 fun kt26531(): Int { return 7.().invoke() } - diff --git a/compiler/testData/ir/irText/expressions/when.fir.txt b/compiler/testData/ir/irText/expressions/when.fir.ir.txt similarity index 100% rename from compiler/testData/ir/irText/expressions/when.fir.txt rename to compiler/testData/ir/irText/expressions/when.fir.ir.txt diff --git a/compiler/testData/ir/irText/expressions/when.txt b/compiler/testData/ir/irText/expressions/when.ir.txt similarity index 100% rename from compiler/testData/ir/irText/expressions/when.txt rename to compiler/testData/ir/irText/expressions/when.ir.txt diff --git a/compiler/testData/ir/irText/expressions/when.kt.txt b/compiler/testData/ir/irText/expressions/when.kt.txt index d3392b1d9a7..f3561fe1c5f 100644 --- a/compiler/testData/ir/irText/expressions/when.kt.txt +++ b/compiler/testData/ir/irText/expressions/when.kt.txt @@ -61,4 +61,3 @@ fun testComma(x: Int): String { } } } - diff --git a/compiler/testData/ir/irText/expressions/whenCoercedToUnit.txt b/compiler/testData/ir/irText/expressions/whenCoercedToUnit.ir.txt similarity index 100% rename from compiler/testData/ir/irText/expressions/whenCoercedToUnit.txt rename to compiler/testData/ir/irText/expressions/whenCoercedToUnit.ir.txt diff --git a/compiler/testData/ir/irText/expressions/whenCoercedToUnit.kt.txt b/compiler/testData/ir/irText/expressions/whenCoercedToUnit.kt.txt index efb76684766..46dace829ab 100644 --- a/compiler/testData/ir/irText/expressions/whenCoercedToUnit.kt.txt +++ b/compiler/testData/ir/irText/expressions/whenCoercedToUnit.kt.txt @@ -6,4 +6,3 @@ fun foo(x: Int) { } } } - diff --git a/compiler/testData/ir/irText/expressions/whenElse.txt b/compiler/testData/ir/irText/expressions/whenElse.ir.txt similarity index 100% rename from compiler/testData/ir/irText/expressions/whenElse.txt rename to compiler/testData/ir/irText/expressions/whenElse.ir.txt diff --git a/compiler/testData/ir/irText/expressions/whenElse.kt.txt b/compiler/testData/ir/irText/expressions/whenElse.kt.txt index 2d37664c6e7..85e496d0a60 100644 --- a/compiler/testData/ir/irText/expressions/whenElse.kt.txt +++ b/compiler/testData/ir/irText/expressions/whenElse.kt.txt @@ -3,4 +3,3 @@ fun test(): Int { else -> 42 } } - diff --git a/compiler/testData/ir/irText/expressions/whenReturn.fir.txt b/compiler/testData/ir/irText/expressions/whenReturn.fir.ir.txt similarity index 100% rename from compiler/testData/ir/irText/expressions/whenReturn.fir.txt rename to compiler/testData/ir/irText/expressions/whenReturn.fir.ir.txt diff --git a/compiler/testData/ir/irText/expressions/whenReturn.txt b/compiler/testData/ir/irText/expressions/whenReturn.ir.txt similarity index 100% rename from compiler/testData/ir/irText/expressions/whenReturn.txt rename to compiler/testData/ir/irText/expressions/whenReturn.ir.txt diff --git a/compiler/testData/ir/irText/expressions/whenReturn.kt.txt b/compiler/testData/ir/irText/expressions/whenReturn.kt.txt index f3bd619b616..bd39afe8f55 100644 --- a/compiler/testData/ir/irText/expressions/whenReturn.kt.txt +++ b/compiler/testData/ir/irText/expressions/whenReturn.kt.txt @@ -11,4 +11,3 @@ fun toString(grade: String): String { } return "???" } - diff --git a/compiler/testData/ir/irText/expressions/whenReturnUnit.txt b/compiler/testData/ir/irText/expressions/whenReturnUnit.ir.txt similarity index 100% rename from compiler/testData/ir/irText/expressions/whenReturnUnit.txt rename to compiler/testData/ir/irText/expressions/whenReturnUnit.ir.txt diff --git a/compiler/testData/ir/irText/expressions/whenReturnUnit.kt.txt b/compiler/testData/ir/irText/expressions/whenReturnUnit.kt.txt index 1875ccf2e52..ec1605a1ad1 100644 --- a/compiler/testData/ir/irText/expressions/whenReturnUnit.kt.txt +++ b/compiler/testData/ir/irText/expressions/whenReturnUnit.kt.txt @@ -13,4 +13,3 @@ fun branch(x: Int) { } ) } - diff --git a/compiler/testData/ir/irText/expressions/whenSmartCastToEnum.fir.txt b/compiler/testData/ir/irText/expressions/whenSmartCastToEnum.fir.ir.txt similarity index 100% rename from compiler/testData/ir/irText/expressions/whenSmartCastToEnum.fir.txt rename to compiler/testData/ir/irText/expressions/whenSmartCastToEnum.fir.ir.txt diff --git a/compiler/testData/ir/irText/expressions/whenSmartCastToEnum.txt b/compiler/testData/ir/irText/expressions/whenSmartCastToEnum.ir.txt similarity index 100% rename from compiler/testData/ir/irText/expressions/whenSmartCastToEnum.txt rename to compiler/testData/ir/irText/expressions/whenSmartCastToEnum.ir.txt diff --git a/compiler/testData/ir/irText/expressions/whenUnusedExpression.fir.txt b/compiler/testData/ir/irText/expressions/whenUnusedExpression.fir.ir.txt similarity index 100% rename from compiler/testData/ir/irText/expressions/whenUnusedExpression.fir.txt rename to compiler/testData/ir/irText/expressions/whenUnusedExpression.fir.ir.txt diff --git a/compiler/testData/ir/irText/expressions/whenUnusedExpression.txt b/compiler/testData/ir/irText/expressions/whenUnusedExpression.ir.txt similarity index 100% rename from compiler/testData/ir/irText/expressions/whenUnusedExpression.txt rename to compiler/testData/ir/irText/expressions/whenUnusedExpression.ir.txt diff --git a/compiler/testData/ir/irText/expressions/whenUnusedExpression.kt.txt b/compiler/testData/ir/irText/expressions/whenUnusedExpression.kt.txt index 99c28cbe7b8..8a91677e857 100644 --- a/compiler/testData/ir/irText/expressions/whenUnusedExpression.kt.txt +++ b/compiler/testData/ir/irText/expressions/whenUnusedExpression.kt.txt @@ -12,4 +12,3 @@ fun test(b: Boolean, i: Int) { else -> null /*~> Unit */ } } - diff --git a/compiler/testData/ir/irText/expressions/whenWithSubjectVariable.fir.kt.txt b/compiler/testData/ir/irText/expressions/whenWithSubjectVariable.fir.kt.txt deleted file mode 100644 index 039a6f4f044..00000000000 --- a/compiler/testData/ir/irText/expressions/whenWithSubjectVariable.fir.kt.txt +++ /dev/null @@ -1,18 +0,0 @@ -fun foo(): Any { - return 1 -} - -fun test(): Int { - return { // BLOCK - val y: Any = foo() - when { - EQEQ(arg0 = y, arg1 = 42) -> 1 - y is String -> y /*as String */.() - y !is Int -> 2 - error("") /* ErrorCallExpression */y; -> 3 - error("") /* ErrorCallExpression */y; .not() -> 4 - else -> -1 - } - } -} - diff --git a/compiler/testData/ir/irText/expressions/whenWithSubjectVariable.fir.txt b/compiler/testData/ir/irText/expressions/whenWithSubjectVariable.fir.txt deleted file mode 100644 index bc95af7482d..00000000000 --- a/compiler/testData/ir/irText/expressions/whenWithSubjectVariable.fir.txt +++ /dev/null @@ -1,39 +0,0 @@ -FILE fqName: fileName:/whenWithSubjectVariable.kt - FUN name:foo visibility:public modality:FINAL <> () returnType:kotlin.Any - BLOCK_BODY - RETURN type=kotlin.Nothing from='public final fun foo (): kotlin.Any declared in ' - CONST Int type=kotlin.Int value=1 - FUN name:test visibility:public modality:FINAL <> () returnType:kotlin.Int - BLOCK_BODY - RETURN type=kotlin.Nothing from='public final fun test (): kotlin.Int declared in ' - BLOCK type=kotlin.Int origin=WHEN - VAR name:y type:kotlin.Any [val] - CALL 'public final fun foo (): kotlin.Any declared in ' type=kotlin.Any origin=null - WHEN type=kotlin.Int origin=WHEN - BRANCH - if: CALL 'public final fun EQEQ (arg0: kotlin.Any?, arg1: kotlin.Any?): kotlin.Boolean declared in kotlin.internal.ir' type=kotlin.Boolean origin=EQEQ - arg0: GET_VAR 'val y: kotlin.Any [val] declared in .test' type=kotlin.Any origin=null - arg1: CONST Int type=kotlin.Int value=42 - then: CONST Int type=kotlin.Int value=1 - BRANCH - if: TYPE_OP type=kotlin.Boolean origin=INSTANCEOF typeOperand=kotlin.String - GET_VAR 'val y: kotlin.Any [val] declared in .test' type=kotlin.Any origin=null - then: CALL 'public open fun (): kotlin.Int declared in kotlin.String' type=kotlin.Int origin=GET_PROPERTY - $this: TYPE_OP type=kotlin.String origin=IMPLICIT_CAST typeOperand=kotlin.String - GET_VAR 'val y: kotlin.Any [val] declared in .test' type=kotlin.Any origin=null - BRANCH - if: TYPE_OP type=kotlin.Boolean origin=NOT_INSTANCEOF typeOperand=kotlin.Int - GET_VAR 'val y: kotlin.Any [val] declared in .test' type=kotlin.Any origin=null - then: CONST Int type=kotlin.Int value=2 - BRANCH - if: ERROR_CALL 'Unresolved reference: #' type=kotlin.Boolean - GET_VAR 'val y: kotlin.Any [val] declared in .test' type=kotlin.Any origin=null - then: CONST Int type=kotlin.Int value=3 - BRANCH - if: CALL 'public final fun not (): kotlin.Boolean [operator] declared in kotlin.Boolean' type=kotlin.Boolean origin=null - $this: ERROR_CALL 'Unresolved reference: #' type=kotlin.Boolean - GET_VAR 'val y: kotlin.Any [val] declared in .test' type=kotlin.Any origin=null - then: CONST Int type=kotlin.Int value=4 - BRANCH - if: CONST Boolean type=kotlin.Boolean value=true - then: CONST Int type=kotlin.Int value=-1 diff --git a/compiler/testData/ir/irText/expressions/whenWithSubjectVariable.txt b/compiler/testData/ir/irText/expressions/whenWithSubjectVariable.ir.txt similarity index 100% rename from compiler/testData/ir/irText/expressions/whenWithSubjectVariable.txt rename to compiler/testData/ir/irText/expressions/whenWithSubjectVariable.ir.txt diff --git a/compiler/testData/ir/irText/expressions/whenWithSubjectVariable.kt.txt b/compiler/testData/ir/irText/expressions/whenWithSubjectVariable.kt.txt index e90762d567f..66bfbe75ab3 100644 --- a/compiler/testData/ir/irText/expressions/whenWithSubjectVariable.kt.txt +++ b/compiler/testData/ir/irText/expressions/whenWithSubjectVariable.kt.txt @@ -15,4 +15,3 @@ fun test(): Int { } } } - diff --git a/compiler/testData/ir/irText/expressions/whileDoWhile.fir.txt b/compiler/testData/ir/irText/expressions/whileDoWhile.fir.ir.txt similarity index 100% rename from compiler/testData/ir/irText/expressions/whileDoWhile.fir.txt rename to compiler/testData/ir/irText/expressions/whileDoWhile.fir.ir.txt diff --git a/compiler/testData/ir/irText/expressions/whileDoWhile.txt b/compiler/testData/ir/irText/expressions/whileDoWhile.ir.txt similarity index 100% rename from compiler/testData/ir/irText/expressions/whileDoWhile.txt rename to compiler/testData/ir/irText/expressions/whileDoWhile.ir.txt diff --git a/compiler/testData/ir/irText/expressions/whileDoWhile.kt.txt b/compiler/testData/ir/irText/expressions/whileDoWhile.kt.txt index 46212964887..7bcfcf4c881 100644 --- a/compiler/testData/ir/irText/expressions/whileDoWhile.kt.txt +++ b/compiler/testData/ir/irText/expressions/whileDoWhile.kt.txt @@ -1,6 +1,6 @@ fun test() { var x: Int = 0 - while (less(arg0 = x, arg1 = 0)) + while (less(arg0 = x, arg1 = 0)) while (less(arg0 = x, arg1 = 5)) { // BLOCK val tmp0: Int = x x = tmp0.inc() @@ -47,4 +47,3 @@ fun testSmartcastInCondition() { } } } - diff --git a/compiler/testData/ir/irText/firProblems/AbstractMutableMap.fir.txt b/compiler/testData/ir/irText/firProblems/AbstractMutableMap.fir.ir.txt similarity index 100% rename from compiler/testData/ir/irText/firProblems/AbstractMutableMap.fir.txt rename to compiler/testData/ir/irText/firProblems/AbstractMutableMap.fir.ir.txt diff --git a/compiler/testData/ir/irText/firProblems/AbstractMutableMap.txt b/compiler/testData/ir/irText/firProblems/AbstractMutableMap.ir.txt similarity index 100% rename from compiler/testData/ir/irText/firProblems/AbstractMutableMap.txt rename to compiler/testData/ir/irText/firProblems/AbstractMutableMap.ir.txt diff --git a/compiler/testData/ir/irText/firProblems/AbstractMutableMap.kt.txt b/compiler/testData/ir/irText/firProblems/AbstractMutableMap.kt.txt index b9611c2e4d0..f4df9b24968 100644 --- a/compiler/testData/ir/irText/firProblems/AbstractMutableMap.kt.txt +++ b/compiler/testData/ir/irText/firProblems/AbstractMutableMap.kt.txt @@ -15,4 +15,3 @@ class MyMap : AbstractMutableMap { } } - diff --git a/compiler/testData/ir/irText/firProblems/AllCandidates.fir.txt b/compiler/testData/ir/irText/firProblems/AllCandidates.fir.ir.txt similarity index 100% rename from compiler/testData/ir/irText/firProblems/AllCandidates.fir.txt rename to compiler/testData/ir/irText/firProblems/AllCandidates.fir.ir.txt diff --git a/compiler/testData/ir/irText/firProblems/AllCandidates.txt b/compiler/testData/ir/irText/firProblems/AllCandidates.ir.txt similarity index 100% rename from compiler/testData/ir/irText/firProblems/AllCandidates.txt rename to compiler/testData/ir/irText/firProblems/AllCandidates.ir.txt diff --git a/compiler/testData/ir/irText/firProblems/AllCandidates.kt.txt b/compiler/testData/ir/irText/firProblems/AllCandidates.kt.txt index 0ace4e94f32..41e02d9ea96 100644 --- a/compiler/testData/ir/irText/firProblems/AllCandidates.kt.txt +++ b/compiler/testData/ir/irText/firProblems/AllCandidates.kt.txt @@ -29,4 +29,3 @@ private fun allCandidatesResult(allCandidates: Collection { - constructor() /* primary */ { - super/*Any*/() - /* () */ - - } - - inline fun withCapturedTypeParameters(block: Function0): T { - return block.invoke() - } - -} diff --git a/compiler/testData/ir/irText/firProblems/BaseFirBuilder.fir.txt b/compiler/testData/ir/irText/firProblems/BaseFirBuilder.fir.txt deleted file mode 100644 index 9d8c529a33b..00000000000 --- a/compiler/testData/ir/irText/firProblems/BaseFirBuilder.fir.txt +++ /dev/null @@ -1,29 +0,0 @@ -FILE fqName: fileName:/BaseFirBuilder.kt - CLASS CLASS name:BaseFirBuilder modality:ABSTRACT visibility:public superTypes:[kotlin.Any] - $this: VALUE_PARAMETER INSTANCE_RECEIVER name: type:.BaseFirBuilder.BaseFirBuilder> - TYPE_PARAMETER name:T index:0 variance: superTypes:[kotlin.Any?] - CONSTRUCTOR visibility:public <> () returnType:.BaseFirBuilder.BaseFirBuilder> [primary] - BLOCK_BODY - DELEGATING_CONSTRUCTOR_CALL 'public constructor () [primary] declared in kotlin.Any' - INSTANCE_INITIALIZER_CALL classDescriptor='CLASS CLASS name:BaseFirBuilder modality:ABSTRACT visibility:public superTypes:[kotlin.Any]' - FUN name:withCapturedTypeParameters visibility:public modality:FINAL ($this:.BaseFirBuilder.BaseFirBuilder>, block:kotlin.Function0.BaseFirBuilder.withCapturedTypeParameters>) returnType:T of .BaseFirBuilder.withCapturedTypeParameters [inline] - TYPE_PARAMETER name:T index:0 variance: superTypes:[kotlin.Any?] - $this: VALUE_PARAMETER name: type:.BaseFirBuilder.BaseFirBuilder> - VALUE_PARAMETER name:block index:0 type:kotlin.Function0.BaseFirBuilder.withCapturedTypeParameters> - BLOCK_BODY - RETURN type=kotlin.Nothing from='public final fun withCapturedTypeParameters (block: kotlin.Function0.BaseFirBuilder.withCapturedTypeParameters>): T of .BaseFirBuilder.withCapturedTypeParameters [inline] declared in .BaseFirBuilder' - CALL 'public abstract fun invoke (): R of kotlin.Function0 [operator] declared in kotlin.Function0' type=T of .BaseFirBuilder.withCapturedTypeParameters origin=INVOKE - $this: GET_VAR 'block: kotlin.Function0.BaseFirBuilder.withCapturedTypeParameters> declared in .BaseFirBuilder.withCapturedTypeParameters' type=kotlin.Function0.BaseFirBuilder.withCapturedTypeParameters> origin=VARIABLE_AS_FUNCTION - FUN FAKE_OVERRIDE name:equals visibility:public modality:OPEN <> ($this:kotlin.Any, other:kotlin.Any?) returnType:kotlin.Boolean [fake_override,operator] - overridden: - public open fun equals (other: kotlin.Any?): kotlin.Boolean [operator] declared in kotlin.Any - $this: VALUE_PARAMETER name: type:kotlin.Any - VALUE_PARAMETER name:other index:0 type:kotlin.Any? - FUN FAKE_OVERRIDE name:hashCode visibility:public modality:OPEN <> ($this:kotlin.Any) returnType:kotlin.Int [fake_override] - overridden: - public open fun hashCode (): kotlin.Int declared in kotlin.Any - $this: VALUE_PARAMETER name: type:kotlin.Any - FUN FAKE_OVERRIDE name:toString visibility:public modality:OPEN <> ($this:kotlin.Any) returnType:kotlin.String [fake_override] - overridden: - public open fun toString (): kotlin.String declared in kotlin.Any - $this: VALUE_PARAMETER name: type:kotlin.Any diff --git a/compiler/testData/ir/irText/firProblems/BaseFirBuilder.kt.txt b/compiler/testData/ir/irText/firProblems/BaseFirBuilder.kt.txt deleted file mode 100644 index 4ef34d3ee53..00000000000 --- a/compiler/testData/ir/irText/firProblems/BaseFirBuilder.kt.txt +++ /dev/null @@ -1,13 +0,0 @@ -abstract class BaseFirBuilder { - constructor() /* primary */ { - super/*Any*/() - /* () */ - - } - - inline fun withCapturedTypeParameters(block: Function0): T { - return block.invoke() - } - -} - diff --git a/compiler/testData/ir/irText/firProblems/BaseFirBuilder.txt b/compiler/testData/ir/irText/firProblems/BaseFirBuilder.txt deleted file mode 100644 index 9d8c529a33b..00000000000 --- a/compiler/testData/ir/irText/firProblems/BaseFirBuilder.txt +++ /dev/null @@ -1,29 +0,0 @@ -FILE fqName: fileName:/BaseFirBuilder.kt - CLASS CLASS name:BaseFirBuilder modality:ABSTRACT visibility:public superTypes:[kotlin.Any] - $this: VALUE_PARAMETER INSTANCE_RECEIVER name: type:.BaseFirBuilder.BaseFirBuilder> - TYPE_PARAMETER name:T index:0 variance: superTypes:[kotlin.Any?] - CONSTRUCTOR visibility:public <> () returnType:.BaseFirBuilder.BaseFirBuilder> [primary] - BLOCK_BODY - DELEGATING_CONSTRUCTOR_CALL 'public constructor () [primary] declared in kotlin.Any' - INSTANCE_INITIALIZER_CALL classDescriptor='CLASS CLASS name:BaseFirBuilder modality:ABSTRACT visibility:public superTypes:[kotlin.Any]' - FUN name:withCapturedTypeParameters visibility:public modality:FINAL ($this:.BaseFirBuilder.BaseFirBuilder>, block:kotlin.Function0.BaseFirBuilder.withCapturedTypeParameters>) returnType:T of .BaseFirBuilder.withCapturedTypeParameters [inline] - TYPE_PARAMETER name:T index:0 variance: superTypes:[kotlin.Any?] - $this: VALUE_PARAMETER name: type:.BaseFirBuilder.BaseFirBuilder> - VALUE_PARAMETER name:block index:0 type:kotlin.Function0.BaseFirBuilder.withCapturedTypeParameters> - BLOCK_BODY - RETURN type=kotlin.Nothing from='public final fun withCapturedTypeParameters (block: kotlin.Function0.BaseFirBuilder.withCapturedTypeParameters>): T of .BaseFirBuilder.withCapturedTypeParameters [inline] declared in .BaseFirBuilder' - CALL 'public abstract fun invoke (): R of kotlin.Function0 [operator] declared in kotlin.Function0' type=T of .BaseFirBuilder.withCapturedTypeParameters origin=INVOKE - $this: GET_VAR 'block: kotlin.Function0.BaseFirBuilder.withCapturedTypeParameters> declared in .BaseFirBuilder.withCapturedTypeParameters' type=kotlin.Function0.BaseFirBuilder.withCapturedTypeParameters> origin=VARIABLE_AS_FUNCTION - FUN FAKE_OVERRIDE name:equals visibility:public modality:OPEN <> ($this:kotlin.Any, other:kotlin.Any?) returnType:kotlin.Boolean [fake_override,operator] - overridden: - public open fun equals (other: kotlin.Any?): kotlin.Boolean [operator] declared in kotlin.Any - $this: VALUE_PARAMETER name: type:kotlin.Any - VALUE_PARAMETER name:other index:0 type:kotlin.Any? - FUN FAKE_OVERRIDE name:hashCode visibility:public modality:OPEN <> ($this:kotlin.Any) returnType:kotlin.Int [fake_override] - overridden: - public open fun hashCode (): kotlin.Int declared in kotlin.Any - $this: VALUE_PARAMETER name: type:kotlin.Any - FUN FAKE_OVERRIDE name:toString visibility:public modality:OPEN <> ($this:kotlin.Any) returnType:kotlin.String [fake_override] - overridden: - public open fun toString (): kotlin.String declared in kotlin.Any - $this: VALUE_PARAMETER name: type:kotlin.Any diff --git a/compiler/testData/ir/irText/firProblems/ClashResolutionDescriptor.fir.txt b/compiler/testData/ir/irText/firProblems/ClashResolutionDescriptor.fir.ir.txt similarity index 100% rename from compiler/testData/ir/irText/firProblems/ClashResolutionDescriptor.fir.txt rename to compiler/testData/ir/irText/firProblems/ClashResolutionDescriptor.fir.ir.txt diff --git a/compiler/testData/ir/irText/firProblems/ClashResolutionDescriptor.fir.kt.txt b/compiler/testData/ir/irText/firProblems/ClashResolutionDescriptor.fir.kt.txt index 1265b40b4c7..dad3086b399 100644 --- a/compiler/testData/ir/irText/firProblems/ClashResolutionDescriptor.fir.kt.txt +++ b/compiler/testData/ir/irText/firProblems/ClashResolutionDescriptor.fir.kt.txt @@ -62,4 +62,3 @@ fun resolveClashesIfAny(container: ComponentContainer, clashResolvers: List TypeRemapper.withinScope(irTypeParametersContainer: IrType .leaveScope() return result } - diff --git a/compiler/testData/ir/irText/firProblems/DeepCopyIrTree.txt b/compiler/testData/ir/irText/firProblems/DeepCopyIrTree.ir.txt similarity index 100% rename from compiler/testData/ir/irText/firProblems/DeepCopyIrTree.txt rename to compiler/testData/ir/irText/firProblems/DeepCopyIrTree.ir.txt diff --git a/compiler/testData/ir/irText/firProblems/DeepCopyIrTree.kt.txt b/compiler/testData/ir/irText/firProblems/DeepCopyIrTree.kt.txt index 822b8bc7f0d..aeae3eb4bdd 100644 --- a/compiler/testData/ir/irText/firProblems/DeepCopyIrTree.kt.txt +++ b/compiler/testData/ir/irText/firProblems/DeepCopyIrTree.kt.txt @@ -3,9 +3,9 @@ interface IrType { } interface TypeRemapper { - abstract fun enterScope(irTypeParametersContainer: IrTypeParametersContainer) - abstract fun remapType(type: IrType): IrType - abstract fun leaveScope() + abstract fun enterScope(irTypeParametersContainer: IrTypeParametersContainer) + abstract fun remapType(type: IrType): IrType + abstract fun leaveScope() } @@ -77,4 +77,3 @@ inline fun TypeRemapper.withinScope(irTypeParametersContainer: IrType .leaveScope() return result } - diff --git a/compiler/testData/ir/irText/firProblems/DelegationAndInheritanceFromJava.fir.txt b/compiler/testData/ir/irText/firProblems/DelegationAndInheritanceFromJava.fir.ir.txt similarity index 100% rename from compiler/testData/ir/irText/firProblems/DelegationAndInheritanceFromJava.fir.txt rename to compiler/testData/ir/irText/firProblems/DelegationAndInheritanceFromJava.fir.ir.txt diff --git a/compiler/testData/ir/irText/firProblems/DelegationAndInheritanceFromJava.fir.kt.txt b/compiler/testData/ir/irText/firProblems/DelegationAndInheritanceFromJava.fir.kt.txt index b68c1a58e31..8e2feda8106 100644 --- a/compiler/testData/ir/irText/firProblems/DelegationAndInheritanceFromJava.fir.kt.txt +++ b/compiler/testData/ir/irText/firProblems/DelegationAndInheritanceFromJava.fir.kt.txt @@ -57,4 +57,3 @@ class Impl : A, B { fun box(): String { return "OK" } - diff --git a/compiler/testData/ir/irText/firProblems/DelegationAndInheritanceFromJava.txt b/compiler/testData/ir/irText/firProblems/DelegationAndInheritanceFromJava.ir.txt similarity index 100% rename from compiler/testData/ir/irText/firProblems/DelegationAndInheritanceFromJava.txt rename to compiler/testData/ir/irText/firProblems/DelegationAndInheritanceFromJava.ir.txt diff --git a/compiler/testData/ir/irText/firProblems/Fir2IrClassifierStorage.fir.txt b/compiler/testData/ir/irText/firProblems/Fir2IrClassifierStorage.fir.ir.txt similarity index 100% rename from compiler/testData/ir/irText/firProblems/Fir2IrClassifierStorage.fir.txt rename to compiler/testData/ir/irText/firProblems/Fir2IrClassifierStorage.fir.ir.txt diff --git a/compiler/testData/ir/irText/firProblems/Fir2IrClassifierStorage.txt b/compiler/testData/ir/irText/firProblems/Fir2IrClassifierStorage.ir.txt similarity index 100% rename from compiler/testData/ir/irText/firProblems/Fir2IrClassifierStorage.txt rename to compiler/testData/ir/irText/firProblems/Fir2IrClassifierStorage.ir.txt diff --git a/compiler/testData/ir/irText/firProblems/FirBuilder.fir.txt b/compiler/testData/ir/irText/firProblems/FirBuilder.fir.ir.txt similarity index 100% rename from compiler/testData/ir/irText/firProblems/FirBuilder.fir.txt rename to compiler/testData/ir/irText/firProblems/FirBuilder.fir.ir.txt diff --git a/compiler/testData/ir/irText/firProblems/FirBuilder.txt b/compiler/testData/ir/irText/firProblems/FirBuilder.ir.txt similarity index 100% rename from compiler/testData/ir/irText/firProblems/FirBuilder.txt rename to compiler/testData/ir/irText/firProblems/FirBuilder.ir.txt diff --git a/compiler/testData/ir/irText/firProblems/FirBuilder.kt.txt b/compiler/testData/ir/irText/firProblems/FirBuilder.kt.txt index aab5e1a0795..d56baa62270 100644 --- a/compiler/testData/ir/irText/firProblems/FirBuilder.kt.txt +++ b/compiler/testData/ir/irText/firProblems/FirBuilder.kt.txt @@ -34,4 +34,3 @@ class DeclarationsConverter : BaseConverter { } } - diff --git a/compiler/testData/ir/irText/firProblems/ImplicitReceiverStack.fir.txt b/compiler/testData/ir/irText/firProblems/ImplicitReceiverStack.fir.ir.txt similarity index 100% rename from compiler/testData/ir/irText/firProblems/ImplicitReceiverStack.fir.txt rename to compiler/testData/ir/irText/firProblems/ImplicitReceiverStack.fir.ir.txt diff --git a/compiler/testData/ir/irText/firProblems/ImplicitReceiverStack.txt b/compiler/testData/ir/irText/firProblems/ImplicitReceiverStack.ir.txt similarity index 100% rename from compiler/testData/ir/irText/firProblems/ImplicitReceiverStack.txt rename to compiler/testData/ir/irText/firProblems/ImplicitReceiverStack.ir.txt diff --git a/compiler/testData/ir/irText/firProblems/InnerClassInAnonymous.fir.txt b/compiler/testData/ir/irText/firProblems/InnerClassInAnonymous.fir.ir.txt similarity index 100% rename from compiler/testData/ir/irText/firProblems/InnerClassInAnonymous.fir.txt rename to compiler/testData/ir/irText/firProblems/InnerClassInAnonymous.fir.ir.txt diff --git a/compiler/testData/ir/irText/firProblems/InnerClassInAnonymous.txt b/compiler/testData/ir/irText/firProblems/InnerClassInAnonymous.ir.txt similarity index 100% rename from compiler/testData/ir/irText/firProblems/InnerClassInAnonymous.txt rename to compiler/testData/ir/irText/firProblems/InnerClassInAnonymous.ir.txt diff --git a/compiler/testData/ir/irText/firProblems/InnerClassInAnonymous.kt.txt b/compiler/testData/ir/irText/firProblems/InnerClassInAnonymous.kt.txt index d5a94fbaf72..04b3914c8a3 100644 --- a/compiler/testData/ir/irText/firProblems/InnerClassInAnonymous.kt.txt +++ b/compiler/testData/ir/irText/firProblems/InnerClassInAnonymous.kt.txt @@ -47,4 +47,3 @@ fun box(): String { } return obj.foo() } - diff --git a/compiler/testData/ir/irText/firProblems/JCTree.fir.txt b/compiler/testData/ir/irText/firProblems/JCTree.fir.ir.txt similarity index 100% rename from compiler/testData/ir/irText/firProblems/JCTree.fir.txt rename to compiler/testData/ir/irText/firProblems/JCTree.fir.ir.txt diff --git a/compiler/testData/ir/irText/firProblems/JCTree.txt b/compiler/testData/ir/irText/firProblems/JCTree.ir.txt similarity index 100% rename from compiler/testData/ir/irText/firProblems/JCTree.txt rename to compiler/testData/ir/irText/firProblems/JCTree.ir.txt diff --git a/compiler/testData/ir/irText/firProblems/Modality.fir.txt b/compiler/testData/ir/irText/firProblems/Modality.fir.ir.txt similarity index 100% rename from compiler/testData/ir/irText/firProblems/Modality.fir.txt rename to compiler/testData/ir/irText/firProblems/Modality.fir.ir.txt diff --git a/compiler/testData/ir/irText/firProblems/Modality.txt b/compiler/testData/ir/irText/firProblems/Modality.ir.txt similarity index 100% rename from compiler/testData/ir/irText/firProblems/Modality.txt rename to compiler/testData/ir/irText/firProblems/Modality.ir.txt diff --git a/compiler/testData/ir/irText/firProblems/Modality.kt.txt b/compiler/testData/ir/irText/firProblems/Modality.kt.txt index 702b7267db8..2da7a288f9f 100644 --- a/compiler/testData/ir/irText/firProblems/Modality.kt.txt +++ b/compiler/testData/ir/irText/firProblems/Modality.kt.txt @@ -69,4 +69,3 @@ object Final : Modality { } } - diff --git a/compiler/testData/ir/irText/firProblems/MultiList.fir.txt b/compiler/testData/ir/irText/firProblems/MultiList.fir.ir.txt similarity index 100% rename from compiler/testData/ir/irText/firProblems/MultiList.fir.txt rename to compiler/testData/ir/irText/firProblems/MultiList.fir.ir.txt diff --git a/compiler/testData/ir/irText/firProblems/MultiList.txt b/compiler/testData/ir/irText/firProblems/MultiList.ir.txt similarity index 100% rename from compiler/testData/ir/irText/firProblems/MultiList.txt rename to compiler/testData/ir/irText/firProblems/MultiList.ir.txt diff --git a/compiler/testData/ir/irText/firProblems/MultiList.kt.txt b/compiler/testData/ir/irText/firProblems/MultiList.kt.txt index 0995fcd89eb..b6c240df811 100644 --- a/compiler/testData/ir/irText/firProblems/MultiList.kt.txt +++ b/compiler/testData/ir/irText/firProblems/MultiList.kt.txt @@ -65,4 +65,3 @@ class FinalList : SomeList { } } - diff --git a/compiler/testData/ir/irText/firProblems/SafeLetWithReturn.fir.txt b/compiler/testData/ir/irText/firProblems/SafeLetWithReturn.fir.ir.txt similarity index 100% rename from compiler/testData/ir/irText/firProblems/SafeLetWithReturn.fir.txt rename to compiler/testData/ir/irText/firProblems/SafeLetWithReturn.fir.ir.txt diff --git a/compiler/testData/ir/irText/firProblems/SafeLetWithReturn.fir.kt.txt b/compiler/testData/ir/irText/firProblems/SafeLetWithReturn.fir.kt.txt index 3bf28334e98..3a3f532ef23 100644 --- a/compiler/testData/ir/irText/firProblems/SafeLetWithReturn.fir.kt.txt +++ b/compiler/testData/ir/irText/firProblems/SafeLetWithReturn.fir.kt.txt @@ -49,4 +49,3 @@ val String?.baz: String } /*~> Unit */ return "" } - diff --git a/compiler/testData/ir/irText/firProblems/SafeLetWithReturn.txt b/compiler/testData/ir/irText/firProblems/SafeLetWithReturn.ir.txt similarity index 100% rename from compiler/testData/ir/irText/firProblems/SafeLetWithReturn.txt rename to compiler/testData/ir/irText/firProblems/SafeLetWithReturn.ir.txt diff --git a/compiler/testData/ir/irText/firProblems/SafeLetWithReturn.kt.txt b/compiler/testData/ir/irText/firProblems/SafeLetWithReturn.kt.txt index 208be1daa15..c8b025a9379 100644 --- a/compiler/testData/ir/irText/firProblems/SafeLetWithReturn.kt.txt +++ b/compiler/testData/ir/irText/firProblems/SafeLetWithReturn.kt.txt @@ -49,4 +49,3 @@ val String?.baz: String } /*~> Unit */ return "" } - diff --git a/compiler/testData/ir/irText/firProblems/SameJavaFieldReferences.fir.txt b/compiler/testData/ir/irText/firProblems/SameJavaFieldReferences.fir.ir.txt similarity index 100% rename from compiler/testData/ir/irText/firProblems/SameJavaFieldReferences.fir.txt rename to compiler/testData/ir/irText/firProblems/SameJavaFieldReferences.fir.ir.txt diff --git a/compiler/testData/ir/irText/firProblems/SameJavaFieldReferences.txt b/compiler/testData/ir/irText/firProblems/SameJavaFieldReferences.ir.txt similarity index 100% rename from compiler/testData/ir/irText/firProblems/SameJavaFieldReferences.txt rename to compiler/testData/ir/irText/firProblems/SameJavaFieldReferences.ir.txt diff --git a/compiler/testData/ir/irText/firProblems/SameJavaFieldReferences.kt.txt b/compiler/testData/ir/irText/firProblems/SameJavaFieldReferences.kt.txt index d3c8ba95f60..b8a48658888 100644 --- a/compiler/testData/ir/irText/firProblems/SameJavaFieldReferences.kt.txt +++ b/compiler/testData/ir/irText/firProblems/SameJavaFieldReferences.kt.txt @@ -2,4 +2,3 @@ fun foo() { val ref1: KProperty0 = SomeJavaClass::someJavaField val ref2: KProperty0 = SomeJavaClass::someJavaField } - diff --git a/compiler/testData/ir/irText/firProblems/SignatureClash.fir.txt b/compiler/testData/ir/irText/firProblems/SignatureClash.fir.ir.txt similarity index 100% rename from compiler/testData/ir/irText/firProblems/SignatureClash.fir.txt rename to compiler/testData/ir/irText/firProblems/SignatureClash.fir.ir.txt diff --git a/compiler/testData/ir/irText/firProblems/SignatureClash.txt b/compiler/testData/ir/irText/firProblems/SignatureClash.ir.txt similarity index 100% rename from compiler/testData/ir/irText/firProblems/SignatureClash.txt rename to compiler/testData/ir/irText/firProblems/SignatureClash.ir.txt diff --git a/compiler/testData/ir/irText/firProblems/SignatureClash.kt.txt b/compiler/testData/ir/irText/firProblems/SignatureClash.kt.txt index b33ad6bb48e..b31f65e14d9 100644 --- a/compiler/testData/ir/irText/firProblems/SignatureClash.kt.txt +++ b/compiler/testData/ir/irText/firProblems/SignatureClash.kt.txt @@ -21,7 +21,7 @@ interface Base { } interface Delegate : Base { - abstract fun bar() + abstract fun bar() } @@ -75,4 +75,3 @@ data class DataClass : Derived, Delegate { } } - diff --git a/compiler/testData/ir/irText/firProblems/SimpleTypeMarker.txt b/compiler/testData/ir/irText/firProblems/SimpleTypeMarker.ir.txt similarity index 100% rename from compiler/testData/ir/irText/firProblems/SimpleTypeMarker.txt rename to compiler/testData/ir/irText/firProblems/SimpleTypeMarker.ir.txt diff --git a/compiler/testData/ir/irText/firProblems/SimpleTypeMarker.kt.txt b/compiler/testData/ir/irText/firProblems/SimpleTypeMarker.kt.txt index f58c86deb73..aa4f60b37e8 100644 --- a/compiler/testData/ir/irText/firProblems/SimpleTypeMarker.kt.txt +++ b/compiler/testData/ir/irText/firProblems/SimpleTypeMarker.kt.txt @@ -36,4 +36,3 @@ class UserImpl { } } - diff --git a/compiler/testData/ir/irText/firProblems/SyntheticSetterType.fir.txt b/compiler/testData/ir/irText/firProblems/SyntheticSetterType.fir.ir.txt similarity index 100% rename from compiler/testData/ir/irText/firProblems/SyntheticSetterType.fir.txt rename to compiler/testData/ir/irText/firProblems/SyntheticSetterType.fir.ir.txt diff --git a/compiler/testData/ir/irText/firProblems/SyntheticSetterType.txt b/compiler/testData/ir/irText/firProblems/SyntheticSetterType.ir.txt similarity index 100% rename from compiler/testData/ir/irText/firProblems/SyntheticSetterType.txt rename to compiler/testData/ir/irText/firProblems/SyntheticSetterType.ir.txt diff --git a/compiler/testData/ir/irText/firProblems/TypeParameterBounds.txt b/compiler/testData/ir/irText/firProblems/TypeParameterBounds.ir.txt similarity index 100% rename from compiler/testData/ir/irText/firProblems/TypeParameterBounds.txt rename to compiler/testData/ir/irText/firProblems/TypeParameterBounds.ir.txt diff --git a/compiler/testData/ir/irText/firProblems/V8ArrayToList.fir.txt b/compiler/testData/ir/irText/firProblems/V8ArrayToList.fir.ir.txt similarity index 100% rename from compiler/testData/ir/irText/firProblems/V8ArrayToList.fir.txt rename to compiler/testData/ir/irText/firProblems/V8ArrayToList.fir.ir.txt diff --git a/compiler/testData/ir/irText/firProblems/V8ArrayToList.txt b/compiler/testData/ir/irText/firProblems/V8ArrayToList.ir.txt similarity index 100% rename from compiler/testData/ir/irText/firProblems/V8ArrayToList.txt rename to compiler/testData/ir/irText/firProblems/V8ArrayToList.ir.txt diff --git a/compiler/testData/ir/irText/firProblems/V8ArrayToList.kt.txt b/compiler/testData/ir/irText/firProblems/V8ArrayToList.kt.txt index f2c8cc9b007..4ce9775b538 100644 --- a/compiler/testData/ir/irText/firProblems/V8ArrayToList.kt.txt +++ b/compiler/testData/ir/irText/firProblems/V8ArrayToList.kt.txt @@ -12,4 +12,3 @@ fun box(): String { val list: List = toList(array = array) as List return list.get(index = 0) } - diff --git a/compiler/testData/ir/irText/firProblems/VarInInit.txt b/compiler/testData/ir/irText/firProblems/VarInInit.ir.txt similarity index 100% rename from compiler/testData/ir/irText/firProblems/VarInInit.txt rename to compiler/testData/ir/irText/firProblems/VarInInit.ir.txt diff --git a/compiler/testData/ir/irText/firProblems/VarInInit.kt.txt b/compiler/testData/ir/irText/firProblems/VarInInit.kt.txt index 9b0d6d8165d..5d157f81882 100644 --- a/compiler/testData/ir/irText/firProblems/VarInInit.kt.txt +++ b/compiler/testData/ir/irText/firProblems/VarInInit.kt.txt @@ -19,4 +19,3 @@ class Some { } } - diff --git a/compiler/testData/ir/irText/firProblems/candidateSymbol.fir.txt b/compiler/testData/ir/irText/firProblems/candidateSymbol.fir.ir.txt similarity index 100% rename from compiler/testData/ir/irText/firProblems/candidateSymbol.fir.txt rename to compiler/testData/ir/irText/firProblems/candidateSymbol.fir.ir.txt diff --git a/compiler/testData/ir/irText/firProblems/candidateSymbol.txt b/compiler/testData/ir/irText/firProblems/candidateSymbol.ir.txt similarity index 100% rename from compiler/testData/ir/irText/firProblems/candidateSymbol.txt rename to compiler/testData/ir/irText/firProblems/candidateSymbol.ir.txt diff --git a/compiler/testData/ir/irText/firProblems/candidateSymbol.kt.txt b/compiler/testData/ir/irText/firProblems/candidateSymbol.kt.txt index ac8ba29aefe..1e6968d6845 100644 --- a/compiler/testData/ir/irText/firProblems/candidateSymbol.kt.txt +++ b/compiler/testData/ir/irText/firProblems/candidateSymbol.kt.txt @@ -50,4 +50,3 @@ fun foo(candidate: Candidate) { } } } - diff --git a/compiler/testData/ir/irText/firProblems/coercionToUnitForNestedWhen.fir.txt b/compiler/testData/ir/irText/firProblems/coercionToUnitForNestedWhen.fir.ir.txt similarity index 100% rename from compiler/testData/ir/irText/firProblems/coercionToUnitForNestedWhen.fir.txt rename to compiler/testData/ir/irText/firProblems/coercionToUnitForNestedWhen.fir.ir.txt diff --git a/compiler/testData/ir/irText/firProblems/coercionToUnitForNestedWhen.txt b/compiler/testData/ir/irText/firProblems/coercionToUnitForNestedWhen.ir.txt similarity index 100% rename from compiler/testData/ir/irText/firProblems/coercionToUnitForNestedWhen.txt rename to compiler/testData/ir/irText/firProblems/coercionToUnitForNestedWhen.ir.txt diff --git a/compiler/testData/ir/irText/firProblems/coercionToUnitForNestedWhen.kt.txt b/compiler/testData/ir/irText/firProblems/coercionToUnitForNestedWhen.kt.txt index b6145c87e15..cbcf83899af 100644 --- a/compiler/testData/ir/irText/firProblems/coercionToUnitForNestedWhen.kt.txt +++ b/compiler/testData/ir/irText/firProblems/coercionToUnitForNestedWhen.kt.txt @@ -37,4 +37,3 @@ fun Reader.consumeRestOfQuotedSequence(sb: StringBuilder, quote: Char) { ch = .nextChar() } } - diff --git a/compiler/testData/ir/irText/firProblems/deprecated.txt b/compiler/testData/ir/irText/firProblems/deprecated.ir.txt similarity index 100% rename from compiler/testData/ir/irText/firProblems/deprecated.txt rename to compiler/testData/ir/irText/firProblems/deprecated.ir.txt diff --git a/compiler/testData/ir/irText/firProblems/deprecated.kt.txt b/compiler/testData/ir/irText/firProblems/deprecated.kt.txt index 11d90a9c7dc..652aa6a071a 100644 --- a/compiler/testData/ir/irText/firProblems/deprecated.kt.txt +++ b/compiler/testData/ir/irText/firProblems/deprecated.kt.txt @@ -11,4 +11,3 @@ fun create(s: String): String { fun create(b: Boolean): String { return create() } - diff --git a/compiler/testData/ir/irText/firProblems/inapplicableCollectionSet.fir.txt b/compiler/testData/ir/irText/firProblems/inapplicableCollectionSet.fir.ir.txt similarity index 100% rename from compiler/testData/ir/irText/firProblems/inapplicableCollectionSet.fir.txt rename to compiler/testData/ir/irText/firProblems/inapplicableCollectionSet.fir.ir.txt diff --git a/compiler/testData/ir/irText/firProblems/inapplicableCollectionSet.txt b/compiler/testData/ir/irText/firProblems/inapplicableCollectionSet.ir.txt similarity index 100% rename from compiler/testData/ir/irText/firProblems/inapplicableCollectionSet.txt rename to compiler/testData/ir/irText/firProblems/inapplicableCollectionSet.ir.txt diff --git a/compiler/testData/ir/irText/firProblems/kt19251.fir.txt b/compiler/testData/ir/irText/firProblems/kt19251.fir.ir.txt similarity index 100% rename from compiler/testData/ir/irText/firProblems/kt19251.fir.txt rename to compiler/testData/ir/irText/firProblems/kt19251.fir.ir.txt diff --git a/compiler/testData/ir/irText/firProblems/kt19251.fir.kt.txt b/compiler/testData/ir/irText/firProblems/kt19251.fir.kt.txt index e3c2c5e64c4..e23656a2874 100644 --- a/compiler/testData/ir/irText/firProblems/kt19251.fir.kt.txt +++ b/compiler/testData/ir/irText/firProblems/kt19251.fir.kt.txt @@ -9,4 +9,3 @@ fun box(): String { } /*-> @EnhancedNullability Function */) } - diff --git a/compiler/testData/ir/irText/firProblems/kt19251.txt b/compiler/testData/ir/irText/firProblems/kt19251.ir.txt similarity index 100% rename from compiler/testData/ir/irText/firProblems/kt19251.txt rename to compiler/testData/ir/irText/firProblems/kt19251.ir.txt diff --git a/compiler/testData/ir/irText/firProblems/kt42496.fir.txt b/compiler/testData/ir/irText/firProblems/kt42496.fir.txt deleted file mode 100644 index 98c8b0c2277..00000000000 --- a/compiler/testData/ir/irText/firProblems/kt42496.fir.txt +++ /dev/null @@ -1,11 +0,0 @@ -FILE fqName: fileName:/kt42496.kt - FUN name:box visibility:public modality:FINAL <> () returnType:kotlin.String - BLOCK_BODY - VAR name:javaClass type:.JavaClass2 [val] - CONSTRUCTOR_CALL 'public constructor () [primary] declared in .JavaClass2' type=.JavaClass2 origin=null - CALL 'public open fun setSomething (value: kotlin.Any?): kotlin.Unit declared in .JavaClass1' type=kotlin.Unit origin=EQ - $this: GET_VAR 'val javaClass: .JavaClass2 [val] declared in .box' type=.JavaClass2 origin=null - value: CONST String type=kotlin.String value="OK" - RETURN type=kotlin.Nothing from='public final fun box (): kotlin.String declared in ' - CALL 'public open fun getSomething (): kotlin.String? declared in .JavaClass2' type=kotlin.String? origin=GET_PROPERTY - $this: GET_VAR 'val javaClass: .JavaClass2 [val] declared in .box' type=.JavaClass2 origin=null diff --git a/compiler/testData/ir/irText/firProblems/kt43342.fir.txt b/compiler/testData/ir/irText/firProblems/kt43342.fir.ir.txt similarity index 100% rename from compiler/testData/ir/irText/firProblems/kt43342.fir.txt rename to compiler/testData/ir/irText/firProblems/kt43342.fir.ir.txt diff --git a/compiler/testData/ir/irText/firProblems/kt43342.txt b/compiler/testData/ir/irText/firProblems/kt43342.ir.txt similarity index 100% rename from compiler/testData/ir/irText/firProblems/kt43342.txt rename to compiler/testData/ir/irText/firProblems/kt43342.ir.txt diff --git a/compiler/testData/ir/irText/firProblems/putIfAbsent.fir.txt b/compiler/testData/ir/irText/firProblems/putIfAbsent.fir.ir.txt similarity index 100% rename from compiler/testData/ir/irText/firProblems/putIfAbsent.fir.txt rename to compiler/testData/ir/irText/firProblems/putIfAbsent.fir.ir.txt diff --git a/compiler/testData/ir/irText/firProblems/putIfAbsent.txt b/compiler/testData/ir/irText/firProblems/putIfAbsent.ir.txt similarity index 100% rename from compiler/testData/ir/irText/firProblems/putIfAbsent.txt rename to compiler/testData/ir/irText/firProblems/putIfAbsent.ir.txt diff --git a/compiler/testData/ir/irText/firProblems/putIfAbsent.kt.txt b/compiler/testData/ir/irText/firProblems/putIfAbsent.kt.txt index bc8a01bb0d3..5e4cdba83e1 100644 --- a/compiler/testData/ir/irText/firProblems/putIfAbsent.kt.txt +++ b/compiler/testData/ir/irText/firProblems/putIfAbsent.kt.txt @@ -11,4 +11,3 @@ class Owner { } } - diff --git a/compiler/testData/ir/irText/firProblems/readWriteProperty.fir.txt b/compiler/testData/ir/irText/firProblems/readWriteProperty.fir.ir.txt similarity index 100% rename from compiler/testData/ir/irText/firProblems/readWriteProperty.fir.txt rename to compiler/testData/ir/irText/firProblems/readWriteProperty.fir.ir.txt diff --git a/compiler/testData/ir/irText/firProblems/readWriteProperty.txt b/compiler/testData/ir/irText/firProblems/readWriteProperty.ir.txt similarity index 100% rename from compiler/testData/ir/irText/firProblems/readWriteProperty.txt rename to compiler/testData/ir/irText/firProblems/readWriteProperty.ir.txt diff --git a/compiler/testData/ir/irText/firProblems/recursiveCapturedTypeInPropertyReference.fir.txt b/compiler/testData/ir/irText/firProblems/recursiveCapturedTypeInPropertyReference.fir.ir.txt similarity index 100% rename from compiler/testData/ir/irText/firProblems/recursiveCapturedTypeInPropertyReference.fir.txt rename to compiler/testData/ir/irText/firProblems/recursiveCapturedTypeInPropertyReference.fir.ir.txt diff --git a/compiler/testData/ir/irText/firProblems/recursiveCapturedTypeInPropertyReference.txt b/compiler/testData/ir/irText/firProblems/recursiveCapturedTypeInPropertyReference.ir.txt similarity index 100% rename from compiler/testData/ir/irText/firProblems/recursiveCapturedTypeInPropertyReference.txt rename to compiler/testData/ir/irText/firProblems/recursiveCapturedTypeInPropertyReference.ir.txt diff --git a/compiler/testData/ir/irText/firProblems/recursiveCapturedTypeInPropertyReference.kt.txt b/compiler/testData/ir/irText/firProblems/recursiveCapturedTypeInPropertyReference.kt.txt index f8dbe9e5048..54c5833bc51 100644 --- a/compiler/testData/ir/irText/firProblems/recursiveCapturedTypeInPropertyReference.kt.txt +++ b/compiler/testData/ir/irText/firProblems/recursiveCapturedTypeInPropertyReference.kt.txt @@ -20,4 +20,3 @@ abstract class AbstractSymbol where E : Recursive, E : Something { } } - diff --git a/compiler/testData/ir/irText/firProblems/throwableStackTrace.txt b/compiler/testData/ir/irText/firProblems/throwableStackTrace.ir.txt similarity index 100% rename from compiler/testData/ir/irText/firProblems/throwableStackTrace.txt rename to compiler/testData/ir/irText/firProblems/throwableStackTrace.ir.txt diff --git a/compiler/testData/ir/irText/firProblems/throwableStackTrace.kt.txt b/compiler/testData/ir/irText/firProblems/throwableStackTrace.kt.txt index d1a6dd83c81..33e6667ac65 100644 --- a/compiler/testData/ir/irText/firProblems/throwableStackTrace.kt.txt +++ b/compiler/testData/ir/irText/firProblems/throwableStackTrace.kt.txt @@ -1,4 +1,3 @@ fun foo(t: Throwable) { t.setStackTrace(p0 = t.getStackTrace()) } - diff --git a/compiler/testData/ir/irText/firProblems/typeParameterFromJavaClass.fir.txt b/compiler/testData/ir/irText/firProblems/typeParameterFromJavaClass.fir.ir.txt similarity index 100% rename from compiler/testData/ir/irText/firProblems/typeParameterFromJavaClass.fir.txt rename to compiler/testData/ir/irText/firProblems/typeParameterFromJavaClass.fir.ir.txt diff --git a/compiler/testData/ir/irText/firProblems/typeParameterFromJavaClass.txt b/compiler/testData/ir/irText/firProblems/typeParameterFromJavaClass.ir.txt similarity index 100% rename from compiler/testData/ir/irText/firProblems/typeParameterFromJavaClass.txt rename to compiler/testData/ir/irText/firProblems/typeParameterFromJavaClass.ir.txt diff --git a/compiler/testData/ir/irText/firProblems/typeVariableAfterBuildMap.fir.txt b/compiler/testData/ir/irText/firProblems/typeVariableAfterBuildMap.fir.ir.txt similarity index 100% rename from compiler/testData/ir/irText/firProblems/typeVariableAfterBuildMap.fir.txt rename to compiler/testData/ir/irText/firProblems/typeVariableAfterBuildMap.fir.ir.txt diff --git a/compiler/testData/ir/irText/firProblems/typeVariableAfterBuildMap.txt b/compiler/testData/ir/irText/firProblems/typeVariableAfterBuildMap.ir.txt similarity index 100% rename from compiler/testData/ir/irText/firProblems/typeVariableAfterBuildMap.txt rename to compiler/testData/ir/irText/firProblems/typeVariableAfterBuildMap.ir.txt diff --git a/compiler/testData/ir/irText/lambdas/anonymousFunction.fir.txt b/compiler/testData/ir/irText/lambdas/anonymousFunction.fir.ir.txt similarity index 100% rename from compiler/testData/ir/irText/lambdas/anonymousFunction.fir.txt rename to compiler/testData/ir/irText/lambdas/anonymousFunction.fir.ir.txt diff --git a/compiler/testData/ir/irText/lambdas/anonymousFunction.txt b/compiler/testData/ir/irText/lambdas/anonymousFunction.ir.txt similarity index 100% rename from compiler/testData/ir/irText/lambdas/anonymousFunction.txt rename to compiler/testData/ir/irText/lambdas/anonymousFunction.ir.txt diff --git a/compiler/testData/ir/irText/lambdas/anonymousFunction.kt.txt b/compiler/testData/ir/irText/lambdas/anonymousFunction.kt.txt index 4ffcd95ad58..ef19f0f61aa 100644 --- a/compiler/testData/ir/irText/lambdas/anonymousFunction.kt.txt +++ b/compiler/testData/ir/irText/lambdas/anonymousFunction.kt.txt @@ -4,4 +4,3 @@ val anonymous: Function0 } get - diff --git a/compiler/testData/ir/irText/lambdas/destructuringInLambda.fir.txt b/compiler/testData/ir/irText/lambdas/destructuringInLambda.fir.ir.txt similarity index 100% rename from compiler/testData/ir/irText/lambdas/destructuringInLambda.fir.txt rename to compiler/testData/ir/irText/lambdas/destructuringInLambda.fir.ir.txt diff --git a/compiler/testData/ir/irText/lambdas/destructuringInLambda.txt b/compiler/testData/ir/irText/lambdas/destructuringInLambda.ir.txt similarity index 100% rename from compiler/testData/ir/irText/lambdas/destructuringInLambda.txt rename to compiler/testData/ir/irText/lambdas/destructuringInLambda.ir.txt diff --git a/compiler/testData/ir/irText/lambdas/destructuringInLambda.kt.txt b/compiler/testData/ir/irText/lambdas/destructuringInLambda.kt.txt index e649a874898..0200a7d2a2f 100644 --- a/compiler/testData/ir/irText/lambdas/destructuringInLambda.kt.txt +++ b/compiler/testData/ir/irText/lambdas/destructuringInLambda.kt.txt @@ -62,5 +62,3 @@ var fn: Function1 get set - - diff --git a/compiler/testData/ir/irText/lambdas/extensionLambda.fir.txt b/compiler/testData/ir/irText/lambdas/extensionLambda.fir.ir.txt similarity index 100% rename from compiler/testData/ir/irText/lambdas/extensionLambda.fir.txt rename to compiler/testData/ir/irText/lambdas/extensionLambda.fir.ir.txt diff --git a/compiler/testData/ir/irText/lambdas/extensionLambda.txt b/compiler/testData/ir/irText/lambdas/extensionLambda.ir.txt similarity index 100% rename from compiler/testData/ir/irText/lambdas/extensionLambda.txt rename to compiler/testData/ir/irText/lambdas/extensionLambda.ir.txt diff --git a/compiler/testData/ir/irText/lambdas/extensionLambda.kt.txt b/compiler/testData/ir/irText/lambdas/extensionLambda.kt.txt index b353ca3f2b1..7fd59205cc1 100644 --- a/compiler/testData/ir/irText/lambdas/extensionLambda.kt.txt +++ b/compiler/testData/ir/irText/lambdas/extensionLambda.kt.txt @@ -4,4 +4,3 @@ fun test1(): Int { } ) } - diff --git a/compiler/testData/ir/irText/lambdas/justLambda.txt b/compiler/testData/ir/irText/lambdas/justLambda.ir.txt similarity index 100% rename from compiler/testData/ir/irText/lambdas/justLambda.txt rename to compiler/testData/ir/irText/lambdas/justLambda.ir.txt diff --git a/compiler/testData/ir/irText/lambdas/justLambda.kt.txt b/compiler/testData/ir/irText/lambdas/justLambda.kt.txt index f63493e671f..64e793c562c 100644 --- a/compiler/testData/ir/irText/lambdas/justLambda.kt.txt +++ b/compiler/testData/ir/irText/lambdas/justLambda.kt.txt @@ -11,4 +11,3 @@ val test2: Function0 } get - diff --git a/compiler/testData/ir/irText/lambdas/localFunction.fir.txt b/compiler/testData/ir/irText/lambdas/localFunction.fir.ir.txt similarity index 100% rename from compiler/testData/ir/irText/lambdas/localFunction.fir.txt rename to compiler/testData/ir/irText/lambdas/localFunction.fir.ir.txt diff --git a/compiler/testData/ir/irText/lambdas/localFunction.txt b/compiler/testData/ir/irText/lambdas/localFunction.ir.txt similarity index 100% rename from compiler/testData/ir/irText/lambdas/localFunction.txt rename to compiler/testData/ir/irText/lambdas/localFunction.ir.txt diff --git a/compiler/testData/ir/irText/lambdas/localFunction.kt.txt b/compiler/testData/ir/irText/lambdas/localFunction.kt.txt index 7251b63792a..b2701e118e6 100644 --- a/compiler/testData/ir/irText/lambdas/localFunction.kt.txt +++ b/compiler/testData/ir/irText/lambdas/localFunction.kt.txt @@ -10,4 +10,3 @@ fun outer() { local() } - diff --git a/compiler/testData/ir/irText/lambdas/multipleImplicitReceivers.fir.txt b/compiler/testData/ir/irText/lambdas/multipleImplicitReceivers.fir.ir.txt similarity index 100% rename from compiler/testData/ir/irText/lambdas/multipleImplicitReceivers.fir.txt rename to compiler/testData/ir/irText/lambdas/multipleImplicitReceivers.fir.ir.txt diff --git a/compiler/testData/ir/irText/lambdas/multipleImplicitReceivers.txt b/compiler/testData/ir/irText/lambdas/multipleImplicitReceivers.ir.txt similarity index 100% rename from compiler/testData/ir/irText/lambdas/multipleImplicitReceivers.txt rename to compiler/testData/ir/irText/lambdas/multipleImplicitReceivers.ir.txt diff --git a/compiler/testData/ir/irText/lambdas/multipleImplicitReceivers.kt.txt b/compiler/testData/ir/irText/lambdas/multipleImplicitReceivers.kt.txt index c44b81ee74d..d06c879ddf0 100644 --- a/compiler/testData/ir/irText/lambdas/multipleImplicitReceivers.kt.txt +++ b/compiler/testData/ir/irText/lambdas/multipleImplicitReceivers.kt.txt @@ -43,4 +43,3 @@ fun test(fooImpl: IFoo, invokeImpl: IInvoke) { } ) /*~> Unit */ } - diff --git a/compiler/testData/ir/irText/lambdas/nonLocalReturn.fir.txt b/compiler/testData/ir/irText/lambdas/nonLocalReturn.fir.ir.txt similarity index 100% rename from compiler/testData/ir/irText/lambdas/nonLocalReturn.fir.txt rename to compiler/testData/ir/irText/lambdas/nonLocalReturn.fir.ir.txt diff --git a/compiler/testData/ir/irText/lambdas/nonLocalReturn.txt b/compiler/testData/ir/irText/lambdas/nonLocalReturn.ir.txt similarity index 100% rename from compiler/testData/ir/irText/lambdas/nonLocalReturn.txt rename to compiler/testData/ir/irText/lambdas/nonLocalReturn.ir.txt diff --git a/compiler/testData/ir/irText/lambdas/nonLocalReturn.kt.txt b/compiler/testData/ir/irText/lambdas/nonLocalReturn.kt.txt index d8da79eac95..fc7fe79d48d 100644 --- a/compiler/testData/ir/irText/lambdas/nonLocalReturn.kt.txt +++ b/compiler/testData/ir/irText/lambdas/nonLocalReturn.kt.txt @@ -48,4 +48,3 @@ fun testLrmFoo2(ints: List) { } ) } - diff --git a/compiler/testData/ir/irText/lambdas/samAdapter.txt b/compiler/testData/ir/irText/lambdas/samAdapter.ir.txt similarity index 100% rename from compiler/testData/ir/irText/lambdas/samAdapter.txt rename to compiler/testData/ir/irText/lambdas/samAdapter.ir.txt diff --git a/compiler/testData/ir/irText/lambdas/samAdapter.kt.txt b/compiler/testData/ir/irText/lambdas/samAdapter.kt.txt index 2b51cd1c355..59692529c69 100644 --- a/compiler/testData/ir/irText/lambdas/samAdapter.kt.txt +++ b/compiler/testData/ir/irText/lambdas/samAdapter.kt.txt @@ -5,4 +5,3 @@ fun test1() { /*-> Runnable */ hello.run() } - diff --git a/compiler/testData/ir/irText/regressions/coercionInLoop.fir.txt b/compiler/testData/ir/irText/regressions/coercionInLoop.fir.ir.txt similarity index 100% rename from compiler/testData/ir/irText/regressions/coercionInLoop.fir.txt rename to compiler/testData/ir/irText/regressions/coercionInLoop.fir.ir.txt diff --git a/compiler/testData/ir/irText/regressions/coercionInLoop.txt b/compiler/testData/ir/irText/regressions/coercionInLoop.ir.txt similarity index 100% rename from compiler/testData/ir/irText/regressions/coercionInLoop.txt rename to compiler/testData/ir/irText/regressions/coercionInLoop.ir.txt diff --git a/compiler/testData/ir/irText/regressions/coercionInLoop.kt.txt b/compiler/testData/ir/irText/regressions/coercionInLoop.kt.txt index 08cf9e5251f..effae5b4f19 100644 --- a/compiler/testData/ir/irText/regressions/coercionInLoop.kt.txt +++ b/compiler/testData/ir/irText/regressions/coercionInLoop.kt.txt @@ -14,4 +14,3 @@ fun box(): String { } return "OK" } - diff --git a/compiler/testData/ir/irText/regressions/integerCoercionToT.fir.txt b/compiler/testData/ir/irText/regressions/integerCoercionToT.fir.ir.txt similarity index 100% rename from compiler/testData/ir/irText/regressions/integerCoercionToT.fir.txt rename to compiler/testData/ir/irText/regressions/integerCoercionToT.fir.ir.txt diff --git a/compiler/testData/ir/irText/regressions/integerCoercionToT.txt b/compiler/testData/ir/irText/regressions/integerCoercionToT.ir.txt similarity index 100% rename from compiler/testData/ir/irText/regressions/integerCoercionToT.txt rename to compiler/testData/ir/irText/regressions/integerCoercionToT.ir.txt diff --git a/compiler/testData/ir/irText/regressions/integerCoercionToT.kt.txt b/compiler/testData/ir/irText/regressions/integerCoercionToT.kt.txt index 87d0b0596ef..e338e7a5dd3 100644 --- a/compiler/testData/ir/irText/regressions/integerCoercionToT.kt.txt +++ b/compiler/testData/ir/irText/regressions/integerCoercionToT.kt.txt @@ -39,4 +39,3 @@ class IdType : CPointed { fun foo(value: IdType, cv: CInt32VarX) { cv.(value = value.()) } - diff --git a/compiler/testData/ir/irText/regressions/kt24114.fir.txt b/compiler/testData/ir/irText/regressions/kt24114.fir.ir.txt similarity index 100% rename from compiler/testData/ir/irText/regressions/kt24114.fir.txt rename to compiler/testData/ir/irText/regressions/kt24114.fir.ir.txt diff --git a/compiler/testData/ir/irText/regressions/kt24114.txt b/compiler/testData/ir/irText/regressions/kt24114.ir.txt similarity index 100% rename from compiler/testData/ir/irText/regressions/kt24114.txt rename to compiler/testData/ir/irText/regressions/kt24114.ir.txt diff --git a/compiler/testData/ir/irText/regressions/kt24114.kt.txt b/compiler/testData/ir/irText/regressions/kt24114.kt.txt index 5635fdb1e83..7427e04f3f1 100644 --- a/compiler/testData/ir/irText/regressions/kt24114.kt.txt +++ b/compiler/testData/ir/irText/regressions/kt24114.kt.txt @@ -41,4 +41,3 @@ fun test2(): Int { } } } - diff --git a/compiler/testData/ir/irText/regressions/kt44855.fir.txt b/compiler/testData/ir/irText/regressions/kt44855.fir.ir.txt similarity index 100% rename from compiler/testData/ir/irText/regressions/kt44855.fir.txt rename to compiler/testData/ir/irText/regressions/kt44855.fir.ir.txt diff --git a/compiler/testData/ir/irText/regressions/kt44855.txt b/compiler/testData/ir/irText/regressions/kt44855.ir.txt similarity index 100% rename from compiler/testData/ir/irText/regressions/kt44855.txt rename to compiler/testData/ir/irText/regressions/kt44855.ir.txt diff --git a/compiler/testData/ir/irText/regressions/kt45236.fir.txt b/compiler/testData/ir/irText/regressions/kt45236.fir.ir.txt similarity index 100% rename from compiler/testData/ir/irText/regressions/kt45236.fir.txt rename to compiler/testData/ir/irText/regressions/kt45236.fir.ir.txt diff --git a/compiler/testData/ir/irText/regressions/kt45236.txt b/compiler/testData/ir/irText/regressions/kt45236.ir.txt similarity index 100% rename from compiler/testData/ir/irText/regressions/kt45236.txt rename to compiler/testData/ir/irText/regressions/kt45236.ir.txt diff --git a/compiler/testData/ir/irText/regressions/newInference/fixationOrder1.txt b/compiler/testData/ir/irText/regressions/newInference/fixationOrder1.ir.txt similarity index 100% rename from compiler/testData/ir/irText/regressions/newInference/fixationOrder1.txt rename to compiler/testData/ir/irText/regressions/newInference/fixationOrder1.ir.txt diff --git a/compiler/testData/ir/irText/regressions/newInference/fixationOrder1.kt.txt b/compiler/testData/ir/irText/regressions/newInference/fixationOrder1.kt.txt index 16405caf161..6ae5f6007b2 100644 --- a/compiler/testData/ir/irText/regressions/newInference/fixationOrder1.kt.txt +++ b/compiler/testData/ir/irText/regressions/newInference/fixationOrder1.kt.txt @@ -18,4 +18,3 @@ fun box(): String { val x: Inv2 = test() return "OK" } - diff --git a/compiler/testData/ir/irText/regressions/typeAliasCtorForGenericClass.fir.txt b/compiler/testData/ir/irText/regressions/typeAliasCtorForGenericClass.fir.ir.txt similarity index 100% rename from compiler/testData/ir/irText/regressions/typeAliasCtorForGenericClass.fir.txt rename to compiler/testData/ir/irText/regressions/typeAliasCtorForGenericClass.fir.ir.txt diff --git a/compiler/testData/ir/irText/regressions/typeAliasCtorForGenericClass.txt b/compiler/testData/ir/irText/regressions/typeAliasCtorForGenericClass.ir.txt similarity index 100% rename from compiler/testData/ir/irText/regressions/typeAliasCtorForGenericClass.txt rename to compiler/testData/ir/irText/regressions/typeAliasCtorForGenericClass.ir.txt diff --git a/compiler/testData/ir/irText/regressions/typeAliasCtorForGenericClass.kt.txt b/compiler/testData/ir/irText/regressions/typeAliasCtorForGenericClass.kt.txt index b8442141b85..32bad893dcd 100644 --- a/compiler/testData/ir/irText/regressions/typeAliasCtorForGenericClass.kt.txt +++ b/compiler/testData/ir/irText/regressions/typeAliasCtorForGenericClass.kt.txt @@ -17,4 +17,3 @@ fun bar() { val b: A = A(q = 2) val b2: A> = A>(q = b) } - diff --git a/compiler/testData/ir/irText/regressions/typeParametersInImplicitCast.fir.txt b/compiler/testData/ir/irText/regressions/typeParametersInImplicitCast.fir.ir.txt similarity index 100% rename from compiler/testData/ir/irText/regressions/typeParametersInImplicitCast.fir.txt rename to compiler/testData/ir/irText/regressions/typeParametersInImplicitCast.fir.ir.txt diff --git a/compiler/testData/ir/irText/regressions/typeParametersInImplicitCast.txt b/compiler/testData/ir/irText/regressions/typeParametersInImplicitCast.ir.txt similarity index 100% rename from compiler/testData/ir/irText/regressions/typeParametersInImplicitCast.txt rename to compiler/testData/ir/irText/regressions/typeParametersInImplicitCast.ir.txt diff --git a/compiler/testData/ir/irText/regressions/typeParametersInImplicitCast.kt.txt b/compiler/testData/ir/irText/regressions/typeParametersInImplicitCast.kt.txt index c9a25809c3f..383c5975732 100644 --- a/compiler/testData/ir/irText/regressions/typeParametersInImplicitCast.kt.txt +++ b/compiler/testData/ir/irText/regressions/typeParametersInImplicitCast.kt.txt @@ -4,4 +4,3 @@ fun problematic(lss: List>): List { } ) } - diff --git a/compiler/testData/ir/irText/singletons/companion.txt b/compiler/testData/ir/irText/singletons/companion.ir.txt similarity index 100% rename from compiler/testData/ir/irText/singletons/companion.txt rename to compiler/testData/ir/irText/singletons/companion.ir.txt diff --git a/compiler/testData/ir/irText/singletons/companion.kt.txt b/compiler/testData/ir/irText/singletons/companion.kt.txt index cfc50d1f2e1..a246dc241a8 100644 --- a/compiler/testData/ir/irText/singletons/companion.kt.txt +++ b/compiler/testData/ir/irText/singletons/companion.kt.txt @@ -22,4 +22,3 @@ class Z { } } - diff --git a/compiler/testData/ir/irText/singletons/enumEntry.fir.txt b/compiler/testData/ir/irText/singletons/enumEntry.fir.ir.txt similarity index 100% rename from compiler/testData/ir/irText/singletons/enumEntry.fir.txt rename to compiler/testData/ir/irText/singletons/enumEntry.fir.ir.txt diff --git a/compiler/testData/ir/irText/singletons/enumEntry.fir.kt.txt b/compiler/testData/ir/irText/singletons/enumEntry.fir.kt.txt index a025b5a881d..9f52d48ef76 100644 --- a/compiler/testData/ir/irText/singletons/enumEntry.fir.kt.txt +++ b/compiler/testData/ir/irText/singletons/enumEntry.fir.kt.txt @@ -36,4 +36,3 @@ open enum class Z : Enum { fun valueOf(value: String): Z /* Synthetic body for ENUM_VALUEOF */ } - diff --git a/compiler/testData/ir/irText/singletons/enumEntry.txt b/compiler/testData/ir/irText/singletons/enumEntry.ir.txt similarity index 100% rename from compiler/testData/ir/irText/singletons/enumEntry.txt rename to compiler/testData/ir/irText/singletons/enumEntry.ir.txt diff --git a/compiler/testData/ir/irText/singletons/enumEntry.kt.txt b/compiler/testData/ir/irText/singletons/enumEntry.kt.txt index cf845162a34..ce927f6b75b 100644 --- a/compiler/testData/ir/irText/singletons/enumEntry.kt.txt +++ b/compiler/testData/ir/irText/singletons/enumEntry.kt.txt @@ -36,4 +36,3 @@ open enum class Z : Enum { fun valueOf(value: String): Z /* Synthetic body for ENUM_VALUEOF */ } - diff --git a/compiler/testData/ir/irText/singletons/object.txt b/compiler/testData/ir/irText/singletons/object.ir.txt similarity index 100% rename from compiler/testData/ir/irText/singletons/object.txt rename to compiler/testData/ir/irText/singletons/object.ir.txt diff --git a/compiler/testData/ir/irText/singletons/object.kt.txt b/compiler/testData/ir/irText/singletons/object.kt.txt index 00acb4be5c1..cb62b884ee0 100644 --- a/compiler/testData/ir/irText/singletons/object.kt.txt +++ b/compiler/testData/ir/irText/singletons/object.kt.txt @@ -22,4 +22,3 @@ object Z { } } - diff --git a/compiler/testData/ir/irText/stubs/builtinMap.fir.txt b/compiler/testData/ir/irText/stubs/builtinMap.fir.ir.txt similarity index 100% rename from compiler/testData/ir/irText/stubs/builtinMap.fir.txt rename to compiler/testData/ir/irText/stubs/builtinMap.fir.ir.txt diff --git a/compiler/testData/ir/irText/stubs/builtinMap.txt b/compiler/testData/ir/irText/stubs/builtinMap.ir.txt similarity index 100% rename from compiler/testData/ir/irText/stubs/builtinMap.txt rename to compiler/testData/ir/irText/stubs/builtinMap.ir.txt diff --git a/compiler/testData/ir/irText/stubs/builtinMap.kt.txt b/compiler/testData/ir/irText/stubs/builtinMap.kt.txt index ab00f71891f..dcdab9956be 100644 --- a/compiler/testData/ir/irText/stubs/builtinMap.kt.txt +++ b/compiler/testData/ir/irText/stubs/builtinMap.kt.txt @@ -7,4 +7,3 @@ fun Map.plus(pair: Pair): Map ) } } - diff --git a/compiler/testData/ir/irText/stubs/constFromBuiltins.fir.txt b/compiler/testData/ir/irText/stubs/constFromBuiltins.fir.ir.txt similarity index 100% rename from compiler/testData/ir/irText/stubs/constFromBuiltins.fir.txt rename to compiler/testData/ir/irText/stubs/constFromBuiltins.fir.ir.txt diff --git a/compiler/testData/ir/irText/stubs/constFromBuiltins.fir.kt.txt b/compiler/testData/ir/irText/stubs/constFromBuiltins.fir.kt.txt index d183582fae8..7a869a56880 100644 --- a/compiler/testData/ir/irText/stubs/constFromBuiltins.fir.kt.txt +++ b/compiler/testData/ir/irText/stubs/constFromBuiltins.fir.kt.txt @@ -1,4 +1,3 @@ val test: Int field = Companion.#MIN_VALUE get - diff --git a/compiler/testData/ir/irText/stubs/constFromBuiltins.txt b/compiler/testData/ir/irText/stubs/constFromBuiltins.ir.txt similarity index 100% rename from compiler/testData/ir/irText/stubs/constFromBuiltins.txt rename to compiler/testData/ir/irText/stubs/constFromBuiltins.ir.txt diff --git a/compiler/testData/ir/irText/stubs/constFromBuiltins.kt.txt b/compiler/testData/ir/irText/stubs/constFromBuiltins.kt.txt index 767f8d8148f..56cbd56e480 100644 --- a/compiler/testData/ir/irText/stubs/constFromBuiltins.kt.txt +++ b/compiler/testData/ir/irText/stubs/constFromBuiltins.kt.txt @@ -1,4 +1,3 @@ val test: Int field = -2147483648 get - diff --git a/compiler/testData/ir/irText/stubs/constFromBuiltins__kotlin.Int.txt b/compiler/testData/ir/irText/stubs/constFromBuiltins__kotlin.Int.ir.txt similarity index 100% rename from compiler/testData/ir/irText/stubs/constFromBuiltins__kotlin.Int.txt rename to compiler/testData/ir/irText/stubs/constFromBuiltins__kotlin.Int.ir.txt diff --git a/compiler/testData/ir/irText/stubs/genericClassInDifferentModule.fir.txt b/compiler/testData/ir/irText/stubs/genericClassInDifferentModule.fir.ir.txt similarity index 100% rename from compiler/testData/ir/irText/stubs/genericClassInDifferentModule.fir.txt rename to compiler/testData/ir/irText/stubs/genericClassInDifferentModule.fir.ir.txt diff --git a/compiler/testData/ir/irText/stubs/genericClassInDifferentModule.txt b/compiler/testData/ir/irText/stubs/genericClassInDifferentModule.ir.txt similarity index 100% rename from compiler/testData/ir/irText/stubs/genericClassInDifferentModule.txt rename to compiler/testData/ir/irText/stubs/genericClassInDifferentModule.ir.txt diff --git a/compiler/testData/ir/irText/stubs/genericClassInDifferentModule.kt.txt b/compiler/testData/ir/irText/stubs/genericClassInDifferentModule.kt.txt index c9afe4180b8..95c3a55ee57 100644 --- a/compiler/testData/ir/irText/stubs/genericClassInDifferentModule.kt.txt +++ b/compiler/testData/ir/irText/stubs/genericClassInDifferentModule.kt.txt @@ -50,4 +50,3 @@ class Derived1 : Base { } } - diff --git a/compiler/testData/ir/irText/stubs/javaConstructorWithTypeParameters.fir.txt b/compiler/testData/ir/irText/stubs/javaConstructorWithTypeParameters.fir.ir.txt similarity index 100% rename from compiler/testData/ir/irText/stubs/javaConstructorWithTypeParameters.fir.txt rename to compiler/testData/ir/irText/stubs/javaConstructorWithTypeParameters.fir.ir.txt diff --git a/compiler/testData/ir/irText/stubs/javaConstructorWithTypeParameters.fir.kt.txt b/compiler/testData/ir/irText/stubs/javaConstructorWithTypeParameters.fir.kt.txt index 576daa7ec95..d932d1df450 100644 --- a/compiler/testData/ir/irText/stubs/javaConstructorWithTypeParameters.fir.kt.txt +++ b/compiler/testData/ir/irText/stubs/javaConstructorWithTypeParameters.fir.kt.txt @@ -13,4 +13,3 @@ fun test3(j1: J1): J2<@FlexibleNullability Int?, Any> { fun test4(j1: J1): J2<@FlexibleNullability Int?, Any> { return j1.J2<@FlexibleNullability Int?, @FlexibleNullability Int?>(x2 = 1) } - diff --git a/compiler/testData/ir/irText/stubs/javaConstructorWithTypeParameters.txt b/compiler/testData/ir/irText/stubs/javaConstructorWithTypeParameters.ir.txt similarity index 100% rename from compiler/testData/ir/irText/stubs/javaConstructorWithTypeParameters.txt rename to compiler/testData/ir/irText/stubs/javaConstructorWithTypeParameters.ir.txt diff --git a/compiler/testData/ir/irText/stubs/javaConstructorWithTypeParameters.kt.txt b/compiler/testData/ir/irText/stubs/javaConstructorWithTypeParameters.kt.txt index f0707ec2280..dcc37af115b 100644 --- a/compiler/testData/ir/irText/stubs/javaConstructorWithTypeParameters.kt.txt +++ b/compiler/testData/ir/irText/stubs/javaConstructorWithTypeParameters.kt.txt @@ -13,4 +13,3 @@ fun test3(j1: J1): J2 { fun test4(j1: J1): J2 { return j1.J2<@FlexibleNullability Int?, @FlexibleNullability Int?>(x2 = 1) } - diff --git a/compiler/testData/ir/irText/stubs/javaConstructorWithTypeParameters__J1.txt b/compiler/testData/ir/irText/stubs/javaConstructorWithTypeParameters__J1.ir.txt similarity index 100% rename from compiler/testData/ir/irText/stubs/javaConstructorWithTypeParameters__J1.txt rename to compiler/testData/ir/irText/stubs/javaConstructorWithTypeParameters__J1.ir.txt diff --git a/compiler/testData/ir/irText/stubs/javaEnum.fir.txt b/compiler/testData/ir/irText/stubs/javaEnum.fir.ir.txt similarity index 100% rename from compiler/testData/ir/irText/stubs/javaEnum.fir.txt rename to compiler/testData/ir/irText/stubs/javaEnum.fir.ir.txt diff --git a/compiler/testData/ir/irText/stubs/javaEnum.txt b/compiler/testData/ir/irText/stubs/javaEnum.ir.txt similarity index 100% rename from compiler/testData/ir/irText/stubs/javaEnum.txt rename to compiler/testData/ir/irText/stubs/javaEnum.ir.txt diff --git a/compiler/testData/ir/irText/stubs/javaEnum.kt.txt b/compiler/testData/ir/irText/stubs/javaEnum.kt.txt index c54b4e80132..10d54993604 100644 --- a/compiler/testData/ir/irText/stubs/javaEnum.kt.txt +++ b/compiler/testData/ir/irText/stubs/javaEnum.kt.txt @@ -1,4 +1,3 @@ val test: JEnum field = JEnum.ONE get - diff --git a/compiler/testData/ir/irText/stubs/javaInnerClass.fir.txt b/compiler/testData/ir/irText/stubs/javaInnerClass.fir.ir.txt similarity index 100% rename from compiler/testData/ir/irText/stubs/javaInnerClass.fir.txt rename to compiler/testData/ir/irText/stubs/javaInnerClass.fir.ir.txt diff --git a/compiler/testData/ir/irText/stubs/javaInnerClass.txt b/compiler/testData/ir/irText/stubs/javaInnerClass.ir.txt similarity index 100% rename from compiler/testData/ir/irText/stubs/javaInnerClass.txt rename to compiler/testData/ir/irText/stubs/javaInnerClass.ir.txt diff --git a/compiler/testData/ir/irText/stubs/javaInnerClass.kt.txt b/compiler/testData/ir/irText/stubs/javaInnerClass.kt.txt index e81bef77787..e2eb3738043 100644 --- a/compiler/testData/ir/irText/stubs/javaInnerClass.kt.txt +++ b/compiler/testData/ir/irText/stubs/javaInnerClass.kt.txt @@ -10,4 +10,3 @@ class Test1 : J { get } - diff --git a/compiler/testData/ir/irText/stubs/javaMethod.txt b/compiler/testData/ir/irText/stubs/javaMethod.ir.txt similarity index 100% rename from compiler/testData/ir/irText/stubs/javaMethod.txt rename to compiler/testData/ir/irText/stubs/javaMethod.ir.txt diff --git a/compiler/testData/ir/irText/stubs/javaMethod.kt.txt b/compiler/testData/ir/irText/stubs/javaMethod.kt.txt index 1c840c120a9..2c5624435f9 100644 --- a/compiler/testData/ir/irText/stubs/javaMethod.kt.txt +++ b/compiler/testData/ir/irText/stubs/javaMethod.kt.txt @@ -1,4 +1,3 @@ fun test(j: J) { return j.bar() } - diff --git a/compiler/testData/ir/irText/stubs/javaNestedClass.txt b/compiler/testData/ir/irText/stubs/javaNestedClass.ir.txt similarity index 100% rename from compiler/testData/ir/irText/stubs/javaNestedClass.txt rename to compiler/testData/ir/irText/stubs/javaNestedClass.ir.txt diff --git a/compiler/testData/ir/irText/stubs/javaNestedClass.kt.txt b/compiler/testData/ir/irText/stubs/javaNestedClass.kt.txt index 082b99ef617..6f6b88e95e9 100644 --- a/compiler/testData/ir/irText/stubs/javaNestedClass.kt.txt +++ b/compiler/testData/ir/irText/stubs/javaNestedClass.kt.txt @@ -1,4 +1,3 @@ fun test(jj: JJ) { return jj.foo() } - diff --git a/compiler/testData/ir/irText/stubs/javaStaticMethod.txt b/compiler/testData/ir/irText/stubs/javaStaticMethod.ir.txt similarity index 100% rename from compiler/testData/ir/irText/stubs/javaStaticMethod.txt rename to compiler/testData/ir/irText/stubs/javaStaticMethod.ir.txt diff --git a/compiler/testData/ir/irText/stubs/javaStaticMethod.kt.txt b/compiler/testData/ir/irText/stubs/javaStaticMethod.kt.txt index 7b1dbb41f68..fbb9a3fcc15 100644 --- a/compiler/testData/ir/irText/stubs/javaStaticMethod.kt.txt +++ b/compiler/testData/ir/irText/stubs/javaStaticMethod.kt.txt @@ -1,4 +1,3 @@ fun test() { return bar() } - diff --git a/compiler/testData/ir/irText/stubs/javaSyntheticProperty.txt b/compiler/testData/ir/irText/stubs/javaSyntheticProperty.ir.txt similarity index 100% rename from compiler/testData/ir/irText/stubs/javaSyntheticProperty.txt rename to compiler/testData/ir/irText/stubs/javaSyntheticProperty.ir.txt diff --git a/compiler/testData/ir/irText/stubs/javaSyntheticProperty.kt.txt b/compiler/testData/ir/irText/stubs/javaSyntheticProperty.kt.txt index 695d8b841e8..bab4123bc81 100644 --- a/compiler/testData/ir/irText/stubs/javaSyntheticProperty.kt.txt +++ b/compiler/testData/ir/irText/stubs/javaSyntheticProperty.kt.txt @@ -1,4 +1,3 @@ val test: @FlexibleNullability String? field = J().getFoo() get - diff --git a/compiler/testData/ir/irText/stubs/jdkClassSyntheticProperty.fir.txt b/compiler/testData/ir/irText/stubs/jdkClassSyntheticProperty.fir.ir.txt similarity index 100% rename from compiler/testData/ir/irText/stubs/jdkClassSyntheticProperty.fir.txt rename to compiler/testData/ir/irText/stubs/jdkClassSyntheticProperty.fir.ir.txt diff --git a/compiler/testData/ir/irText/stubs/jdkClassSyntheticProperty.txt b/compiler/testData/ir/irText/stubs/jdkClassSyntheticProperty.ir.txt similarity index 100% rename from compiler/testData/ir/irText/stubs/jdkClassSyntheticProperty.txt rename to compiler/testData/ir/irText/stubs/jdkClassSyntheticProperty.ir.txt diff --git a/compiler/testData/ir/irText/stubs/jdkClassSyntheticProperty.kt.txt b/compiler/testData/ir/irText/stubs/jdkClassSyntheticProperty.kt.txt index 6c39f9962d8..56853379b88 100644 --- a/compiler/testData/ir/irText/stubs/jdkClassSyntheticProperty.kt.txt +++ b/compiler/testData/ir/irText/stubs/jdkClassSyntheticProperty.kt.txt @@ -2,4 +2,3 @@ val Class<*>.test: @FlexibleNullability Array? get(): @FlexibleNullability Array? { return .getDeclaredFields<@FlexibleNullability Any?>() } - diff --git a/compiler/testData/ir/irText/stubs/kotlinInnerClass.txt b/compiler/testData/ir/irText/stubs/kotlinInnerClass.ir.txt similarity index 100% rename from compiler/testData/ir/irText/stubs/kotlinInnerClass.txt rename to compiler/testData/ir/irText/stubs/kotlinInnerClass.ir.txt diff --git a/compiler/testData/ir/irText/stubs/kotlinInnerClass.kt.txt b/compiler/testData/ir/irText/stubs/kotlinInnerClass.kt.txt index 9b09175f86f..d64e2d48909 100644 --- a/compiler/testData/ir/irText/stubs/kotlinInnerClass.kt.txt +++ b/compiler/testData/ir/irText/stubs/kotlinInnerClass.kt.txt @@ -1,4 +1,3 @@ fun test(inner: Inner) { return inner.foo() } - diff --git a/compiler/testData/ir/irText/stubs/simple.fir.txt b/compiler/testData/ir/irText/stubs/simple.fir.ir.txt similarity index 100% rename from compiler/testData/ir/irText/stubs/simple.fir.txt rename to compiler/testData/ir/irText/stubs/simple.fir.ir.txt diff --git a/compiler/testData/ir/irText/stubs/simple.fir.kt.txt b/compiler/testData/ir/irText/stubs/simple.fir.kt.txt index 136cd737001..025428ad02c 100644 --- a/compiler/testData/ir/irText/stubs/simple.fir.kt.txt +++ b/compiler/testData/ir/irText/stubs/simple.fir.kt.txt @@ -1,4 +1,3 @@ val test: Int field = 2.plus(other = 2) get - diff --git a/compiler/testData/ir/irText/stubs/simple.txt b/compiler/testData/ir/irText/stubs/simple.ir.txt similarity index 100% rename from compiler/testData/ir/irText/stubs/simple.txt rename to compiler/testData/ir/irText/stubs/simple.ir.txt diff --git a/compiler/testData/ir/irText/stubs/simple.kt.txt b/compiler/testData/ir/irText/stubs/simple.kt.txt index b3bb98d09a2..86f4eae8e0b 100644 --- a/compiler/testData/ir/irText/stubs/simple.kt.txt +++ b/compiler/testData/ir/irText/stubs/simple.kt.txt @@ -1,4 +1,3 @@ val test: Int field = 4 get - diff --git a/compiler/testData/ir/irText/types/abbreviatedTypes.fir.txt b/compiler/testData/ir/irText/types/abbreviatedTypes.fir.ir.txt similarity index 100% rename from compiler/testData/ir/irText/types/abbreviatedTypes.fir.txt rename to compiler/testData/ir/irText/types/abbreviatedTypes.fir.ir.txt diff --git a/compiler/testData/ir/irText/types/abbreviatedTypes.txt b/compiler/testData/ir/irText/types/abbreviatedTypes.ir.txt similarity index 100% rename from compiler/testData/ir/irText/types/abbreviatedTypes.txt rename to compiler/testData/ir/irText/types/abbreviatedTypes.ir.txt diff --git a/compiler/testData/ir/irText/types/abbreviatedTypes.kt.txt b/compiler/testData/ir/irText/types/abbreviatedTypes.kt.txt index 8aaac2081fa..4a01af01494 100644 --- a/compiler/testData/ir/irText/types/abbreviatedTypes.kt.txt +++ b/compiler/testData/ir/irText/types/abbreviatedTypes.kt.txt @@ -15,4 +15,3 @@ fun test3(x: List>): List> { fun test4(x: List>): List> { return x } - diff --git a/compiler/testData/ir/irText/types/asOnPlatformType.txt b/compiler/testData/ir/irText/types/asOnPlatformType.ir.txt similarity index 100% rename from compiler/testData/ir/irText/types/asOnPlatformType.txt rename to compiler/testData/ir/irText/types/asOnPlatformType.ir.txt diff --git a/compiler/testData/ir/irText/types/asOnPlatformType.kt.txt b/compiler/testData/ir/irText/types/asOnPlatformType.kt.txt index 637b9bb1368..5b580e7dc30 100644 --- a/compiler/testData/ir/irText/types/asOnPlatformType.kt.txt +++ b/compiler/testData/ir/irText/types/asOnPlatformType.kt.txt @@ -14,4 +14,3 @@ inline fun T.foo(): T { inline fun T.fooN(): T? { return as T? } - diff --git a/compiler/testData/ir/irText/types/castsInsideCoroutineInference.fir.txt b/compiler/testData/ir/irText/types/castsInsideCoroutineInference.fir.ir.txt similarity index 100% rename from compiler/testData/ir/irText/types/castsInsideCoroutineInference.fir.txt rename to compiler/testData/ir/irText/types/castsInsideCoroutineInference.fir.ir.txt diff --git a/compiler/testData/ir/irText/types/castsInsideCoroutineInference.fir.kt.txt b/compiler/testData/ir/irText/types/castsInsideCoroutineInference.fir.kt.txt index af4ff61363b..70a6f286968 100644 --- a/compiler/testData/ir/irText/types/castsInsideCoroutineInference.fir.kt.txt +++ b/compiler/testData/ir/irText/types/castsInsideCoroutineInference.fir.kt.txt @@ -113,12 +113,12 @@ interface CoroutineScope { } interface Flow { - abstract suspend fun collect(collector: FlowCollector) + abstract suspend fun collect(collector: FlowCollector) } interface FlowCollector { - abstract suspend fun emit(value: T) + abstract suspend fun emit(value: T) } @@ -138,7 +138,6 @@ interface ProducerScope : CoroutineScope, SendChannel { } interface SendChannel { - abstract suspend fun send(e: E) + abstract suspend fun send(e: E) } - diff --git a/compiler/testData/ir/irText/types/castsInsideCoroutineInference.txt b/compiler/testData/ir/irText/types/castsInsideCoroutineInference.ir.txt similarity index 100% rename from compiler/testData/ir/irText/types/castsInsideCoroutineInference.txt rename to compiler/testData/ir/irText/types/castsInsideCoroutineInference.ir.txt diff --git a/compiler/testData/ir/irText/types/castsInsideCoroutineInference.kt.txt b/compiler/testData/ir/irText/types/castsInsideCoroutineInference.kt.txt index 0e69616348d..11ecc0bcc6e 100644 --- a/compiler/testData/ir/irText/types/castsInsideCoroutineInference.kt.txt +++ b/compiler/testData/ir/irText/types/castsInsideCoroutineInference.kt.txt @@ -113,12 +113,12 @@ interface CoroutineScope { } interface Flow { - abstract suspend fun collect(collector: FlowCollector) + abstract suspend fun collect(collector: FlowCollector) } interface FlowCollector { - abstract suspend fun emit(value: T) + abstract suspend fun emit(value: T) } @@ -138,7 +138,6 @@ interface ProducerScope : CoroutineScope, SendChannel { } interface SendChannel { - abstract suspend fun send(e: E) + abstract suspend fun send(e: E) } - diff --git a/compiler/testData/ir/irText/types/coercionToUnitInLambdaReturnValue.txt b/compiler/testData/ir/irText/types/coercionToUnitInLambdaReturnValue.ir.txt similarity index 100% rename from compiler/testData/ir/irText/types/coercionToUnitInLambdaReturnValue.txt rename to compiler/testData/ir/irText/types/coercionToUnitInLambdaReturnValue.ir.txt diff --git a/compiler/testData/ir/irText/types/coercionToUnitInLambdaReturnValue.kt.txt b/compiler/testData/ir/irText/types/coercionToUnitInLambdaReturnValue.kt.txt index e00e3c5c9d1..3ca98e90cd7 100644 --- a/compiler/testData/ir/irText/types/coercionToUnitInLambdaReturnValue.kt.txt +++ b/compiler/testData/ir/irText/types/coercionToUnitInLambdaReturnValue.kt.txt @@ -7,4 +7,3 @@ fun test() { } ) } - diff --git a/compiler/testData/ir/irText/types/genericDelegatedDeepProperty.fir.txt b/compiler/testData/ir/irText/types/genericDelegatedDeepProperty.fir.ir.txt similarity index 100% rename from compiler/testData/ir/irText/types/genericDelegatedDeepProperty.fir.txt rename to compiler/testData/ir/irText/types/genericDelegatedDeepProperty.fir.ir.txt diff --git a/compiler/testData/ir/irText/types/genericDelegatedDeepProperty.txt b/compiler/testData/ir/irText/types/genericDelegatedDeepProperty.ir.txt similarity index 100% rename from compiler/testData/ir/irText/types/genericDelegatedDeepProperty.txt rename to compiler/testData/ir/irText/types/genericDelegatedDeepProperty.ir.txt diff --git a/compiler/testData/ir/irText/types/genericDelegatedDeepProperty.kt.txt b/compiler/testData/ir/irText/types/genericDelegatedDeepProperty.kt.txt index b100f0c31d3..f6ee5f05738 100644 --- a/compiler/testData/ir/irText/types/genericDelegatedDeepProperty.kt.txt +++ b/compiler/testData/ir/irText/types/genericDelegatedDeepProperty.kt.txt @@ -17,17 +17,17 @@ class Value> { } interface IDelegate1 { - abstract operator fun getValue(t: T1, p: KProperty<*>): R1 + abstract operator fun getValue(t: T1, p: KProperty<*>): R1 } interface IDelegate2 { - abstract operator fun getValue(t: T2, p: KProperty<*>): R2 + abstract operator fun getValue(t: T2, p: KProperty<*>): R2 } interface IR { - abstract fun foo(): R + abstract fun foo(): R } @@ -65,7 +65,7 @@ class P { } -val Value>.additionalText: P /* by */ +val Value>.additionalText: P /* by */ field = { // BLOCK local class : IDelegate1>, P> { constructor() /* primary */ { @@ -82,7 +82,7 @@ val Value>.additionalText: P /* by */ return t.foo() /*as Any? */ } - private val Value>.deepO: Any? /* by */ + private val Value>.deepO: Any? /* by */ field = { // BLOCK local class : IDelegate1>, Any?> { constructor() /* primary */ { @@ -111,7 +111,7 @@ val Value>.additionalText: P /* by */ return .#deepO$delegate.getValue(t = , p = ::deepO) /*as Any? */ } - private val Value>.deepK: Any? /* by */ + private val Value>.deepK: Any? /* by */ field = { // BLOCK local class : IDelegate1>, Any?> { constructor() /* primary */ { @@ -143,4 +143,3 @@ val Value>.additionalText: P /* by */ get(): P { return #additionalText$delegate.getValue(t = , p = ::additionalText/*()*/) } - diff --git a/compiler/testData/ir/irText/types/genericFunWithStar.fir.txt b/compiler/testData/ir/irText/types/genericFunWithStar.fir.ir.txt similarity index 100% rename from compiler/testData/ir/irText/types/genericFunWithStar.fir.txt rename to compiler/testData/ir/irText/types/genericFunWithStar.fir.ir.txt diff --git a/compiler/testData/ir/irText/types/genericFunWithStar.txt b/compiler/testData/ir/irText/types/genericFunWithStar.ir.txt similarity index 100% rename from compiler/testData/ir/irText/types/genericFunWithStar.txt rename to compiler/testData/ir/irText/types/genericFunWithStar.ir.txt diff --git a/compiler/testData/ir/irText/types/genericFunWithStar.kt.txt b/compiler/testData/ir/irText/types/genericFunWithStar.kt.txt index 40711fc6140..5b55e04241f 100644 --- a/compiler/testData/ir/irText/types/genericFunWithStar.kt.txt +++ b/compiler/testData/ir/irText/types/genericFunWithStar.kt.txt @@ -21,10 +21,9 @@ abstract class Box : IFoo, IBar where T : IFoo, T : IBar { } - abstract fun foo(tSerializer: I): I> where F : IFoo, F : IBar + abstract fun foo(tSerializer: I): I> where F : IFoo, F : IBar fun bar(vararg serializers: I<*>): I<*> { return .foo(tSerializer = serializers.get(index = 0)) } } - diff --git a/compiler/testData/ir/irText/types/genericPropertyReferenceType.fir.txt b/compiler/testData/ir/irText/types/genericPropertyReferenceType.fir.ir.txt similarity index 100% rename from compiler/testData/ir/irText/types/genericPropertyReferenceType.fir.txt rename to compiler/testData/ir/irText/types/genericPropertyReferenceType.fir.ir.txt diff --git a/compiler/testData/ir/irText/types/genericPropertyReferenceType.txt b/compiler/testData/ir/irText/types/genericPropertyReferenceType.ir.txt similarity index 100% rename from compiler/testData/ir/irText/types/genericPropertyReferenceType.txt rename to compiler/testData/ir/irText/types/genericPropertyReferenceType.ir.txt diff --git a/compiler/testData/ir/irText/types/genericPropertyReferenceType.kt.txt b/compiler/testData/ir/irText/types/genericPropertyReferenceType.kt.txt index 19607410ad6..4a847278e99 100644 --- a/compiler/testData/ir/irText/types/genericPropertyReferenceType.kt.txt +++ b/compiler/testData/ir/irText/types/genericPropertyReferenceType.kt.txt @@ -31,4 +31,3 @@ fun test2(a: Any) { a as C /*~> Unit */ use(p = a /*as C */::y/*()*/) } - diff --git a/compiler/testData/ir/irText/types/inStarProjectionInReceiverType.txt b/compiler/testData/ir/irText/types/inStarProjectionInReceiverType.ir.txt similarity index 100% rename from compiler/testData/ir/irText/types/inStarProjectionInReceiverType.txt rename to compiler/testData/ir/irText/types/inStarProjectionInReceiverType.ir.txt diff --git a/compiler/testData/ir/irText/types/inStarProjectionInReceiverType.kt.txt b/compiler/testData/ir/irText/types/inStarProjectionInReceiverType.kt.txt index e2dfea3a07c..05b8e171154 100644 --- a/compiler/testData/ir/irText/types/inStarProjectionInReceiverType.kt.txt +++ b/compiler/testData/ir/irText/types/inStarProjectionInReceiverType.kt.txt @@ -2,7 +2,7 @@ interface Foo { abstract val x: Int abstract get - abstract fun foo(x: T) + abstract fun foo(x: T) } @@ -18,4 +18,3 @@ fun Foo<*>.testSmartCastOnExtensionReceiver() { fun testValueParameter(vp: Foo<*>): Int { return vp.() } - diff --git a/compiler/testData/ir/irText/types/intersectionType1_NI.fir.txt b/compiler/testData/ir/irText/types/intersectionType1_NI.fir.ir.txt similarity index 100% rename from compiler/testData/ir/irText/types/intersectionType1_NI.fir.txt rename to compiler/testData/ir/irText/types/intersectionType1_NI.fir.ir.txt diff --git a/compiler/testData/ir/irText/types/intersectionType1_NI.fir.kt.txt b/compiler/testData/ir/irText/types/intersectionType1_NI.fir.kt.txt index 00b80c7c3ab..a0bda919653 100644 --- a/compiler/testData/ir/irText/types/intersectionType1_NI.fir.kt.txt +++ b/compiler/testData/ir/irText/types/intersectionType1_NI.fir.kt.txt @@ -24,4 +24,3 @@ fun test() { val a2: Array> = arrayOf>(elements = [In()]) foo(a = a1, b = a2) /*~> Unit */ } - diff --git a/compiler/testData/ir/irText/types/intersectionType1_NI.txt b/compiler/testData/ir/irText/types/intersectionType1_NI.ir.txt similarity index 100% rename from compiler/testData/ir/irText/types/intersectionType1_NI.txt rename to compiler/testData/ir/irText/types/intersectionType1_NI.ir.txt diff --git a/compiler/testData/ir/irText/types/intersectionType1_NI.kt.txt b/compiler/testData/ir/irText/types/intersectionType1_NI.kt.txt index 7aaeee102a3..ff496baed44 100644 --- a/compiler/testData/ir/irText/types/intersectionType1_NI.kt.txt +++ b/compiler/testData/ir/irText/types/intersectionType1_NI.kt.txt @@ -24,4 +24,3 @@ fun test() { val a2: Array> = arrayOf>(elements = [In()]) foo(a = a1, b = a2) /*~> Unit */ } - diff --git a/compiler/testData/ir/irText/types/intersectionType1_OI.fir.txt b/compiler/testData/ir/irText/types/intersectionType1_OI.fir.ir.txt similarity index 100% rename from compiler/testData/ir/irText/types/intersectionType1_OI.fir.txt rename to compiler/testData/ir/irText/types/intersectionType1_OI.fir.ir.txt diff --git a/compiler/testData/ir/irText/types/intersectionType1_OI.fir.kt.txt b/compiler/testData/ir/irText/types/intersectionType1_OI.fir.kt.txt index 00b80c7c3ab..a0bda919653 100644 --- a/compiler/testData/ir/irText/types/intersectionType1_OI.fir.kt.txt +++ b/compiler/testData/ir/irText/types/intersectionType1_OI.fir.kt.txt @@ -24,4 +24,3 @@ fun test() { val a2: Array> = arrayOf>(elements = [In()]) foo(a = a1, b = a2) /*~> Unit */ } - diff --git a/compiler/testData/ir/irText/types/intersectionType1_OI.txt b/compiler/testData/ir/irText/types/intersectionType1_OI.ir.txt similarity index 100% rename from compiler/testData/ir/irText/types/intersectionType1_OI.txt rename to compiler/testData/ir/irText/types/intersectionType1_OI.ir.txt diff --git a/compiler/testData/ir/irText/types/intersectionType1_OI.kt.txt b/compiler/testData/ir/irText/types/intersectionType1_OI.kt.txt index c37fb6f6ba6..e92ae81955b 100644 --- a/compiler/testData/ir/irText/types/intersectionType1_OI.kt.txt +++ b/compiler/testData/ir/irText/types/intersectionType1_OI.kt.txt @@ -24,4 +24,3 @@ fun test() { val a2: Array> = arrayOf>(elements = [In()]) foo(a = a1, b = a2) /*~> Unit */ } - diff --git a/compiler/testData/ir/irText/types/intersectionType2_NI.fir.txt b/compiler/testData/ir/irText/types/intersectionType2_NI.fir.ir.txt similarity index 100% rename from compiler/testData/ir/irText/types/intersectionType2_NI.fir.txt rename to compiler/testData/ir/irText/types/intersectionType2_NI.fir.ir.txt diff --git a/compiler/testData/ir/irText/types/intersectionType2_NI.txt b/compiler/testData/ir/irText/types/intersectionType2_NI.ir.txt similarity index 100% rename from compiler/testData/ir/irText/types/intersectionType2_NI.txt rename to compiler/testData/ir/irText/types/intersectionType2_NI.ir.txt diff --git a/compiler/testData/ir/irText/types/intersectionType2_NI.kt.txt b/compiler/testData/ir/irText/types/intersectionType2_NI.kt.txt index ef0b70b239e..a49ffc2b7a3 100644 --- a/compiler/testData/ir/irText/types/intersectionType2_NI.kt.txt +++ b/compiler/testData/ir/irText/types/intersectionType2_NI.kt.txt @@ -40,4 +40,3 @@ fun foo(): Any { } ) } - diff --git a/compiler/testData/ir/irText/types/intersectionType2_OI.fir.txt b/compiler/testData/ir/irText/types/intersectionType2_OI.fir.ir.txt similarity index 100% rename from compiler/testData/ir/irText/types/intersectionType2_OI.fir.txt rename to compiler/testData/ir/irText/types/intersectionType2_OI.fir.ir.txt diff --git a/compiler/testData/ir/irText/types/intersectionType2_OI.txt b/compiler/testData/ir/irText/types/intersectionType2_OI.ir.txt similarity index 100% rename from compiler/testData/ir/irText/types/intersectionType2_OI.txt rename to compiler/testData/ir/irText/types/intersectionType2_OI.ir.txt diff --git a/compiler/testData/ir/irText/types/intersectionType2_OI.kt.txt b/compiler/testData/ir/irText/types/intersectionType2_OI.kt.txt index ef0b70b239e..a49ffc2b7a3 100644 --- a/compiler/testData/ir/irText/types/intersectionType2_OI.kt.txt +++ b/compiler/testData/ir/irText/types/intersectionType2_OI.kt.txt @@ -40,4 +40,3 @@ fun foo(): Any { } ) } - diff --git a/compiler/testData/ir/irText/types/intersectionType3_NI.txt b/compiler/testData/ir/irText/types/intersectionType3_NI.ir.txt similarity index 100% rename from compiler/testData/ir/irText/types/intersectionType3_NI.txt rename to compiler/testData/ir/irText/types/intersectionType3_NI.ir.txt diff --git a/compiler/testData/ir/irText/types/intersectionType3_NI.kt.txt b/compiler/testData/ir/irText/types/intersectionType3_NI.kt.txt index cdf61cbb830..c4bfe708b73 100644 --- a/compiler/testData/ir/irText/types/intersectionType3_NI.kt.txt +++ b/compiler/testData/ir/irText/types/intersectionType3_NI.kt.txt @@ -61,4 +61,3 @@ fun testInAs2(x: In, y: In) { fun testInAs3(x: In, y: In) { return sel>(x = x, y = y).asT() } - diff --git a/compiler/testData/ir/irText/types/intersectionType3_OI.fir.txt b/compiler/testData/ir/irText/types/intersectionType3_OI.fir.ir.txt similarity index 100% rename from compiler/testData/ir/irText/types/intersectionType3_OI.fir.txt rename to compiler/testData/ir/irText/types/intersectionType3_OI.fir.ir.txt diff --git a/compiler/testData/ir/irText/types/intersectionType3_OI.fir.kt.txt b/compiler/testData/ir/irText/types/intersectionType3_OI.fir.kt.txt index cdf61cbb830..c4bfe708b73 100644 --- a/compiler/testData/ir/irText/types/intersectionType3_OI.fir.kt.txt +++ b/compiler/testData/ir/irText/types/intersectionType3_OI.fir.kt.txt @@ -61,4 +61,3 @@ fun testInAs2(x: In, y: In) { fun testInAs3(x: In, y: In) { return sel>(x = x, y = y).asT() } - diff --git a/compiler/testData/ir/irText/types/intersectionType3_OI.txt b/compiler/testData/ir/irText/types/intersectionType3_OI.ir.txt similarity index 100% rename from compiler/testData/ir/irText/types/intersectionType3_OI.txt rename to compiler/testData/ir/irText/types/intersectionType3_OI.ir.txt diff --git a/compiler/testData/ir/irText/types/intersectionType3_OI.kt.txt b/compiler/testData/ir/irText/types/intersectionType3_OI.kt.txt index 96efd3ff991..34381af28cc 100644 --- a/compiler/testData/ir/irText/types/intersectionType3_OI.kt.txt +++ b/compiler/testData/ir/irText/types/intersectionType3_OI.kt.txt @@ -61,4 +61,3 @@ fun testInAs2(x: In, y: In) { fun testInAs3(x: In, y: In) { return sel>(x = x, y = y).asT() } - diff --git a/compiler/testData/ir/irText/types/intersectionTypeInSamType.fir.txt b/compiler/testData/ir/irText/types/intersectionTypeInSamType.fir.ir.txt similarity index 100% rename from compiler/testData/ir/irText/types/intersectionTypeInSamType.fir.txt rename to compiler/testData/ir/irText/types/intersectionTypeInSamType.fir.ir.txt diff --git a/compiler/testData/ir/irText/types/intersectionTypeInSamType.txt b/compiler/testData/ir/irText/types/intersectionTypeInSamType.ir.txt similarity index 100% rename from compiler/testData/ir/irText/types/intersectionTypeInSamType.txt rename to compiler/testData/ir/irText/types/intersectionTypeInSamType.ir.txt diff --git a/compiler/testData/ir/irText/types/javaWildcardType.fir.txt b/compiler/testData/ir/irText/types/javaWildcardType.fir.ir.txt similarity index 100% rename from compiler/testData/ir/irText/types/javaWildcardType.fir.txt rename to compiler/testData/ir/irText/types/javaWildcardType.fir.ir.txt diff --git a/compiler/testData/ir/irText/types/javaWildcardType.fir.kt.txt b/compiler/testData/ir/irText/types/javaWildcardType.fir.kt.txt index 6c4e55aa877..7c474ca4a3f 100644 --- a/compiler/testData/ir/irText/types/javaWildcardType.fir.kt.txt +++ b/compiler/testData/ir/irText/types/javaWildcardType.fir.kt.txt @@ -49,4 +49,3 @@ class C : J, K { local /* final field */ val <$$delegate_1>: K = k } - diff --git a/compiler/testData/ir/irText/types/javaWildcardType.txt b/compiler/testData/ir/irText/types/javaWildcardType.ir.txt similarity index 100% rename from compiler/testData/ir/irText/types/javaWildcardType.txt rename to compiler/testData/ir/irText/types/javaWildcardType.ir.txt diff --git a/compiler/testData/ir/irText/types/javaWildcardType.kt.txt b/compiler/testData/ir/irText/types/javaWildcardType.kt.txt index 2586205c6ca..6f19f315bf8 100644 --- a/compiler/testData/ir/irText/types/javaWildcardType.kt.txt +++ b/compiler/testData/ir/irText/types/javaWildcardType.kt.txt @@ -1,8 +1,8 @@ interface K { - abstract fun kf1(): Collection - abstract fun kf2(): Collection - abstract fun kg1(c: Collection) - abstract fun kg2(c: Collection) + abstract fun kf1(): Collection + abstract fun kf2(): Collection + abstract fun kg1(c: Collection) + abstract fun kg2(c: Collection) } @@ -48,4 +48,3 @@ class C : J, K { } } - diff --git a/compiler/testData/ir/irText/types/kt36143.txt b/compiler/testData/ir/irText/types/kt36143.ir.txt similarity index 100% rename from compiler/testData/ir/irText/types/kt36143.txt rename to compiler/testData/ir/irText/types/kt36143.ir.txt diff --git a/compiler/testData/ir/irText/types/kt36143.kt.txt b/compiler/testData/ir/irText/types/kt36143.kt.txt index c182da4f6fc..c4a7b3b6767 100644 --- a/compiler/testData/ir/irText/types/kt36143.kt.txt +++ b/compiler/testData/ir/irText/types/kt36143.kt.txt @@ -1,4 +1,3 @@ fun Array.test(): Int { return .() } - diff --git a/compiler/testData/ir/irText/types/localVariableOfIntersectionType_NI.fir.txt b/compiler/testData/ir/irText/types/localVariableOfIntersectionType_NI.fir.ir.txt similarity index 100% rename from compiler/testData/ir/irText/types/localVariableOfIntersectionType_NI.fir.txt rename to compiler/testData/ir/irText/types/localVariableOfIntersectionType_NI.fir.ir.txt diff --git a/compiler/testData/ir/irText/types/localVariableOfIntersectionType_NI.txt b/compiler/testData/ir/irText/types/localVariableOfIntersectionType_NI.ir.txt similarity index 100% rename from compiler/testData/ir/irText/types/localVariableOfIntersectionType_NI.txt rename to compiler/testData/ir/irText/types/localVariableOfIntersectionType_NI.ir.txt diff --git a/compiler/testData/ir/irText/types/localVariableOfIntersectionType_NI.kt.txt b/compiler/testData/ir/irText/types/localVariableOfIntersectionType_NI.kt.txt index 71bb74b8449..ac2d2493d06 100644 --- a/compiler/testData/ir/irText/types/localVariableOfIntersectionType_NI.kt.txt +++ b/compiler/testData/ir/irText/types/localVariableOfIntersectionType_NI.kt.txt @@ -9,17 +9,17 @@ interface Inv { } interface Z { - abstract fun create(x: In, y: In): Inv + abstract fun create(x: In, y: In): Inv } interface IA { - abstract fun foo() + abstract fun foo() } interface IB { - abstract fun bar() + abstract fun bar() } @@ -30,4 +30,3 @@ fun test(a: In, b: In, z: Z) { t /*as IA */.foo() t /*as IB */.bar() } - diff --git a/compiler/testData/ir/irText/types/nullChecks/enhancedNullability.txt b/compiler/testData/ir/irText/types/nullChecks/enhancedNullability.ir.txt similarity index 100% rename from compiler/testData/ir/irText/types/nullChecks/enhancedNullability.txt rename to compiler/testData/ir/irText/types/nullChecks/enhancedNullability.ir.txt diff --git a/compiler/testData/ir/irText/types/nullChecks/enhancedNullability.kt.txt b/compiler/testData/ir/irText/types/nullChecks/enhancedNullability.kt.txt index ba76c34a25e..6cd792c3357 100644 --- a/compiler/testData/ir/irText/types/nullChecks/enhancedNullability.kt.txt +++ b/compiler/testData/ir/irText/types/nullChecks/enhancedNullability.kt.txt @@ -33,4 +33,3 @@ fun testLocalVarUse() { val nns: String = notNullString() /*!! String */ use(s = nns) } - diff --git a/compiler/testData/ir/irText/types/nullChecks/enhancedNullabilityInDestructuringAssignment.fir.txt b/compiler/testData/ir/irText/types/nullChecks/enhancedNullabilityInDestructuringAssignment.fir.ir.txt similarity index 100% rename from compiler/testData/ir/irText/types/nullChecks/enhancedNullabilityInDestructuringAssignment.fir.txt rename to compiler/testData/ir/irText/types/nullChecks/enhancedNullabilityInDestructuringAssignment.fir.ir.txt diff --git a/compiler/testData/ir/irText/types/nullChecks/enhancedNullabilityInDestructuringAssignment.fir.kt.txt b/compiler/testData/ir/irText/types/nullChecks/enhancedNullabilityInDestructuringAssignment.fir.kt.txt index dac1a70a37e..0766698280b 100644 --- a/compiler/testData/ir/irText/types/nullChecks/enhancedNullabilityInDestructuringAssignment.fir.kt.txt +++ b/compiler/testData/ir/irText/types/nullChecks/enhancedNullabilityInDestructuringAssignment.fir.kt.txt @@ -85,4 +85,3 @@ fun test4() { val y: P = .component2() /*!! P */ use(x = x, y = y) } - diff --git a/compiler/testData/ir/irText/types/nullChecks/enhancedNullabilityInDestructuringAssignment.txt b/compiler/testData/ir/irText/types/nullChecks/enhancedNullabilityInDestructuringAssignment.ir.txt similarity index 100% rename from compiler/testData/ir/irText/types/nullChecks/enhancedNullabilityInDestructuringAssignment.txt rename to compiler/testData/ir/irText/types/nullChecks/enhancedNullabilityInDestructuringAssignment.ir.txt diff --git a/compiler/testData/ir/irText/types/nullChecks/enhancedNullabilityInDestructuringAssignment.kt.txt b/compiler/testData/ir/irText/types/nullChecks/enhancedNullabilityInDestructuringAssignment.kt.txt index 636b607a86b..909ba08d9f8 100644 --- a/compiler/testData/ir/irText/types/nullChecks/enhancedNullabilityInDestructuringAssignment.kt.txt +++ b/compiler/testData/ir/irText/types/nullChecks/enhancedNullabilityInDestructuringAssignment.kt.txt @@ -93,4 +93,3 @@ fun test4() { // } use(x = x, y = y /*!! @NotNull P */) } - diff --git a/compiler/testData/ir/irText/types/nullChecks/enhancedNullabilityInForLoop.fir.txt b/compiler/testData/ir/irText/types/nullChecks/enhancedNullabilityInForLoop.fir.ir.txt similarity index 100% rename from compiler/testData/ir/irText/types/nullChecks/enhancedNullabilityInForLoop.fir.txt rename to compiler/testData/ir/irText/types/nullChecks/enhancedNullabilityInForLoop.fir.ir.txt diff --git a/compiler/testData/ir/irText/types/nullChecks/enhancedNullabilityInForLoop.fir.kt.txt b/compiler/testData/ir/irText/types/nullChecks/enhancedNullabilityInForLoop.fir.kt.txt index 8d77c9deafd..d4874918110 100644 --- a/compiler/testData/ir/irText/types/nullChecks/enhancedNullabilityInForLoop.fir.kt.txt +++ b/compiler/testData/ir/irText/types/nullChecks/enhancedNullabilityInForLoop.fir.kt.txt @@ -66,7 +66,7 @@ fun testForInArrayUse(j: J) { } interface K { - abstract fun arrayOfNotNull(): Array

+ abstract fun arrayOfNotNull(): Array

} @@ -125,4 +125,3 @@ data class P { } } - diff --git a/compiler/testData/ir/irText/types/nullChecks/enhancedNullabilityInForLoop.txt b/compiler/testData/ir/irText/types/nullChecks/enhancedNullabilityInForLoop.ir.txt similarity index 100% rename from compiler/testData/ir/irText/types/nullChecks/enhancedNullabilityInForLoop.txt rename to compiler/testData/ir/irText/types/nullChecks/enhancedNullabilityInForLoop.ir.txt diff --git a/compiler/testData/ir/irText/types/nullChecks/enhancedNullabilityInForLoop.kt.txt b/compiler/testData/ir/irText/types/nullChecks/enhancedNullabilityInForLoop.kt.txt index bf023d4f2c2..43843719961 100644 --- a/compiler/testData/ir/irText/types/nullChecks/enhancedNullabilityInForLoop.kt.txt +++ b/compiler/testData/ir/irText/types/nullChecks/enhancedNullabilityInForLoop.kt.txt @@ -70,7 +70,7 @@ fun testForInArrayUse(j: J) { } interface K { - abstract fun arrayOfNotNull(): Array

+ abstract fun arrayOfNotNull(): Array

} @@ -129,4 +129,3 @@ data class P { } } - diff --git a/compiler/testData/ir/irText/types/nullChecks/explicitEqualsAndCompareToCallsOnPlatformTypeReceiver.fir.txt b/compiler/testData/ir/irText/types/nullChecks/explicitEqualsAndCompareToCallsOnPlatformTypeReceiver.fir.ir.txt similarity index 100% rename from compiler/testData/ir/irText/types/nullChecks/explicitEqualsAndCompareToCallsOnPlatformTypeReceiver.fir.txt rename to compiler/testData/ir/irText/types/nullChecks/explicitEqualsAndCompareToCallsOnPlatformTypeReceiver.fir.ir.txt diff --git a/compiler/testData/ir/irText/types/nullChecks/explicitEqualsAndCompareToCallsOnPlatformTypeReceiver.fir.kt.txt b/compiler/testData/ir/irText/types/nullChecks/explicitEqualsAndCompareToCallsOnPlatformTypeReceiver.fir.kt.txt index 1a112d26326..25067da52db 100644 --- a/compiler/testData/ir/irText/types/nullChecks/explicitEqualsAndCompareToCallsOnPlatformTypeReceiver.fir.kt.txt +++ b/compiler/testData/ir/irText/types/nullChecks/explicitEqualsAndCompareToCallsOnPlatformTypeReceiver.fir.kt.txt @@ -21,4 +21,3 @@ fun JavaClass.testPlatformCompareToKotlin(): Int { fun JavaClass.testKotlinCompareToPlatform(): Int { return 0.0.compareTo(other = .null0() /*!! @FlexibleNullability Double */) } - diff --git a/compiler/testData/ir/irText/types/nullChecks/explicitEqualsAndCompareToCallsOnPlatformTypeReceiver.txt b/compiler/testData/ir/irText/types/nullChecks/explicitEqualsAndCompareToCallsOnPlatformTypeReceiver.ir.txt similarity index 100% rename from compiler/testData/ir/irText/types/nullChecks/explicitEqualsAndCompareToCallsOnPlatformTypeReceiver.txt rename to compiler/testData/ir/irText/types/nullChecks/explicitEqualsAndCompareToCallsOnPlatformTypeReceiver.ir.txt diff --git a/compiler/testData/ir/irText/types/nullChecks/explicitEqualsAndCompareToCallsOnPlatformTypeReceiver.kt.txt b/compiler/testData/ir/irText/types/nullChecks/explicitEqualsAndCompareToCallsOnPlatformTypeReceiver.kt.txt index 2abfe883553..7d106cf39b5 100644 --- a/compiler/testData/ir/irText/types/nullChecks/explicitEqualsAndCompareToCallsOnPlatformTypeReceiver.kt.txt +++ b/compiler/testData/ir/irText/types/nullChecks/explicitEqualsAndCompareToCallsOnPlatformTypeReceiver.kt.txt @@ -21,4 +21,3 @@ fun JavaClass.testPlatformCompareToKotlin(): Int { fun JavaClass.testKotlinCompareToPlatform(): Int { return 0.0.compareTo(other = .null0() /*!! Double */) } - diff --git a/compiler/testData/ir/irText/types/nullChecks/implicitNotNullOnPlatformType.fir.txt b/compiler/testData/ir/irText/types/nullChecks/implicitNotNullOnPlatformType.fir.ir.txt similarity index 100% rename from compiler/testData/ir/irText/types/nullChecks/implicitNotNullOnPlatformType.fir.txt rename to compiler/testData/ir/irText/types/nullChecks/implicitNotNullOnPlatformType.fir.ir.txt diff --git a/compiler/testData/ir/irText/types/nullChecks/implicitNotNullOnPlatformType.txt b/compiler/testData/ir/irText/types/nullChecks/implicitNotNullOnPlatformType.ir.txt similarity index 100% rename from compiler/testData/ir/irText/types/nullChecks/implicitNotNullOnPlatformType.txt rename to compiler/testData/ir/irText/types/nullChecks/implicitNotNullOnPlatformType.ir.txt diff --git a/compiler/testData/ir/irText/types/nullChecks/implicitNotNullOnPlatformType.kt.txt b/compiler/testData/ir/irText/types/nullChecks/implicitNotNullOnPlatformType.kt.txt index 360a9cc50fc..b261f61b19d 100644 --- a/compiler/testData/ir/irText/types/nullChecks/implicitNotNullOnPlatformType.kt.txt +++ b/compiler/testData/ir/irText/types/nullChecks/implicitNotNullOnPlatformType.kt.txt @@ -40,4 +40,3 @@ fun testContains(m: MySet) { m.contains(element = super.#STRING /*!! String */) /*~> Unit */ m.contains(element = "abc") /*~> Unit */ } - diff --git a/compiler/testData/ir/irText/types/nullChecks/nullCheckOnLambdaResult/nnStringVsT.txt b/compiler/testData/ir/irText/types/nullChecks/nullCheckOnLambdaResult/nnStringVsT.ir.txt similarity index 100% rename from compiler/testData/ir/irText/types/nullChecks/nullCheckOnLambdaResult/nnStringVsT.txt rename to compiler/testData/ir/irText/types/nullChecks/nullCheckOnLambdaResult/nnStringVsT.ir.txt diff --git a/compiler/testData/ir/irText/types/nullChecks/nullCheckOnLambdaResult/nnStringVsT.kt.txt b/compiler/testData/ir/irText/types/nullChecks/nullCheckOnLambdaResult/nnStringVsT.kt.txt index 442115ec2e7..dc478f48f32 100644 --- a/compiler/testData/ir/irText/types/nullChecks/nullCheckOnLambdaResult/nnStringVsT.kt.txt +++ b/compiler/testData/ir/irText/types/nullChecks/nullCheckOnLambdaResult/nnStringVsT.kt.txt @@ -8,4 +8,3 @@ fun testNoNullCheck() { } ) /*~> Unit */ } - diff --git a/compiler/testData/ir/irText/types/nullChecks/nullCheckOnLambdaResult/nnStringVsTAny.txt b/compiler/testData/ir/irText/types/nullChecks/nullCheckOnLambdaResult/nnStringVsTAny.ir.txt similarity index 100% rename from compiler/testData/ir/irText/types/nullChecks/nullCheckOnLambdaResult/nnStringVsTAny.txt rename to compiler/testData/ir/irText/types/nullChecks/nullCheckOnLambdaResult/nnStringVsTAny.ir.txt diff --git a/compiler/testData/ir/irText/types/nullChecks/nullCheckOnLambdaResult/nnStringVsTAny.kt.txt b/compiler/testData/ir/irText/types/nullChecks/nullCheckOnLambdaResult/nnStringVsTAny.kt.txt index 935f1e0d2bf..21344509cb9 100644 --- a/compiler/testData/ir/irText/types/nullChecks/nullCheckOnLambdaResult/nnStringVsTAny.kt.txt +++ b/compiler/testData/ir/irText/types/nullChecks/nullCheckOnLambdaResult/nnStringVsTAny.kt.txt @@ -8,4 +8,3 @@ fun testNoNullCheck() { } ) /*~> Unit */ } - diff --git a/compiler/testData/ir/irText/types/nullChecks/nullCheckOnLambdaResult/nnStringVsTConstrained.txt b/compiler/testData/ir/irText/types/nullChecks/nullCheckOnLambdaResult/nnStringVsTConstrained.ir.txt similarity index 100% rename from compiler/testData/ir/irText/types/nullChecks/nullCheckOnLambdaResult/nnStringVsTConstrained.txt rename to compiler/testData/ir/irText/types/nullChecks/nullCheckOnLambdaResult/nnStringVsTConstrained.ir.txt diff --git a/compiler/testData/ir/irText/types/nullChecks/nullCheckOnLambdaResult/nnStringVsTConstrained.kt.txt b/compiler/testData/ir/irText/types/nullChecks/nullCheckOnLambdaResult/nnStringVsTConstrained.kt.txt index 4226b825bc4..2204fdce9fe 100644 --- a/compiler/testData/ir/irText/types/nullChecks/nullCheckOnLambdaResult/nnStringVsTConstrained.kt.txt +++ b/compiler/testData/ir/irText/types/nullChecks/nullCheckOnLambdaResult/nnStringVsTConstrained.kt.txt @@ -8,4 +8,3 @@ fun testWithNullCheck(xs: Array) { } ) /*~> Unit */ } - diff --git a/compiler/testData/ir/irText/types/nullChecks/nullCheckOnLambdaResult/nnStringVsTXArray.txt b/compiler/testData/ir/irText/types/nullChecks/nullCheckOnLambdaResult/nnStringVsTXArray.ir.txt similarity index 100% rename from compiler/testData/ir/irText/types/nullChecks/nullCheckOnLambdaResult/nnStringVsTXArray.txt rename to compiler/testData/ir/irText/types/nullChecks/nullCheckOnLambdaResult/nnStringVsTXArray.ir.txt diff --git a/compiler/testData/ir/irText/types/nullChecks/nullCheckOnLambdaResult/nnStringVsTXArray.kt.txt b/compiler/testData/ir/irText/types/nullChecks/nullCheckOnLambdaResult/nnStringVsTXArray.kt.txt index ad8ddd99515..49ffddaca46 100644 --- a/compiler/testData/ir/irText/types/nullChecks/nullCheckOnLambdaResult/nnStringVsTXArray.kt.txt +++ b/compiler/testData/ir/irText/types/nullChecks/nullCheckOnLambdaResult/nnStringVsTXArray.kt.txt @@ -8,4 +8,3 @@ fun testWithNullCheck(xs: Array) { } ) /*~> Unit */ } - diff --git a/compiler/testData/ir/irText/types/nullChecks/nullCheckOnLambdaResult/nnStringVsTXString.txt b/compiler/testData/ir/irText/types/nullChecks/nullCheckOnLambdaResult/nnStringVsTXString.ir.txt similarity index 100% rename from compiler/testData/ir/irText/types/nullChecks/nullCheckOnLambdaResult/nnStringVsTXString.txt rename to compiler/testData/ir/irText/types/nullChecks/nullCheckOnLambdaResult/nnStringVsTXString.ir.txt diff --git a/compiler/testData/ir/irText/types/nullChecks/nullCheckOnLambdaResult/nnStringVsTXString.kt.txt b/compiler/testData/ir/irText/types/nullChecks/nullCheckOnLambdaResult/nnStringVsTXString.kt.txt index ed0e42e15b0..55f8fa6850b 100644 --- a/compiler/testData/ir/irText/types/nullChecks/nullCheckOnLambdaResult/nnStringVsTXString.kt.txt +++ b/compiler/testData/ir/irText/types/nullChecks/nullCheckOnLambdaResult/nnStringVsTXString.kt.txt @@ -8,4 +8,3 @@ fun testWithNullCheck() { } ) /*~> Unit */ } - diff --git a/compiler/testData/ir/irText/types/nullChecks/nullCheckOnLambdaResult/stringVsT.txt b/compiler/testData/ir/irText/types/nullChecks/nullCheckOnLambdaResult/stringVsT.ir.txt similarity index 100% rename from compiler/testData/ir/irText/types/nullChecks/nullCheckOnLambdaResult/stringVsT.txt rename to compiler/testData/ir/irText/types/nullChecks/nullCheckOnLambdaResult/stringVsT.ir.txt diff --git a/compiler/testData/ir/irText/types/nullChecks/nullCheckOnLambdaResult/stringVsT.kt.txt b/compiler/testData/ir/irText/types/nullChecks/nullCheckOnLambdaResult/stringVsT.kt.txt index e56495ebd7e..285e8086a68 100644 --- a/compiler/testData/ir/irText/types/nullChecks/nullCheckOnLambdaResult/stringVsT.kt.txt +++ b/compiler/testData/ir/irText/types/nullChecks/nullCheckOnLambdaResult/stringVsT.kt.txt @@ -8,4 +8,3 @@ fun testNoNullCheck() { } ) /*~> Unit */ } - diff --git a/compiler/testData/ir/irText/types/nullChecks/nullCheckOnLambdaResult/stringVsTAny.txt b/compiler/testData/ir/irText/types/nullChecks/nullCheckOnLambdaResult/stringVsTAny.ir.txt similarity index 100% rename from compiler/testData/ir/irText/types/nullChecks/nullCheckOnLambdaResult/stringVsTAny.txt rename to compiler/testData/ir/irText/types/nullChecks/nullCheckOnLambdaResult/stringVsTAny.ir.txt diff --git a/compiler/testData/ir/irText/types/nullChecks/nullCheckOnLambdaResult/stringVsTAny.kt.txt b/compiler/testData/ir/irText/types/nullChecks/nullCheckOnLambdaResult/stringVsTAny.kt.txt index 3c0afac7f14..2e8309ae4a8 100644 --- a/compiler/testData/ir/irText/types/nullChecks/nullCheckOnLambdaResult/stringVsTAny.kt.txt +++ b/compiler/testData/ir/irText/types/nullChecks/nullCheckOnLambdaResult/stringVsTAny.kt.txt @@ -8,4 +8,3 @@ fun testNoNullCheck() { } ) /*~> Unit */ } - diff --git a/compiler/testData/ir/irText/types/nullChecks/nullCheckOnLambdaResult/stringVsTConstrained.fir.txt b/compiler/testData/ir/irText/types/nullChecks/nullCheckOnLambdaResult/stringVsTConstrained.fir.ir.txt similarity index 100% rename from compiler/testData/ir/irText/types/nullChecks/nullCheckOnLambdaResult/stringVsTConstrained.fir.txt rename to compiler/testData/ir/irText/types/nullChecks/nullCheckOnLambdaResult/stringVsTConstrained.fir.ir.txt diff --git a/compiler/testData/ir/irText/types/nullChecks/nullCheckOnLambdaResult/stringVsTConstrained.txt b/compiler/testData/ir/irText/types/nullChecks/nullCheckOnLambdaResult/stringVsTConstrained.ir.txt similarity index 100% rename from compiler/testData/ir/irText/types/nullChecks/nullCheckOnLambdaResult/stringVsTConstrained.txt rename to compiler/testData/ir/irText/types/nullChecks/nullCheckOnLambdaResult/stringVsTConstrained.ir.txt diff --git a/compiler/testData/ir/irText/types/nullChecks/nullCheckOnLambdaResult/stringVsTConstrained.kt.txt b/compiler/testData/ir/irText/types/nullChecks/nullCheckOnLambdaResult/stringVsTConstrained.kt.txt index 5e620e15be3..f32e62d9a75 100644 --- a/compiler/testData/ir/irText/types/nullChecks/nullCheckOnLambdaResult/stringVsTConstrained.kt.txt +++ b/compiler/testData/ir/irText/types/nullChecks/nullCheckOnLambdaResult/stringVsTConstrained.kt.txt @@ -8,4 +8,3 @@ fun testWithNullCheck(xs: Array) { } ) /*~> Unit */ } - diff --git a/compiler/testData/ir/irText/types/nullChecks/nullCheckOnLambdaResult/stringVsTXArray.txt b/compiler/testData/ir/irText/types/nullChecks/nullCheckOnLambdaResult/stringVsTXArray.ir.txt similarity index 100% rename from compiler/testData/ir/irText/types/nullChecks/nullCheckOnLambdaResult/stringVsTXArray.txt rename to compiler/testData/ir/irText/types/nullChecks/nullCheckOnLambdaResult/stringVsTXArray.ir.txt diff --git a/compiler/testData/ir/irText/types/nullChecks/nullCheckOnLambdaResult/stringVsTXArray.kt.txt b/compiler/testData/ir/irText/types/nullChecks/nullCheckOnLambdaResult/stringVsTXArray.kt.txt index 9eb40b33ee2..6302dadf8a2 100644 --- a/compiler/testData/ir/irText/types/nullChecks/nullCheckOnLambdaResult/stringVsTXArray.kt.txt +++ b/compiler/testData/ir/irText/types/nullChecks/nullCheckOnLambdaResult/stringVsTXArray.kt.txt @@ -8,4 +8,3 @@ fun testNoNullCheck(xs: Array) { } ) /*~> Unit */ } - diff --git a/compiler/testData/ir/irText/types/nullChecks/nullCheckOnLambdaResult/stringVsTXString.txt b/compiler/testData/ir/irText/types/nullChecks/nullCheckOnLambdaResult/stringVsTXString.ir.txt similarity index 100% rename from compiler/testData/ir/irText/types/nullChecks/nullCheckOnLambdaResult/stringVsTXString.txt rename to compiler/testData/ir/irText/types/nullChecks/nullCheckOnLambdaResult/stringVsTXString.ir.txt diff --git a/compiler/testData/ir/irText/types/nullChecks/nullCheckOnLambdaResult/stringVsTXString.kt.txt b/compiler/testData/ir/irText/types/nullChecks/nullCheckOnLambdaResult/stringVsTXString.kt.txt index e5e76be9eb0..76faf6f9f81 100644 --- a/compiler/testData/ir/irText/types/nullChecks/nullCheckOnLambdaResult/stringVsTXString.kt.txt +++ b/compiler/testData/ir/irText/types/nullChecks/nullCheckOnLambdaResult/stringVsTXString.kt.txt @@ -8,4 +8,3 @@ fun testNoNullCheck() { } ) /*~> Unit */ } - diff --git a/compiler/testData/ir/irText/types/nullChecks/nullabilityAssertionOnExtensionReceiver.fir.txt b/compiler/testData/ir/irText/types/nullChecks/nullabilityAssertionOnExtensionReceiver.fir.ir.txt similarity index 100% rename from compiler/testData/ir/irText/types/nullChecks/nullabilityAssertionOnExtensionReceiver.fir.txt rename to compiler/testData/ir/irText/types/nullChecks/nullabilityAssertionOnExtensionReceiver.fir.ir.txt diff --git a/compiler/testData/ir/irText/types/nullChecks/nullabilityAssertionOnExtensionReceiver.txt b/compiler/testData/ir/irText/types/nullChecks/nullabilityAssertionOnExtensionReceiver.ir.txt similarity index 100% rename from compiler/testData/ir/irText/types/nullChecks/nullabilityAssertionOnExtensionReceiver.txt rename to compiler/testData/ir/irText/types/nullChecks/nullabilityAssertionOnExtensionReceiver.ir.txt diff --git a/compiler/testData/ir/irText/types/nullChecks/nullabilityAssertionOnExtensionReceiver.kt.txt b/compiler/testData/ir/irText/types/nullChecks/nullabilityAssertionOnExtensionReceiver.kt.txt index b2d96694b51..13b5113cbc9 100644 --- a/compiler/testData/ir/irText/types/nullChecks/nullabilityAssertionOnExtensionReceiver.kt.txt +++ b/compiler/testData/ir/irText/types/nullChecks/nullabilityAssertionOnExtensionReceiver.kt.txt @@ -20,4 +20,3 @@ fun testExt() { fun C.testMemberExt() { (, s() /*!! String */).memberExtension() } - diff --git a/compiler/testData/ir/irText/types/nullChecks/platformTypeReceiver.fir.txt b/compiler/testData/ir/irText/types/nullChecks/platformTypeReceiver.fir.ir.txt similarity index 100% rename from compiler/testData/ir/irText/types/nullChecks/platformTypeReceiver.fir.txt rename to compiler/testData/ir/irText/types/nullChecks/platformTypeReceiver.fir.ir.txt diff --git a/compiler/testData/ir/irText/types/nullChecks/platformTypeReceiver.txt b/compiler/testData/ir/irText/types/nullChecks/platformTypeReceiver.ir.txt similarity index 100% rename from compiler/testData/ir/irText/types/nullChecks/platformTypeReceiver.txt rename to compiler/testData/ir/irText/types/nullChecks/platformTypeReceiver.ir.txt diff --git a/compiler/testData/ir/irText/types/nullChecks/platformTypeReceiver.kt.txt b/compiler/testData/ir/irText/types/nullChecks/platformTypeReceiver.kt.txt index 9d6f6c48a1d..4e6fc2692b2 100644 --- a/compiler/testData/ir/irText/types/nullChecks/platformTypeReceiver.kt.txt +++ b/compiler/testData/ir/irText/types/nullChecks/platformTypeReceiver.kt.txt @@ -5,4 +5,3 @@ fun test1(): Boolean { fun test2(): Boolean { return boolNull() /*!! Boolean */.equals(other = null) } - diff --git a/compiler/testData/ir/irText/types/nullChecks/typeParameterWithMixedNullableAndNotNullableBounds.fir.txt b/compiler/testData/ir/irText/types/nullChecks/typeParameterWithMixedNullableAndNotNullableBounds.fir.ir.txt similarity index 100% rename from compiler/testData/ir/irText/types/nullChecks/typeParameterWithMixedNullableAndNotNullableBounds.fir.txt rename to compiler/testData/ir/irText/types/nullChecks/typeParameterWithMixedNullableAndNotNullableBounds.fir.ir.txt diff --git a/compiler/testData/ir/irText/types/nullChecks/typeParameterWithMixedNullableAndNotNullableBounds.txt b/compiler/testData/ir/irText/types/nullChecks/typeParameterWithMixedNullableAndNotNullableBounds.ir.txt similarity index 100% rename from compiler/testData/ir/irText/types/nullChecks/typeParameterWithMixedNullableAndNotNullableBounds.txt rename to compiler/testData/ir/irText/types/nullChecks/typeParameterWithMixedNullableAndNotNullableBounds.ir.txt diff --git a/compiler/testData/ir/irText/types/nullChecks/typeParameterWithMultipleNotNullableBounds.fir.txt b/compiler/testData/ir/irText/types/nullChecks/typeParameterWithMultipleNotNullableBounds.fir.ir.txt similarity index 100% rename from compiler/testData/ir/irText/types/nullChecks/typeParameterWithMultipleNotNullableBounds.fir.txt rename to compiler/testData/ir/irText/types/nullChecks/typeParameterWithMultipleNotNullableBounds.fir.ir.txt diff --git a/compiler/testData/ir/irText/types/nullChecks/typeParameterWithMultipleNotNullableBounds.txt b/compiler/testData/ir/irText/types/nullChecks/typeParameterWithMultipleNotNullableBounds.ir.txt similarity index 100% rename from compiler/testData/ir/irText/types/nullChecks/typeParameterWithMultipleNotNullableBounds.txt rename to compiler/testData/ir/irText/types/nullChecks/typeParameterWithMultipleNotNullableBounds.ir.txt diff --git a/compiler/testData/ir/irText/types/nullChecks/typeParameterWithMultipleNullableBounds.fir.txt b/compiler/testData/ir/irText/types/nullChecks/typeParameterWithMultipleNullableBounds.fir.ir.txt similarity index 100% rename from compiler/testData/ir/irText/types/nullChecks/typeParameterWithMultipleNullableBounds.fir.txt rename to compiler/testData/ir/irText/types/nullChecks/typeParameterWithMultipleNullableBounds.fir.ir.txt diff --git a/compiler/testData/ir/irText/types/nullChecks/typeParameterWithMultipleNullableBounds.txt b/compiler/testData/ir/irText/types/nullChecks/typeParameterWithMultipleNullableBounds.ir.txt similarity index 100% rename from compiler/testData/ir/irText/types/nullChecks/typeParameterWithMultipleNullableBounds.txt rename to compiler/testData/ir/irText/types/nullChecks/typeParameterWithMultipleNullableBounds.ir.txt diff --git a/compiler/testData/ir/irText/types/rawTypeInSignature.fir.txt b/compiler/testData/ir/irText/types/rawTypeInSignature.fir.ir.txt similarity index 100% rename from compiler/testData/ir/irText/types/rawTypeInSignature.fir.txt rename to compiler/testData/ir/irText/types/rawTypeInSignature.fir.ir.txt diff --git a/compiler/testData/ir/irText/types/rawTypeInSignature.fir.kt.txt b/compiler/testData/ir/irText/types/rawTypeInSignature.fir.kt.txt index 7c2fe65726d..55a739af5b4 100644 --- a/compiler/testData/ir/irText/types/rawTypeInSignature.fir.kt.txt +++ b/compiler/testData/ir/irText/types/rawTypeInSignature.fir.kt.txt @@ -79,4 +79,3 @@ class KRaw : JRaw { local /* final field */ val <$$delegate_0>: JRaw = j } - diff --git a/compiler/testData/ir/irText/types/rawTypeInSignature.txt b/compiler/testData/ir/irText/types/rawTypeInSignature.ir.txt similarity index 100% rename from compiler/testData/ir/irText/types/rawTypeInSignature.txt rename to compiler/testData/ir/irText/types/rawTypeInSignature.ir.txt diff --git a/compiler/testData/ir/irText/types/rawTypeInSignature.kt.txt b/compiler/testData/ir/irText/types/rawTypeInSignature.kt.txt index 5af6c0c98a8..29fcbe9425e 100644 --- a/compiler/testData/ir/irText/types/rawTypeInSignature.kt.txt +++ b/compiler/testData/ir/irText/types/rawTypeInSignature.kt.txt @@ -78,4 +78,3 @@ class KRaw : JRaw { } } - diff --git a/compiler/testData/ir/irText/types/receiverOfIntersectionType.fir.txt b/compiler/testData/ir/irText/types/receiverOfIntersectionType.fir.ir.txt similarity index 100% rename from compiler/testData/ir/irText/types/receiverOfIntersectionType.fir.txt rename to compiler/testData/ir/irText/types/receiverOfIntersectionType.fir.ir.txt diff --git a/compiler/testData/ir/irText/types/receiverOfIntersectionType.txt b/compiler/testData/ir/irText/types/receiverOfIntersectionType.ir.txt similarity index 100% rename from compiler/testData/ir/irText/types/receiverOfIntersectionType.txt rename to compiler/testData/ir/irText/types/receiverOfIntersectionType.ir.txt diff --git a/compiler/testData/ir/irText/types/receiverOfIntersectionType.kt.txt b/compiler/testData/ir/irText/types/receiverOfIntersectionType.kt.txt index b06d2f8d4d4..40ee9f172b7 100644 --- a/compiler/testData/ir/irText/types/receiverOfIntersectionType.kt.txt +++ b/compiler/testData/ir/irText/types/receiverOfIntersectionType.kt.txt @@ -3,7 +3,7 @@ interface K { } interface I : K { - abstract fun ff() + abstract fun ff() } @@ -58,4 +58,3 @@ fun testFlexible2(a: A, b: B) { } v /*!! K */ /*as I */.ff() } - diff --git a/compiler/testData/ir/irText/types/smartCastOnFakeOverrideReceiver.fir.txt b/compiler/testData/ir/irText/types/smartCastOnFakeOverrideReceiver.fir.ir.txt similarity index 100% rename from compiler/testData/ir/irText/types/smartCastOnFakeOverrideReceiver.fir.txt rename to compiler/testData/ir/irText/types/smartCastOnFakeOverrideReceiver.fir.ir.txt diff --git a/compiler/testData/ir/irText/types/smartCastOnFakeOverrideReceiver.txt b/compiler/testData/ir/irText/types/smartCastOnFakeOverrideReceiver.ir.txt similarity index 100% rename from compiler/testData/ir/irText/types/smartCastOnFakeOverrideReceiver.txt rename to compiler/testData/ir/irText/types/smartCastOnFakeOverrideReceiver.ir.txt diff --git a/compiler/testData/ir/irText/types/smartCastOnFakeOverrideReceiver.kt.txt b/compiler/testData/ir/irText/types/smartCastOnFakeOverrideReceiver.kt.txt index f5cc9cd21b7..afc88bcfc37 100644 --- a/compiler/testData/ir/irText/types/smartCastOnFakeOverrideReceiver.kt.txt +++ b/compiler/testData/ir/irText/types/smartCastOnFakeOverrideReceiver.kt.txt @@ -83,4 +83,3 @@ class GB : GA { } } - diff --git a/compiler/testData/ir/irText/types/smartCastOnFieldReceiverOfGenericType.fir.txt b/compiler/testData/ir/irText/types/smartCastOnFieldReceiverOfGenericType.fir.ir.txt similarity index 100% rename from compiler/testData/ir/irText/types/smartCastOnFieldReceiverOfGenericType.fir.txt rename to compiler/testData/ir/irText/types/smartCastOnFieldReceiverOfGenericType.fir.ir.txt diff --git a/compiler/testData/ir/irText/types/smartCastOnFieldReceiverOfGenericType.txt b/compiler/testData/ir/irText/types/smartCastOnFieldReceiverOfGenericType.ir.txt similarity index 100% rename from compiler/testData/ir/irText/types/smartCastOnFieldReceiverOfGenericType.txt rename to compiler/testData/ir/irText/types/smartCastOnFieldReceiverOfGenericType.ir.txt diff --git a/compiler/testData/ir/irText/types/smartCastOnFieldReceiverOfGenericType.kt.txt b/compiler/testData/ir/irText/types/smartCastOnFieldReceiverOfGenericType.kt.txt index f7cca34304d..15e7dacd457 100644 --- a/compiler/testData/ir/irText/types/smartCastOnFieldReceiverOfGenericType.kt.txt +++ b/compiler/testData/ir/irText/types/smartCastOnFieldReceiverOfGenericType.kt.txt @@ -8,4 +8,3 @@ fun testGetField(a: Any): String { a as JCell /*~> Unit */ return a /*as JCell */super.#value /*!! String */ } - diff --git a/compiler/testData/ir/irText/types/smartCastOnReceiverOfGenericType.txt b/compiler/testData/ir/irText/types/smartCastOnReceiverOfGenericType.ir.txt similarity index 100% rename from compiler/testData/ir/irText/types/smartCastOnReceiverOfGenericType.txt rename to compiler/testData/ir/irText/types/smartCastOnReceiverOfGenericType.ir.txt diff --git a/compiler/testData/ir/irText/types/smartCastOnReceiverOfGenericType.kt.txt b/compiler/testData/ir/irText/types/smartCastOnReceiverOfGenericType.kt.txt index 52be2fb85c6..5dd6385f961 100644 --- a/compiler/testData/ir/irText/types/smartCastOnReceiverOfGenericType.kt.txt +++ b/compiler/testData/ir/irText/types/smartCastOnReceiverOfGenericType.kt.txt @@ -57,4 +57,3 @@ class Outer { } } - diff --git a/compiler/testData/ir/irText/types/starProjection_OI.txt b/compiler/testData/ir/irText/types/starProjection_OI.ir.txt similarity index 100% rename from compiler/testData/ir/irText/types/starProjection_OI.txt rename to compiler/testData/ir/irText/types/starProjection_OI.ir.txt diff --git a/compiler/testData/ir/irText/types/starProjection_OI.kt.txt b/compiler/testData/ir/irText/types/starProjection_OI.kt.txt index 12b387c3b32..491796da56b 100644 --- a/compiler/testData/ir/irText/types/starProjection_OI.kt.txt +++ b/compiler/testData/ir/irText/types/starProjection_OI.kt.txt @@ -9,7 +9,6 @@ abstract class C { } - abstract fun dispatchResumeWithException(exception: Throwable, continuation: Continuation<*>): Boolean + abstract fun dispatchResumeWithException(exception: Throwable, continuation: Continuation<*>): Boolean } - diff --git a/compiler/testData/ir/irText/types/typeAliasWithUnsafeVariance.fir.txt b/compiler/testData/ir/irText/types/typeAliasWithUnsafeVariance.fir.ir.txt similarity index 100% rename from compiler/testData/ir/irText/types/typeAliasWithUnsafeVariance.fir.txt rename to compiler/testData/ir/irText/types/typeAliasWithUnsafeVariance.fir.ir.txt diff --git a/compiler/testData/ir/irText/types/typeAliasWithUnsafeVariance.txt b/compiler/testData/ir/irText/types/typeAliasWithUnsafeVariance.ir.txt similarity index 100% rename from compiler/testData/ir/irText/types/typeAliasWithUnsafeVariance.txt rename to compiler/testData/ir/irText/types/typeAliasWithUnsafeVariance.ir.txt diff --git a/compiler/tests-common-new/tests/org/jetbrains/kotlin/test/backend/handlers/IrTextDumpHandler.kt b/compiler/tests-common-new/tests/org/jetbrains/kotlin/test/backend/handlers/IrTextDumpHandler.kt index 1cb9529fce4..96b0aa34404 100644 --- a/compiler/tests-common-new/tests/org/jetbrains/kotlin/test/backend/handlers/IrTextDumpHandler.kt +++ b/compiler/tests-common-new/tests/org/jetbrains/kotlin/test/backend/handlers/IrTextDumpHandler.kt @@ -39,7 +39,7 @@ import java.io.File class IrTextDumpHandler(testServices: TestServices) : AbstractIrHandler(testServices) { companion object { - const val DUMP_EXTENSION = "txt" + const val DUMP_EXTENSION = "ir.txt" fun computeDumpExtension(module: TestModule, defaultExtension: String): String { return if (module.frontendKind == FrontendKinds.ClassicFrontend || FIR_IDENTICAL in module.directives)