Add IR text test for KT-54887
This commit is contained in:
committed by
Space Team
parent
a86279b766
commit
5d35bfd88d
+6
@@ -2894,6 +2894,12 @@ public class FirLightTreeJvmIrTextTestGenerated extends AbstractFirLightTreeJvmI
|
|||||||
runTest("compiler/testData/ir/irText/firProblems/V8ArrayToList.kt");
|
runTest("compiler/testData/ir/irText/firProblems/V8ArrayToList.kt");
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@Test
|
||||||
|
@TestMetadata("valueClassEquals.kt")
|
||||||
|
public void testValueClassEquals() throws Exception {
|
||||||
|
runTest("compiler/testData/ir/irText/firProblems/valueClassEquals.kt");
|
||||||
|
}
|
||||||
|
|
||||||
@Test
|
@Test
|
||||||
@TestMetadata("VarInInit.kt")
|
@TestMetadata("VarInInit.kt")
|
||||||
public void testVarInInit() throws Exception {
|
public void testVarInInit() throws Exception {
|
||||||
|
|||||||
compiler/fir/fir2ir/tests-gen/org/jetbrains/kotlin/test/runners/ir/FirPsiJvmIrTextTestGenerated.java
Generated
+6
@@ -2894,6 +2894,12 @@ public class FirPsiJvmIrTextTestGenerated extends AbstractFirPsiJvmIrTextTest {
|
|||||||
runTest("compiler/testData/ir/irText/firProblems/V8ArrayToList.kt");
|
runTest("compiler/testData/ir/irText/firProblems/V8ArrayToList.kt");
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@Test
|
||||||
|
@TestMetadata("valueClassEquals.kt")
|
||||||
|
public void testValueClassEquals() throws Exception {
|
||||||
|
runTest("compiler/testData/ir/irText/firProblems/valueClassEquals.kt");
|
||||||
|
}
|
||||||
|
|
||||||
@Test
|
@Test
|
||||||
@TestMetadata("VarInInit.kt")
|
@TestMetadata("VarInInit.kt")
|
||||||
public void testVarInInit() throws Exception {
|
public void testVarInInit() throws Exception {
|
||||||
|
|||||||
@@ -0,0 +1,77 @@
|
|||||||
|
FILE fqName:<root> fileName:/valueClassEquals.kt
|
||||||
|
CLASS CLASS name:Z modality:FINAL visibility:public [value] superTypes:[kotlin.Any]
|
||||||
|
annotations:
|
||||||
|
JvmInline
|
||||||
|
$this: VALUE_PARAMETER INSTANCE_RECEIVER name:<this> type:<root>.Z
|
||||||
|
CONSTRUCTOR visibility:public <> (s:kotlin.String) returnType:<root>.Z [primary]
|
||||||
|
VALUE_PARAMETER name:s index:0 type:kotlin.String
|
||||||
|
BLOCK_BODY
|
||||||
|
DELEGATING_CONSTRUCTOR_CALL 'public constructor <init> () [primary] declared in kotlin.Any'
|
||||||
|
INSTANCE_INITIALIZER_CALL classDescriptor='CLASS CLASS name:Z modality:FINAL visibility:public [value] superTypes:[kotlin.Any]'
|
||||||
|
PROPERTY name:s visibility:public modality:FINAL [val]
|
||||||
|
FIELD PROPERTY_BACKING_FIELD name:s type:kotlin.String visibility:private [final]
|
||||||
|
EXPRESSION_BODY
|
||||||
|
GET_VAR 's: kotlin.String declared in <root>.Z.<init>' type=kotlin.String origin=INITIALIZE_PROPERTY_FROM_PARAMETER
|
||||||
|
FUN DEFAULT_PROPERTY_ACCESSOR name:<get-s> visibility:public modality:FINAL <> ($this:<root>.Z) returnType:kotlin.String
|
||||||
|
correspondingProperty: PROPERTY name:s visibility:public modality:FINAL [val]
|
||||||
|
$this: VALUE_PARAMETER name:<this> type:<root>.Z
|
||||||
|
BLOCK_BODY
|
||||||
|
RETURN type=kotlin.Nothing from='public final fun <get-s> (): kotlin.String declared in <root>.Z'
|
||||||
|
GET_FIELD 'FIELD PROPERTY_BACKING_FIELD name:s type:kotlin.String visibility:private [final]' type=kotlin.String origin=null
|
||||||
|
receiver: GET_VAR '<this>: <root>.Z declared in <root>.Z.<get-s>' type=<root>.Z origin=null
|
||||||
|
FUN GENERATED_SINGLE_FIELD_VALUE_CLASS_MEMBER name:equals visibility:public modality:OPEN <> ($this:<root>.Z, other:kotlin.Any?) returnType:kotlin.Boolean
|
||||||
|
overridden:
|
||||||
|
public open fun equals (other: kotlin.Any?): kotlin.Boolean [operator] declared in kotlin.Any
|
||||||
|
$this: VALUE_PARAMETER GENERATED_SINGLE_FIELD_VALUE_CLASS_MEMBER name:<this> type:<root>.Z
|
||||||
|
VALUE_PARAMETER GENERATED_SINGLE_FIELD_VALUE_CLASS_MEMBER name:other index:0 type:kotlin.Any?
|
||||||
|
BLOCK_BODY
|
||||||
|
WHEN type=kotlin.Unit origin=null
|
||||||
|
BRANCH
|
||||||
|
if: TYPE_OP type=kotlin.Boolean origin=NOT_INSTANCEOF typeOperand=<root>.Z
|
||||||
|
GET_VAR 'other: kotlin.Any? declared in <root>.Z.equals' type=kotlin.Any? origin=null
|
||||||
|
then: RETURN type=kotlin.Nothing from='public open fun equals (other: kotlin.Any?): kotlin.Boolean declared in <root>.Z'
|
||||||
|
CONST Boolean type=kotlin.Boolean value=false
|
||||||
|
VAR IR_TEMPORARY_VARIABLE name:tmp_0 type:<root>.Z [val]
|
||||||
|
TYPE_OP type=<root>.Z origin=CAST typeOperand=<root>.Z
|
||||||
|
GET_VAR 'other: kotlin.Any? declared in <root>.Z.equals' type=kotlin.Any? origin=null
|
||||||
|
WHEN type=kotlin.Unit origin=null
|
||||||
|
BRANCH
|
||||||
|
if: CALL 'public final fun not (): kotlin.Boolean [operator] declared in kotlin.Boolean' type=kotlin.Boolean origin=EXCLEQ
|
||||||
|
$this: CALL 'public final fun EQEQ (arg0: kotlin.Any?, arg1: kotlin.Any?): kotlin.Boolean declared in kotlin.internal.ir' type=kotlin.Boolean origin=EXCLEQ
|
||||||
|
arg0: GET_FIELD 'FIELD PROPERTY_BACKING_FIELD name:s type:kotlin.String visibility:private [final]' type=kotlin.String origin=null
|
||||||
|
receiver: GET_VAR '<this>: <root>.Z declared in <root>.Z.equals' type=<root>.Z origin=null
|
||||||
|
arg1: GET_FIELD 'FIELD PROPERTY_BACKING_FIELD name:s type:kotlin.String visibility:private [final]' type=kotlin.String origin=null
|
||||||
|
receiver: GET_VAR 'val tmp_0: <root>.Z [val] declared in <root>.Z.equals' type=<root>.Z origin=null
|
||||||
|
then: RETURN type=kotlin.Nothing from='public open fun equals (other: kotlin.Any?): kotlin.Boolean declared in <root>.Z'
|
||||||
|
CONST Boolean type=kotlin.Boolean value=false
|
||||||
|
RETURN type=kotlin.Nothing from='public open fun equals (other: kotlin.Any?): kotlin.Boolean declared in <root>.Z'
|
||||||
|
CONST Boolean type=kotlin.Boolean value=true
|
||||||
|
FUN GENERATED_SINGLE_FIELD_VALUE_CLASS_MEMBER name:hashCode visibility:public modality:OPEN <> ($this:<root>.Z) returnType:kotlin.Int
|
||||||
|
overridden:
|
||||||
|
public open fun hashCode (): kotlin.Int declared in kotlin.Any
|
||||||
|
$this: VALUE_PARAMETER GENERATED_SINGLE_FIELD_VALUE_CLASS_MEMBER name:<this> type:<root>.Z
|
||||||
|
BLOCK_BODY
|
||||||
|
RETURN type=kotlin.Nothing from='public open fun hashCode (): kotlin.Int declared in <root>.Z'
|
||||||
|
CALL 'public open fun hashCode (): kotlin.Int [fake_override] declared in kotlin.String' type=kotlin.Int origin=null
|
||||||
|
$this: GET_FIELD 'FIELD PROPERTY_BACKING_FIELD name:s type:kotlin.String visibility:private [final]' type=kotlin.String origin=null
|
||||||
|
receiver: GET_VAR '<this>: <root>.Z declared in <root>.Z.hashCode' type=<root>.Z origin=null
|
||||||
|
FUN GENERATED_SINGLE_FIELD_VALUE_CLASS_MEMBER name:toString visibility:public modality:OPEN <> ($this:<root>.Z) returnType:kotlin.String
|
||||||
|
overridden:
|
||||||
|
public open fun toString (): kotlin.String declared in kotlin.Any
|
||||||
|
$this: VALUE_PARAMETER GENERATED_SINGLE_FIELD_VALUE_CLASS_MEMBER name:<this> type:<root>.Z
|
||||||
|
BLOCK_BODY
|
||||||
|
RETURN type=kotlin.Nothing from='public open fun toString (): kotlin.String declared in <root>.Z'
|
||||||
|
STRING_CONCATENATION type=kotlin.String
|
||||||
|
CONST String type=kotlin.String value="Z(s="
|
||||||
|
GET_FIELD 'FIELD PROPERTY_BACKING_FIELD name:s type:kotlin.String visibility:private [final]' type=kotlin.String origin=null
|
||||||
|
receiver: GET_VAR '<this>: <root>.Z declared in <root>.Z.toString' type=<root>.Z origin=null
|
||||||
|
CONST String type=kotlin.String value=")"
|
||||||
|
PROPERTY name:equals visibility:public modality:FINAL [val]
|
||||||
|
FIELD PROPERTY_BACKING_FIELD name:equals type:kotlin.reflect.KFunction2<<root>.Z, kotlin.Any?, kotlin.Boolean> visibility:private [final,static]
|
||||||
|
EXPRESSION_BODY
|
||||||
|
FUNCTION_REFERENCE 'public open fun equals (other: kotlin.Any?): kotlin.Boolean [operator] declared in kotlin.Any' type=kotlin.reflect.KFunction2<<root>.Z, kotlin.Any?, kotlin.Boolean> origin=null reflectionTarget=<same>
|
||||||
|
FUN DEFAULT_PROPERTY_ACCESSOR name:<get-equals> visibility:public modality:FINAL <> () returnType:kotlin.reflect.KFunction2<<root>.Z, kotlin.Any?, kotlin.Boolean>
|
||||||
|
correspondingProperty: PROPERTY name:equals visibility:public modality:FINAL [val]
|
||||||
|
BLOCK_BODY
|
||||||
|
RETURN type=kotlin.Nothing from='public final fun <get-equals> (): kotlin.reflect.KFunction2<<root>.Z, kotlin.Any?, kotlin.Boolean> declared in <root>'
|
||||||
|
GET_FIELD 'FIELD PROPERTY_BACKING_FIELD name:equals type:kotlin.reflect.KFunction2<<root>.Z, kotlin.Any?, kotlin.Boolean> visibility:private [final,static]' type=kotlin.reflect.KFunction2<<root>.Z, kotlin.Any?, kotlin.Boolean> origin=null
|
||||||
@@ -0,0 +1,37 @@
|
|||||||
|
@JvmInline
|
||||||
|
value class Z {
|
||||||
|
constructor(s: String) /* primary */ {
|
||||||
|
super/*Any*/()
|
||||||
|
/* <init>() */
|
||||||
|
|
||||||
|
}
|
||||||
|
|
||||||
|
val s: String
|
||||||
|
field = s
|
||||||
|
get
|
||||||
|
|
||||||
|
override fun equals(other: Any?): Boolean {
|
||||||
|
when {
|
||||||
|
other !is Z -> return false
|
||||||
|
}
|
||||||
|
val tmp0_other_with_cast: Z = other as Z
|
||||||
|
when {
|
||||||
|
EQEQ(arg0 = <this>.#s, arg1 = tmp0_other_with_cast.#s).not() -> return false
|
||||||
|
}
|
||||||
|
return true
|
||||||
|
}
|
||||||
|
|
||||||
|
override fun hashCode(): Int {
|
||||||
|
return <this>.#s.hashCode()
|
||||||
|
}
|
||||||
|
|
||||||
|
override fun toString(): String {
|
||||||
|
return "Z(s=" + <this>.#s + ")"
|
||||||
|
}
|
||||||
|
|
||||||
|
}
|
||||||
|
|
||||||
|
val equals: KFunction2<Z, Any?, Boolean>
|
||||||
|
field = Any::equals
|
||||||
|
get
|
||||||
|
|
||||||
@@ -0,0 +1,78 @@
|
|||||||
|
FILE fqName:<root> fileName:/valueClassEquals.kt
|
||||||
|
CLASS CLASS name:Z modality:FINAL visibility:public [value] superTypes:[kotlin.Any]
|
||||||
|
annotations:
|
||||||
|
JvmInline
|
||||||
|
$this: VALUE_PARAMETER INSTANCE_RECEIVER name:<this> type:<root>.Z
|
||||||
|
CONSTRUCTOR visibility:public <> (s:kotlin.String) returnType:<root>.Z [primary]
|
||||||
|
VALUE_PARAMETER name:s index:0 type:kotlin.String
|
||||||
|
BLOCK_BODY
|
||||||
|
DELEGATING_CONSTRUCTOR_CALL 'public constructor <init> () [primary] declared in kotlin.Any'
|
||||||
|
INSTANCE_INITIALIZER_CALL classDescriptor='CLASS CLASS name:Z modality:FINAL visibility:public [value] superTypes:[kotlin.Any]'
|
||||||
|
PROPERTY name:s visibility:public modality:FINAL [val]
|
||||||
|
FIELD PROPERTY_BACKING_FIELD name:s type:kotlin.String visibility:private [final]
|
||||||
|
EXPRESSION_BODY
|
||||||
|
GET_VAR 's: kotlin.String declared in <root>.Z.<init>' type=kotlin.String origin=INITIALIZE_PROPERTY_FROM_PARAMETER
|
||||||
|
FUN DEFAULT_PROPERTY_ACCESSOR name:<get-s> visibility:public modality:FINAL <> ($this:<root>.Z) returnType:kotlin.String
|
||||||
|
correspondingProperty: PROPERTY name:s visibility:public modality:FINAL [val]
|
||||||
|
$this: VALUE_PARAMETER name:<this> type:<root>.Z
|
||||||
|
BLOCK_BODY
|
||||||
|
RETURN type=kotlin.Nothing from='public final fun <get-s> (): kotlin.String declared in <root>.Z'
|
||||||
|
GET_FIELD 'FIELD PROPERTY_BACKING_FIELD name:s type:kotlin.String visibility:private [final]' type=kotlin.String origin=null
|
||||||
|
receiver: GET_VAR '<this>: <root>.Z declared in <root>.Z.<get-s>' type=<root>.Z origin=null
|
||||||
|
FUN GENERATED_SINGLE_FIELD_VALUE_CLASS_MEMBER name:toString visibility:public modality:OPEN <> ($this:<root>.Z) returnType:kotlin.String
|
||||||
|
overridden:
|
||||||
|
public open fun toString (): kotlin.String declared in kotlin.Any
|
||||||
|
$this: VALUE_PARAMETER name:<this> type:<root>.Z
|
||||||
|
BLOCK_BODY
|
||||||
|
RETURN type=kotlin.Nothing from='public open fun toString (): kotlin.String declared in <root>.Z'
|
||||||
|
STRING_CONCATENATION type=kotlin.String
|
||||||
|
CONST String type=kotlin.String value="Z("
|
||||||
|
CONST String type=kotlin.String value="s="
|
||||||
|
GET_FIELD 'FIELD PROPERTY_BACKING_FIELD name:s type:kotlin.String visibility:private [final]' type=kotlin.String origin=null
|
||||||
|
receiver: GET_VAR '<this>: <root>.Z declared in <root>.Z.toString' type=<root>.Z origin=null
|
||||||
|
CONST String type=kotlin.String value=")"
|
||||||
|
FUN GENERATED_SINGLE_FIELD_VALUE_CLASS_MEMBER name:hashCode visibility:public modality:OPEN <> ($this:<root>.Z) returnType:kotlin.Int
|
||||||
|
overridden:
|
||||||
|
public open fun hashCode (): kotlin.Int declared in kotlin.Any
|
||||||
|
$this: VALUE_PARAMETER name:<this> type:<root>.Z
|
||||||
|
BLOCK_BODY
|
||||||
|
RETURN type=kotlin.Nothing from='public open fun hashCode (): kotlin.Int declared in <root>.Z'
|
||||||
|
CALL 'public open fun hashCode (): kotlin.Int [fake_override] declared in kotlin.String' type=kotlin.Int origin=null
|
||||||
|
$this: GET_FIELD 'FIELD PROPERTY_BACKING_FIELD name:s type:kotlin.String visibility:private [final]' type=kotlin.String origin=null
|
||||||
|
receiver: GET_VAR '<this>: <root>.Z declared in <root>.Z.hashCode' type=<root>.Z origin=null
|
||||||
|
FUN GENERATED_SINGLE_FIELD_VALUE_CLASS_MEMBER name:equals visibility:public modality:OPEN <> ($this:<root>.Z, other:kotlin.Any?) returnType:kotlin.Boolean [operator]
|
||||||
|
overridden:
|
||||||
|
public open fun equals (other: kotlin.Any?): kotlin.Boolean [operator] declared in kotlin.Any
|
||||||
|
$this: VALUE_PARAMETER name:<this> type:<root>.Z
|
||||||
|
VALUE_PARAMETER name:other index:0 type:kotlin.Any?
|
||||||
|
BLOCK_BODY
|
||||||
|
WHEN type=kotlin.Unit origin=null
|
||||||
|
BRANCH
|
||||||
|
if: TYPE_OP type=kotlin.Boolean origin=NOT_INSTANCEOF typeOperand=<root>.Z
|
||||||
|
GET_VAR 'other: kotlin.Any? declared in <root>.Z.equals' type=kotlin.Any? origin=null
|
||||||
|
then: RETURN type=kotlin.Nothing from='public open fun equals (other: kotlin.Any?): kotlin.Boolean [operator] declared in <root>.Z'
|
||||||
|
CONST Boolean type=kotlin.Boolean value=false
|
||||||
|
VAR IR_TEMPORARY_VARIABLE name:tmp_0 type:<root>.Z [val]
|
||||||
|
TYPE_OP type=<root>.Z origin=CAST typeOperand=<root>.Z
|
||||||
|
GET_VAR 'other: kotlin.Any? declared in <root>.Z.equals' type=kotlin.Any? origin=null
|
||||||
|
WHEN type=kotlin.Unit origin=null
|
||||||
|
BRANCH
|
||||||
|
if: CALL 'public final fun not (): kotlin.Boolean [operator] declared in kotlin.Boolean' type=kotlin.Boolean origin=EXCLEQ
|
||||||
|
$this: CALL 'public final fun EQEQ (arg0: kotlin.Any?, arg1: kotlin.Any?): kotlin.Boolean declared in kotlin.internal.ir' type=kotlin.Boolean origin=EXCLEQ
|
||||||
|
arg0: GET_FIELD 'FIELD PROPERTY_BACKING_FIELD name:s type:kotlin.String visibility:private [final]' type=kotlin.String origin=null
|
||||||
|
receiver: GET_VAR '<this>: <root>.Z declared in <root>.Z.equals' type=<root>.Z origin=null
|
||||||
|
arg1: GET_FIELD 'FIELD PROPERTY_BACKING_FIELD name:s type:kotlin.String visibility:private [final]' type=kotlin.String origin=null
|
||||||
|
receiver: GET_VAR 'val tmp_0: <root>.Z [val] declared in <root>.Z.equals' type=<root>.Z origin=null
|
||||||
|
then: RETURN type=kotlin.Nothing from='public open fun equals (other: kotlin.Any?): kotlin.Boolean [operator] declared in <root>.Z'
|
||||||
|
CONST Boolean type=kotlin.Boolean value=false
|
||||||
|
RETURN type=kotlin.Nothing from='public open fun equals (other: kotlin.Any?): kotlin.Boolean [operator] declared in <root>.Z'
|
||||||
|
CONST Boolean type=kotlin.Boolean value=true
|
||||||
|
PROPERTY name:equals visibility:public modality:FINAL [val]
|
||||||
|
FIELD PROPERTY_BACKING_FIELD name:equals type:kotlin.reflect.KFunction2<<root>.Z, @[ParameterName(name = 'other')] kotlin.Any?, kotlin.Boolean> visibility:private [final,static]
|
||||||
|
EXPRESSION_BODY
|
||||||
|
FUNCTION_REFERENCE 'public open fun equals (other: kotlin.Any?): kotlin.Boolean [operator] declared in <root>.Z' type=kotlin.reflect.KFunction2<<root>.Z, @[ParameterName(name = 'other')] kotlin.Any?, kotlin.Boolean> origin=null reflectionTarget=<same>
|
||||||
|
FUN DEFAULT_PROPERTY_ACCESSOR name:<get-equals> visibility:public modality:FINAL <> () returnType:kotlin.reflect.KFunction2<<root>.Z, @[ParameterName(name = 'other')] kotlin.Any?, kotlin.Boolean>
|
||||||
|
correspondingProperty: PROPERTY name:equals visibility:public modality:FINAL [val]
|
||||||
|
BLOCK_BODY
|
||||||
|
RETURN type=kotlin.Nothing from='public final fun <get-equals> (): kotlin.reflect.KFunction2<<root>.Z, @[ParameterName(name = 'other')] kotlin.Any?, kotlin.Boolean> declared in <root>'
|
||||||
|
GET_FIELD 'FIELD PROPERTY_BACKING_FIELD name:equals type:kotlin.reflect.KFunction2<<root>.Z, @[ParameterName(name = 'other')] kotlin.Any?, kotlin.Boolean> visibility:private [final,static]' type=kotlin.reflect.KFunction2<<root>.Z, @[ParameterName(name = 'other')] kotlin.Any?, kotlin.Boolean> origin=null
|
||||||
@@ -0,0 +1,11 @@
|
|||||||
|
// SKIP_KLIB_TEST
|
||||||
|
// IGNORE_BACKEND: JS_IR
|
||||||
|
// WITH_STDLIB
|
||||||
|
// LANGUAGE: +ValueClasses
|
||||||
|
|
||||||
|
import kotlin.jvm.JvmInline
|
||||||
|
|
||||||
|
@JvmInline
|
||||||
|
value class Z(val s: String)
|
||||||
|
|
||||||
|
val equals = Z::equals
|
||||||
@@ -0,0 +1,36 @@
|
|||||||
|
@JvmInline
|
||||||
|
value class Z {
|
||||||
|
constructor(s: String) /* primary */ {
|
||||||
|
super/*Any*/()
|
||||||
|
/* <init>() */
|
||||||
|
|
||||||
|
}
|
||||||
|
|
||||||
|
val s: String
|
||||||
|
field = s
|
||||||
|
get
|
||||||
|
|
||||||
|
override fun toString(): String {
|
||||||
|
return "Z(" + "s=" + <this>.#s + ")"
|
||||||
|
}
|
||||||
|
|
||||||
|
override fun hashCode(): Int {
|
||||||
|
return <this>.#s.hashCode()
|
||||||
|
}
|
||||||
|
|
||||||
|
override operator fun equals(other: Any?): Boolean {
|
||||||
|
when {
|
||||||
|
other !is Z -> return false
|
||||||
|
}
|
||||||
|
val tmp0_other_with_cast: Z = other as Z
|
||||||
|
when {
|
||||||
|
EQEQ(arg0 = <this>.#s, arg1 = tmp0_other_with_cast.#s).not() -> return false
|
||||||
|
}
|
||||||
|
return true
|
||||||
|
}
|
||||||
|
|
||||||
|
}
|
||||||
|
|
||||||
|
val equals: KFunction2<Z, @ParameterName(name = "other") Any?, Boolean>
|
||||||
|
field = Z::equals
|
||||||
|
get
|
||||||
+6
@@ -2894,6 +2894,12 @@ public class ClassicJvmIrTextTestGenerated extends AbstractClassicJvmIrTextTest
|
|||||||
runTest("compiler/testData/ir/irText/firProblems/V8ArrayToList.kt");
|
runTest("compiler/testData/ir/irText/firProblems/V8ArrayToList.kt");
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@Test
|
||||||
|
@TestMetadata("valueClassEquals.kt")
|
||||||
|
public void testValueClassEquals() throws Exception {
|
||||||
|
runTest("compiler/testData/ir/irText/firProblems/valueClassEquals.kt");
|
||||||
|
}
|
||||||
|
|
||||||
@Test
|
@Test
|
||||||
@TestMetadata("VarInInit.kt")
|
@TestMetadata("VarInInit.kt")
|
||||||
public void testVarInInit() throws Exception {
|
public void testVarInInit() throws Exception {
|
||||||
|
|||||||
+5
@@ -2040,6 +2040,11 @@ public class KlibIrTextTestCaseGenerated extends AbstractKlibIrTextTestCase {
|
|||||||
runTest("compiler/testData/ir/irText/firProblems/typeVariableAfterBuildMap.kt");
|
runTest("compiler/testData/ir/irText/firProblems/typeVariableAfterBuildMap.kt");
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@TestMetadata("valueClassEquals.kt")
|
||||||
|
public void testValueClassEquals() throws Exception {
|
||||||
|
runTest("compiler/testData/ir/irText/firProblems/valueClassEquals.kt");
|
||||||
|
}
|
||||||
|
|
||||||
@TestMetadata("VarInInit.kt")
|
@TestMetadata("VarInInit.kt")
|
||||||
public void testVarInInit() throws Exception {
|
public void testVarInInit() throws Exception {
|
||||||
runTest("compiler/testData/ir/irText/firProblems/VarInInit.kt");
|
runTest("compiler/testData/ir/irText/firProblems/VarInInit.kt");
|
||||||
|
|||||||
Generated
+6
@@ -2342,6 +2342,12 @@ public class FirLightTreeJsIrTextTestGenerated extends AbstractFirLightTreeJsIrT
|
|||||||
runTest("compiler/testData/ir/irText/firProblems/typeVariableAfterBuildMap.kt");
|
runTest("compiler/testData/ir/irText/firProblems/typeVariableAfterBuildMap.kt");
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@Test
|
||||||
|
@TestMetadata("valueClassEquals.kt")
|
||||||
|
public void testValueClassEquals() throws Exception {
|
||||||
|
runTest("compiler/testData/ir/irText/firProblems/valueClassEquals.kt");
|
||||||
|
}
|
||||||
|
|
||||||
@Test
|
@Test
|
||||||
@TestMetadata("VarInInit.kt")
|
@TestMetadata("VarInInit.kt")
|
||||||
public void testVarInInit() throws Exception {
|
public void testVarInInit() throws Exception {
|
||||||
|
|||||||
+6
@@ -2342,6 +2342,12 @@ public class FirPsiJsIrTextTestGenerated extends AbstractFirPsiJsIrTextTest {
|
|||||||
runTest("compiler/testData/ir/irText/firProblems/typeVariableAfterBuildMap.kt");
|
runTest("compiler/testData/ir/irText/firProblems/typeVariableAfterBuildMap.kt");
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@Test
|
||||||
|
@TestMetadata("valueClassEquals.kt")
|
||||||
|
public void testValueClassEquals() throws Exception {
|
||||||
|
runTest("compiler/testData/ir/irText/firProblems/valueClassEquals.kt");
|
||||||
|
}
|
||||||
|
|
||||||
@Test
|
@Test
|
||||||
@TestMetadata("VarInInit.kt")
|
@TestMetadata("VarInInit.kt")
|
||||||
public void testVarInInit() throws Exception {
|
public void testVarInInit() throws Exception {
|
||||||
|
|||||||
+6
@@ -2342,6 +2342,12 @@ public class ClassicJsIrTextTestGenerated extends AbstractClassicJsIrTextTest {
|
|||||||
runTest("compiler/testData/ir/irText/firProblems/typeVariableAfterBuildMap.kt");
|
runTest("compiler/testData/ir/irText/firProblems/typeVariableAfterBuildMap.kt");
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@Test
|
||||||
|
@TestMetadata("valueClassEquals.kt")
|
||||||
|
public void testValueClassEquals() throws Exception {
|
||||||
|
runTest("compiler/testData/ir/irText/firProblems/valueClassEquals.kt");
|
||||||
|
}
|
||||||
|
|
||||||
@Test
|
@Test
|
||||||
@TestMetadata("VarInInit.kt")
|
@TestMetadata("VarInInit.kt")
|
||||||
public void testVarInInit() throws Exception {
|
public void testVarInInit() throws Exception {
|
||||||
|
|||||||
Reference in New Issue
Block a user