[FIR] Save IR dumps to .ir.txt files instead of .txt in tests
This is needed to avoid clashes between different dumps from different handlers
This commit is contained in:
committed by
TeamCityServer
parent
0f076e16ed
commit
b454fcc1e0
Vendored
@@ -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
|
||||
|
||||
}
|
||||
|
||||
|
||||
-1
@@ -36,4 +36,3 @@ class Test2 : Base {
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
|
||||
+6
-6
@@ -152,15 +152,15 @@ FILE fqName:<root> fileName:/clashingFakeOverrideSignatures.kt
|
||||
CALL 'public final fun foo (x: kotlin.String): kotlin.Unit [fake_override] declared in <root>.Derived' type=kotlin.Unit origin=null
|
||||
$this: GET_VAR 'd: <root>.Derived declared in <root>.test' type=<root>.Derived origin=null
|
||||
x: CONST String type=kotlin.String value=""
|
||||
CALL 'public final fun foo (y: kotlin.String): kotlin.Unit declared in <root>.Base' type=kotlin.Unit origin=null
|
||||
CALL 'public final fun foo (x: kotlin.String): kotlin.Unit [fake_override] declared in <root>.Derived' type=kotlin.Unit origin=null
|
||||
$this: GET_VAR 'd: <root>.Derived declared in <root>.test' type=<root>.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 <root>.Derived' type=kotlin.Unit origin=null
|
||||
$this: GET_VAR 'd2: <root>.Derived2 declared in <root>.test' type=<root>.Derived2 origin=null
|
||||
x: CONST String type=kotlin.String value=""
|
||||
CALL 'public final fun foo (y: kotlin.String): kotlin.Unit declared in <root>.Base' type=kotlin.Unit origin=null
|
||||
CALL 'public final fun foo (x: kotlin.String): kotlin.Unit [fake_override] declared in <root>.Derived' type=kotlin.Unit origin=null
|
||||
$this: GET_VAR 'd2: <root>.Derived2 declared in <root>.test' type=<root>.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:<this> type:<root>.BaseXY<X of <root>.BaseXY, Y of <root>.BaseXY>
|
||||
TYPE_PARAMETER name:X index:0 variance: superTypes:[kotlin.Any?]
|
||||
@@ -380,13 +380,13 @@ FILE fqName:<root> fileName:/clashingFakeOverrideSignatures.kt
|
||||
CALL 'public final fun foo (x: kotlin.String): kotlin.Unit [fake_override] declared in <root>.outerFun.LocalDerived' type=kotlin.Unit origin=null
|
||||
$this: GET_VAR 'd: <root>.outerFun.LocalDerived declared in <root>.outerFun.test' type=<root>.outerFun.LocalDerived origin=null
|
||||
x: CONST String type=kotlin.String value=""
|
||||
CALL 'public final fun foo (y: kotlin.String): kotlin.Unit declared in <root>.outerFun.LocalBase' type=kotlin.Unit origin=null
|
||||
CALL 'public final fun foo (y: kotlin.String): kotlin.Unit [fake_override] declared in <root>.outerFun.LocalDerived' type=kotlin.Unit origin=null
|
||||
$this: GET_VAR 'd: <root>.outerFun.LocalDerived declared in <root>.outerFun.test' type=<root>.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 <root>.outerFun.LocalDerived' type=kotlin.Unit origin=null
|
||||
$this: GET_VAR 'd2: <root>.outerFun.LocalDerived2 declared in <root>.outerFun.test' type=<root>.outerFun.LocalDerived2 origin=null
|
||||
x: CONST String type=kotlin.String value=""
|
||||
CALL 'public final fun foo (y: kotlin.String): kotlin.Unit declared in <root>.outerFun.LocalBase' type=kotlin.Unit origin=null
|
||||
CALL 'public final fun foo (y: kotlin.String): kotlin.Unit [fake_override] declared in <root>.outerFun.LocalDerived' type=kotlin.Unit origin=null
|
||||
$this: GET_VAR 'd2: <root>.outerFun.LocalDerived2 declared in <root>.outerFun.test' type=<root>.outerFun.LocalDerived2 origin=null
|
||||
y: CONST String type=kotlin.String value=""
|
||||
CLASS CLASS name:Outer modality:OPEN visibility:public superTypes:[kotlin.Any]
|
||||
+2
-2
@@ -45,9 +45,9 @@ fun test(b: Base<String>, 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<X : Any?, Y : Any?> {
|
||||
|
||||
+1
-2
@@ -61,7 +61,7 @@ class C {
|
||||
}
|
||||
|
||||
interface NestedInterface {
|
||||
abstract fun foo()
|
||||
abstract fun foo()
|
||||
fun bar() {
|
||||
return <this>.foo()
|
||||
}
|
||||
@@ -78,4 +78,3 @@ class C {
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
|
||||
@@ -32,4 +32,3 @@ class OC : I {
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
|
||||
@@ -33,4 +33,3 @@ class Test2 {
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
|
||||
@@ -226,4 +226,3 @@ data class Test3 {
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
|
||||
@@ -226,4 +226,3 @@ data class Test3 {
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
|
||||
@@ -197,4 +197,3 @@ data class Test3 {
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
|
||||
@@ -172,4 +172,3 @@ data class Test4 {
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
|
||||
-1
@@ -37,4 +37,3 @@ class Test : J {
|
||||
private get
|
||||
|
||||
}
|
||||
|
||||
|
||||
-1
@@ -36,4 +36,3 @@ class Test : J {
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
|
||||
+2
-3
@@ -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 {
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
|
||||
-1
@@ -30,4 +30,3 @@ class C2 : Cell<String> {
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
|
||||
Vendored
-1
@@ -25,4 +25,3 @@ class Test : Base {
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
|
||||
Vendored
+2
-3
@@ -59,7 +59,7 @@ abstract enum class TestEnum3 : Enum<TestEnum3> {
|
||||
|
||||
}
|
||||
|
||||
abstract fun foo()
|
||||
abstract fun foo()
|
||||
|
||||
fun values(): Array<TestEnum3> /* Synthetic body for ENUM_VALUES */
|
||||
|
||||
@@ -113,7 +113,7 @@ abstract enum class TestEnum4 : Enum<TestEnum4> {
|
||||
|
||||
}
|
||||
|
||||
abstract fun foo()
|
||||
abstract fun foo()
|
||||
|
||||
fun values(): Array<TestEnum4> /* Synthetic body for ENUM_VALUES */
|
||||
|
||||
@@ -174,4 +174,3 @@ enum class TestEnum6 : Enum<TestEnum6> {
|
||||
fun valueOf(value: String): TestEnum6 /* Synthetic body for ENUM_VALUEOF */
|
||||
|
||||
}
|
||||
|
||||
|
||||
@@ -126,7 +126,7 @@ abstract enum class TestAbstractEnum1 : Enum<TestAbstractEnum1> {
|
||||
|
||||
}
|
||||
|
||||
abstract fun foo()
|
||||
abstract fun foo()
|
||||
|
||||
fun values(): Array<TestAbstractEnum1> /* Synthetic body for ENUM_VALUES */
|
||||
|
||||
@@ -135,7 +135,7 @@ abstract enum class TestAbstractEnum1 : Enum<TestAbstractEnum1> {
|
||||
}
|
||||
|
||||
interface IFoo {
|
||||
abstract fun foo()
|
||||
abstract fun foo()
|
||||
|
||||
}
|
||||
|
||||
@@ -164,4 +164,3 @@ abstract enum class TestAbstractEnum2 : Enum<TestAbstractEnum2>, IFoo {
|
||||
fun valueOf(value: String): TestAbstractEnum2 /* Synthetic body for ENUM_VALUEOF */
|
||||
|
||||
}
|
||||
|
||||
|
||||
@@ -58,4 +58,3 @@ open enum class A : Enum<A> {
|
||||
fun valueOf(value: String): A /* Synthetic body for ENUM_VALUEOF */
|
||||
|
||||
}
|
||||
|
||||
|
||||
@@ -89,11 +89,10 @@ abstract enum class Test2 : Enum<Test2> {
|
||||
this/*Test2*/(x = 0)
|
||||
}
|
||||
|
||||
abstract fun foo()
|
||||
abstract fun foo()
|
||||
|
||||
fun values(): Array<Test2> /* Synthetic body for ENUM_VALUES */
|
||||
|
||||
fun valueOf(value: String): Test2 /* Synthetic body for ENUM_VALUEOF */
|
||||
|
||||
}
|
||||
|
||||
|
||||
@@ -6,4 +6,3 @@ class Test : Base {
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
|
||||
-1
@@ -121,4 +121,3 @@ class TestK4 : IFoo {
|
||||
local /* final field */ val <$$delegate_0>: IFoo = K4()
|
||||
|
||||
}
|
||||
|
||||
|
||||
+1
-2
@@ -1,5 +1,5 @@
|
||||
interface IFoo {
|
||||
abstract fun foo(): String
|
||||
abstract fun foo(): String
|
||||
|
||||
}
|
||||
|
||||
@@ -116,4 +116,3 @@ class TestK4 : IFoo {
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
|
||||
@@ -83,4 +83,3 @@ class Test5 {
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
|
||||
@@ -39,4 +39,3 @@ class TestInitValInInitBlock {
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
|
||||
@@ -16,4 +16,3 @@ class TestInitValInLambdaCalledOnce {
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
|
||||
@@ -93,4 +93,3 @@ class TestInitVarWithCustomSetterInCtor {
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
|
||||
@@ -29,4 +29,3 @@ inline class Test {
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
|
||||
@@ -58,4 +58,3 @@ fun box(): String {
|
||||
}
|
||||
return "OK"
|
||||
}
|
||||
|
||||
|
||||
@@ -24,4 +24,3 @@ class Outer {
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
|
||||
-1
@@ -23,4 +23,3 @@ class Outer {
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
|
||||
@@ -78,4 +78,3 @@ inline class TestInline {
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
|
||||
@@ -38,4 +38,3 @@ class C : DoubleExpression {
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
|
||||
@@ -1,57 +0,0 @@
|
||||
FILE fqName:<root> fileName:/kt45853.kt
|
||||
CLASS CLASS name:A modality:ABSTRACT visibility:public superTypes:[kotlin.Any]
|
||||
$this: VALUE_PARAMETER INSTANCE_RECEIVER name:<this> type:<root>.A
|
||||
CONSTRUCTOR visibility:public <> () returnType:<root>.A [primary]
|
||||
BLOCK_BODY
|
||||
DELEGATING_CONSTRUCTOR_CALL 'public constructor <init> () [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:<get-a> visibility:public modality:ABSTRACT <> ($this:<root>.A) returnType:<root>.A?
|
||||
correspondingProperty: PROPERTY name:a visibility:public modality:ABSTRACT [val]
|
||||
$this: VALUE_PARAMETER name:<this> type:<root>.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:<this> 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:<this> 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:<this> type:kotlin.Any
|
||||
CLASS CLASS name:B modality:FINAL visibility:public superTypes:[<root>.AX]
|
||||
$this: VALUE_PARAMETER INSTANCE_RECEIVER name:<this> type:<root>.B
|
||||
CONSTRUCTOR visibility:public <> () returnType:<root>.B [primary]
|
||||
BLOCK_BODY
|
||||
DELEGATING_CONSTRUCTOR_CALL 'public constructor <init> () [primary] declared in <root>.AX'
|
||||
INSTANCE_INITIALIZER_CALL classDescriptor='CLASS CLASS name:B modality:FINAL visibility:public superTypes:[<root>.AX]'
|
||||
FUN name:getA visibility:public modality:FINAL <> ($this:<root>.B) returnType:<root>.X?
|
||||
$this: VALUE_PARAMETER name:<this> type:<root>.B
|
||||
BLOCK_BODY
|
||||
RETURN type=kotlin.Nothing from='public final fun getA (): <root>.X? declared in <root>.B'
|
||||
CALL 'public open fun <get-a> (): @[FlexibleNullability] <root>.AX? declared in <root>.AX' superQualifier='CLASS IR_EXTERNAL_JAVA_DECLARATION_STUB CLASS name:AX modality:ABSTRACT visibility:public superTypes:[<root>.A; <root>.X]' type=@[FlexibleNullability] <root>.AX? origin=GET_PROPERTY
|
||||
$this: GET_VAR '<this>: <root>.B declared in <root>.B.getA' type=<root>.B origin=null
|
||||
PROPERTY FAKE_OVERRIDE name:a visibility:public modality:OPEN [fake_override,val]
|
||||
overridden:
|
||||
public open a: @[FlexibleNullability] <root>.AX? [val]
|
||||
FUN FAKE_OVERRIDE name:<get-a> visibility:public modality:OPEN <> ($this:<root>.AX) returnType:@[FlexibleNullability] <root>.AX? [fake_override]
|
||||
correspondingProperty: PROPERTY FAKE_OVERRIDE name:a visibility:public modality:OPEN [fake_override,val]
|
||||
overridden:
|
||||
public open fun <get-a> (): @[FlexibleNullability] <root>.AX? declared in <root>.AX
|
||||
$this: VALUE_PARAMETER name:<this> type:<root>.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 <root>.AX
|
||||
$this: VALUE_PARAMETER name:<this> 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 <root>.AX
|
||||
$this: VALUE_PARAMETER name:<this> 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 <root>.AX
|
||||
$this: VALUE_PARAMETER name:<this> type:kotlin.Any
|
||||
Some files were not shown because too many files have changed in this diff Show More
Reference in New Issue
Block a user