diff --git a/compiler/testData/ir/irJsText/dynamic/dynamicAndMembersOfAny.kt.txt b/compiler/testData/ir/irJsText/dynamic/dynamicAndMembersOfAny.kt.txt new file mode 100644 index 00000000000..3c4a6ed5876 --- /dev/null +++ b/compiler/testData/ir/irJsText/dynamic/dynamicAndMembersOfAny.kt.txt @@ -0,0 +1,12 @@ +fun test1(d: dynamic): String { + return d /*~> Any */.toString() +} + +fun test2(d: dynamic): Int { + return d /*~> Any */.hashCode() +} + +fun test3(d: dynamic): Boolean { + return d /*~> Any */.equals(other = 42) +} + diff --git a/compiler/testData/ir/irJsText/dynamic/dynamicArrayAccess.kt.txt b/compiler/testData/ir/irJsText/dynamic/dynamicArrayAccess.kt.txt new file mode 100644 index 00000000000..83d22993e48 --- /dev/null +++ b/compiler/testData/ir/irJsText/dynamic/dynamicArrayAccess.kt.txt @@ -0,0 +1,15 @@ +fun testArrayAccess1(d: dynamic): dynamic { + return error("") /* ERROR: unsupported element type: IrDynamicOperatorExpressionImpl */ + +} + +fun testArrayAccess2(d: dynamic): dynamic { + return error("") /* ERROR: unsupported element type: IrDynamicOperatorExpressionImpl */ + +} + +fun testArrayAccess3(d: dynamic): dynamic { + return error("") /* ERROR: unsupported element type: IrDynamicOperatorExpressionImpl */ + +} + diff --git a/compiler/testData/ir/irJsText/dynamic/dynamicArrayAssignment.kt.txt b/compiler/testData/ir/irJsText/dynamic/dynamicArrayAssignment.kt.txt new file mode 100644 index 00000000000..ef9dbb7c795 --- /dev/null +++ b/compiler/testData/ir/irJsText/dynamic/dynamicArrayAssignment.kt.txt @@ -0,0 +1,10 @@ +fun testArrayAssignment(d: dynamic) { + error("") /* ERROR: unsupported element type: IrDynamicOperatorExpressionImpl */ + +} + +fun testArrayAssignmentFake(d: dynamic) { + error("") /* ERROR: unsupported element type: IrDynamicOperatorExpressionImpl */ + +} + diff --git a/compiler/testData/ir/irJsText/dynamic/dynamicArrayAugmentedAssignment.kt.txt b/compiler/testData/ir/irJsText/dynamic/dynamicArrayAugmentedAssignment.kt.txt new file mode 100644 index 00000000000..5a15a128130 --- /dev/null +++ b/compiler/testData/ir/irJsText/dynamic/dynamicArrayAugmentedAssignment.kt.txt @@ -0,0 +1,13 @@ +fun testArrayAugmentedAssignment(d: dynamic) { + error("") /* ERROR: unsupported element type: IrDynamicOperatorExpressionImpl */ + + error("") /* ERROR: unsupported element type: IrDynamicOperatorExpressionImpl */ + + error("") /* ERROR: unsupported element type: IrDynamicOperatorExpressionImpl */ + + error("") /* ERROR: unsupported element type: IrDynamicOperatorExpressionImpl */ + + error("") /* ERROR: unsupported element type: IrDynamicOperatorExpressionImpl */ + +} + diff --git a/compiler/testData/ir/irJsText/dynamic/dynamicArrayIncrementDecrement.kt.txt b/compiler/testData/ir/irJsText/dynamic/dynamicArrayIncrementDecrement.kt.txt new file mode 100644 index 00000000000..30237b4f279 --- /dev/null +++ b/compiler/testData/ir/irJsText/dynamic/dynamicArrayIncrementDecrement.kt.txt @@ -0,0 +1,11 @@ +fun testArrayIncrementDecrement(d: dynamic) { + val t1: dynamic = error("") /* ERROR: unsupported element type: IrDynamicOperatorExpressionImpl */ + + val t2: dynamic = error("") /* ERROR: unsupported element type: IrDynamicOperatorExpressionImpl */ + + val t3: dynamic = error("") /* ERROR: unsupported element type: IrDynamicOperatorExpressionImpl */ + + val t4: dynamic = error("") /* ERROR: unsupported element type: IrDynamicOperatorExpressionImpl */ + +} + diff --git a/compiler/testData/ir/irJsText/dynamic/dynamicBinaryEqualityOperator.kt.txt b/compiler/testData/ir/irJsText/dynamic/dynamicBinaryEqualityOperator.kt.txt new file mode 100644 index 00000000000..3c8a61dcb7b --- /dev/null +++ b/compiler/testData/ir/irJsText/dynamic/dynamicBinaryEqualityOperator.kt.txt @@ -0,0 +1,20 @@ +fun testEqeq(d: dynamic): Boolean { + return error("") /* ERROR: unsupported element type: IrDynamicOperatorExpressionImpl */ + +} + +fun testExclEq(d: dynamic): Boolean { + return error("") /* ERROR: unsupported element type: IrDynamicOperatorExpressionImpl */ + +} + +fun testEqeqeq(d: dynamic): Boolean { + return error("") /* ERROR: unsupported element type: IrDynamicOperatorExpressionImpl */ + +} + +fun testExclEqeq(d: dynamic): Boolean { + return error("") /* ERROR: unsupported element type: IrDynamicOperatorExpressionImpl */ + +} + diff --git a/compiler/testData/ir/irJsText/dynamic/dynamicBinaryLogicalOperator.kt.txt b/compiler/testData/ir/irJsText/dynamic/dynamicBinaryLogicalOperator.kt.txt new file mode 100644 index 00000000000..6bec0a27226 --- /dev/null +++ b/compiler/testData/ir/irJsText/dynamic/dynamicBinaryLogicalOperator.kt.txt @@ -0,0 +1,10 @@ +fun testAndAnd(d: dynamic): Boolean { + return error("") /* ERROR: unsupported element type: IrDynamicOperatorExpressionImpl */ + +} + +fun testOrOr(d: dynamic): Boolean { + return error("") /* ERROR: unsupported element type: IrDynamicOperatorExpressionImpl */ + +} + diff --git a/compiler/testData/ir/irJsText/dynamic/dynamicBinaryOperator.kt.txt b/compiler/testData/ir/irJsText/dynamic/dynamicBinaryOperator.kt.txt new file mode 100644 index 00000000000..4b824741a9b --- /dev/null +++ b/compiler/testData/ir/irJsText/dynamic/dynamicBinaryOperator.kt.txt @@ -0,0 +1,25 @@ +fun testBinaryPlus(d: dynamic): dynamic { + return error("") /* ERROR: unsupported element type: IrDynamicOperatorExpressionImpl */ + +} + +fun testBinaryMinus(d: dynamic): dynamic { + return error("") /* ERROR: unsupported element type: IrDynamicOperatorExpressionImpl */ + +} + +fun testMul(d: dynamic): dynamic { + return error("") /* ERROR: unsupported element type: IrDynamicOperatorExpressionImpl */ + +} + +fun testDiv(d: dynamic): dynamic { + return error("") /* ERROR: unsupported element type: IrDynamicOperatorExpressionImpl */ + +} + +fun testMod(d: dynamic): dynamic { + return error("") /* ERROR: unsupported element type: IrDynamicOperatorExpressionImpl */ + +} + diff --git a/compiler/testData/ir/irJsText/dynamic/dynamicBinaryRelationalOperator.kt.txt b/compiler/testData/ir/irJsText/dynamic/dynamicBinaryRelationalOperator.kt.txt new file mode 100644 index 00000000000..5b338fd196a --- /dev/null +++ b/compiler/testData/ir/irJsText/dynamic/dynamicBinaryRelationalOperator.kt.txt @@ -0,0 +1,20 @@ +fun testLess(d: dynamic): Boolean { + return error("") /* ERROR: unsupported element type: IrDynamicOperatorExpressionImpl */ + +} + +fun testLessOrEqual(d: dynamic): Boolean { + return error("") /* ERROR: unsupported element type: IrDynamicOperatorExpressionImpl */ + +} + +fun testGreater(d: dynamic): Boolean { + return error("") /* ERROR: unsupported element type: IrDynamicOperatorExpressionImpl */ + +} + +fun testGreaterOrEqual(d: dynamic): Boolean { + return error("") /* ERROR: unsupported element type: IrDynamicOperatorExpressionImpl */ + +} + diff --git a/compiler/testData/ir/irJsText/dynamic/dynamicCall.kt.txt b/compiler/testData/ir/irJsText/dynamic/dynamicCall.kt.txt new file mode 100644 index 00000000000..fba47c8579f --- /dev/null +++ b/compiler/testData/ir/irJsText/dynamic/dynamicCall.kt.txt @@ -0,0 +1,21 @@ +fun test1(d: dynamic): dynamic { + return error("") /* ERROR: unsupported element type: IrDynamicOperatorExpressionImpl */ + +} + +fun test2(d: dynamic): dynamic { + return { // BLOCK + val tmp0_safe_receiver: dynamic = d + when { + EQEQ(arg0 = tmp0_safe_receiver, arg1 = null) -> null + true -> error("") /* ERROR: unsupported element type: IrDynamicOperatorExpressionImpl */ + + } + } +} + +fun test3(d: dynamic): dynamic { + return error("") /* ERROR: unsupported element type: IrDynamicOperatorExpressionImpl */ + +} + diff --git a/compiler/testData/ir/irJsText/dynamic/dynamicElvisOperator.kt.txt b/compiler/testData/ir/irJsText/dynamic/dynamicElvisOperator.kt.txt new file mode 100644 index 00000000000..9be59ac622e --- /dev/null +++ b/compiler/testData/ir/irJsText/dynamic/dynamicElvisOperator.kt.txt @@ -0,0 +1,10 @@ +fun test(d: dynamic): dynamic { + return { // BLOCK + val tmp0_elvis_lhs: dynamic = d + when { + EQEQ(arg0 = tmp0_elvis_lhs, arg1 = null) -> "other" + true -> tmp0_elvis_lhs + } + } +} + diff --git a/compiler/testData/ir/irJsText/dynamic/dynamicExclExclOperator.kt.txt b/compiler/testData/ir/irJsText/dynamic/dynamicExclExclOperator.kt.txt new file mode 100644 index 00000000000..07531bfeec8 --- /dev/null +++ b/compiler/testData/ir/irJsText/dynamic/dynamicExclExclOperator.kt.txt @@ -0,0 +1,4 @@ +fun test(d: dynamic): dynamic { + return CHECK_NOT_NULL(arg0 = d) +} + diff --git a/compiler/testData/ir/irJsText/dynamic/dynamicInfixCall.kt.txt b/compiler/testData/ir/irJsText/dynamic/dynamicInfixCall.kt.txt new file mode 100644 index 00000000000..4da39341115 --- /dev/null +++ b/compiler/testData/ir/irJsText/dynamic/dynamicInfixCall.kt.txt @@ -0,0 +1,10 @@ +fun test1(d: dynamic): dynamic { + return error("") /* ERROR: unsupported element type: IrDynamicOperatorExpressionImpl */ + +} + +fun test2(d: dynamic): dynamic { + return error("") /* ERROR: unsupported element type: IrDynamicOperatorExpressionImpl */ + +} + diff --git a/compiler/testData/ir/irJsText/dynamic/dynamicMemberAccess.kt.txt b/compiler/testData/ir/irJsText/dynamic/dynamicMemberAccess.kt.txt new file mode 100644 index 00000000000..75ac901be06 --- /dev/null +++ b/compiler/testData/ir/irJsText/dynamic/dynamicMemberAccess.kt.txt @@ -0,0 +1,16 @@ +fun test1(d: dynamic): dynamic { + return error("") /* ERROR: unsupported element type: IrDynamicMemberExpressionImpl */ + +} + +fun test2(d: dynamic): dynamic { + return { // BLOCK + val tmp0_safe_receiver: dynamic = d + when { + EQEQ(arg0 = tmp0_safe_receiver, arg1 = null) -> null + true -> error("") /* ERROR: unsupported element type: IrDynamicMemberExpressionImpl */ + + } + } +} + diff --git a/compiler/testData/ir/irJsText/dynamic/dynamicMemberAssignment.kt.txt b/compiler/testData/ir/irJsText/dynamic/dynamicMemberAssignment.kt.txt new file mode 100644 index 00000000000..f2c842dd4b2 --- /dev/null +++ b/compiler/testData/ir/irJsText/dynamic/dynamicMemberAssignment.kt.txt @@ -0,0 +1,16 @@ +fun testMemberAssignment(d: dynamic) { + error("") /* ERROR: unsupported element type: IrDynamicOperatorExpressionImpl */ + +} + +fun testSafeMemberAssignment(d: dynamic) { + { // BLOCK + val tmp0_safe_receiver: dynamic = d + when { + EQEQ(arg0 = tmp0_safe_receiver, arg1 = null) -> null /*~> Unit */ + true -> error("") /* ERROR: unsupported element type: IrDynamicOperatorExpressionImpl */ + + } + } +} + diff --git a/compiler/testData/ir/irJsText/dynamic/dynamicMemberAugmentedAssignment.kt.txt b/compiler/testData/ir/irJsText/dynamic/dynamicMemberAugmentedAssignment.kt.txt new file mode 100644 index 00000000000..dfb1d73067c --- /dev/null +++ b/compiler/testData/ir/irJsText/dynamic/dynamicMemberAugmentedAssignment.kt.txt @@ -0,0 +1,56 @@ +fun testAugmentedMemberAssignment(d: dynamic) { + error("") /* ERROR: unsupported element type: IrDynamicOperatorExpressionImpl */ + + error("") /* ERROR: unsupported element type: IrDynamicOperatorExpressionImpl */ + + error("") /* ERROR: unsupported element type: IrDynamicOperatorExpressionImpl */ + + error("") /* ERROR: unsupported element type: IrDynamicOperatorExpressionImpl */ + + error("") /* ERROR: unsupported element type: IrDynamicOperatorExpressionImpl */ + +} + +fun testSafeAugmentedMemberAssignment(d: dynamic) { + { // BLOCK + val tmp0_safe_receiver: dynamic = d + when { + EQEQ(arg0 = tmp0_safe_receiver, arg1 = null) -> null /*~> Unit */ + true -> error("") /* ERROR: unsupported element type: IrDynamicOperatorExpressionImpl */ + + } + } + { // BLOCK + val tmp1_safe_receiver: dynamic = d + when { + EQEQ(arg0 = tmp1_safe_receiver, arg1 = null) -> null /*~> Unit */ + true -> error("") /* ERROR: unsupported element type: IrDynamicOperatorExpressionImpl */ + + } + } + { // BLOCK + val tmp2_safe_receiver: dynamic = d + when { + EQEQ(arg0 = tmp2_safe_receiver, arg1 = null) -> null /*~> Unit */ + true -> error("") /* ERROR: unsupported element type: IrDynamicOperatorExpressionImpl */ + + } + } + { // BLOCK + val tmp3_safe_receiver: dynamic = d + when { + EQEQ(arg0 = tmp3_safe_receiver, arg1 = null) -> null /*~> Unit */ + true -> error("") /* ERROR: unsupported element type: IrDynamicOperatorExpressionImpl */ + + } + } + { // BLOCK + val tmp4_safe_receiver: dynamic = d + when { + EQEQ(arg0 = tmp4_safe_receiver, arg1 = null) -> null /*~> Unit */ + true -> error("") /* ERROR: unsupported element type: IrDynamicOperatorExpressionImpl */ + + } + } +} + diff --git a/compiler/testData/ir/irJsText/dynamic/dynamicMemberIncrementDecrement.kt.txt b/compiler/testData/ir/irJsText/dynamic/dynamicMemberIncrementDecrement.kt.txt new file mode 100644 index 00000000000..0c46c1b89dc --- /dev/null +++ b/compiler/testData/ir/irJsText/dynamic/dynamicMemberIncrementDecrement.kt.txt @@ -0,0 +1,46 @@ +fun testMemberIncrementDecrement(d: dynamic) { + val t1: dynamic = error("") /* ERROR: unsupported element type: IrDynamicOperatorExpressionImpl */ + + val t2: dynamic = error("") /* ERROR: unsupported element type: IrDynamicOperatorExpressionImpl */ + + val t3: dynamic = error("") /* ERROR: unsupported element type: IrDynamicOperatorExpressionImpl */ + + val t4: dynamic = error("") /* ERROR: unsupported element type: IrDynamicOperatorExpressionImpl */ + +} + +fun testSafeMemberIncrementDecrement(d: dynamic) { + val t1: dynamic = { // BLOCK + val tmp0_safe_receiver: dynamic = d + when { + EQEQ(arg0 = tmp0_safe_receiver, arg1 = null) -> null + true -> error("") /* ERROR: unsupported element type: IrDynamicOperatorExpressionImpl */ + + } + } + val t2: dynamic = { // BLOCK + val tmp1_safe_receiver: dynamic = d + when { + EQEQ(arg0 = tmp1_safe_receiver, arg1 = null) -> null + true -> error("") /* ERROR: unsupported element type: IrDynamicOperatorExpressionImpl */ + + } + } + val t3: dynamic = { // BLOCK + val tmp2_safe_receiver: dynamic = d + when { + EQEQ(arg0 = tmp2_safe_receiver, arg1 = null) -> null + true -> error("") /* ERROR: unsupported element type: IrDynamicOperatorExpressionImpl */ + + } + } + val t4: dynamic = { // BLOCK + val tmp3_safe_receiver: dynamic = d + when { + EQEQ(arg0 = tmp3_safe_receiver, arg1 = null) -> null + true -> error("") /* ERROR: unsupported element type: IrDynamicOperatorExpressionImpl */ + + } + } +} + diff --git a/compiler/testData/ir/irJsText/dynamic/dynamicUnaryOperator.kt.txt b/compiler/testData/ir/irJsText/dynamic/dynamicUnaryOperator.kt.txt new file mode 100644 index 00000000000..24ec92f5615 --- /dev/null +++ b/compiler/testData/ir/irJsText/dynamic/dynamicUnaryOperator.kt.txt @@ -0,0 +1,15 @@ +fun testUnaryMinus(d: dynamic): dynamic { + return error("") /* ERROR: unsupported element type: IrDynamicOperatorExpressionImpl */ + +} + +fun testUnaryPlus(d: dynamic): dynamic { + return error("") /* ERROR: unsupported element type: IrDynamicOperatorExpressionImpl */ + +} + +fun testExcl(d: dynamic): dynamic { + return error("") /* ERROR: unsupported element type: IrDynamicOperatorExpressionImpl */ + +} + diff --git a/compiler/testData/ir/irJsText/dynamic/dynamicWithSmartCast.kt.txt b/compiler/testData/ir/irJsText/dynamic/dynamicWithSmartCast.kt.txt new file mode 100644 index 00000000000..c815813af50 --- /dev/null +++ b/compiler/testData/ir/irJsText/dynamic/dynamicWithSmartCast.kt.txt @@ -0,0 +1,14 @@ +fun test1(d: dynamic): Int { + return when { + d is String -> d /*~> String */.() + true -> -1 + } +} + +fun test2(d: dynamic): Int { + return when { + d is Array<*> -> d /*~> Array */.() + true -> -1 + } +} + diff --git a/compiler/testData/ir/irJsText/dynamic/implicitCastFromDynamic.kt.txt b/compiler/testData/ir/irJsText/dynamic/implicitCastFromDynamic.kt.txt new file mode 100644 index 00000000000..716d7da407d --- /dev/null +++ b/compiler/testData/ir/irJsText/dynamic/implicitCastFromDynamic.kt.txt @@ -0,0 +1,25 @@ +val d: dynamic + field = 1 + get + +val p: Int + field = () /*~> Int */ + get + +fun test1(d: dynamic): Int { + return d /*~> Int */ +} + +fun test2(d: dynamic): Any { + return d /*~> Any */ +} + +fun test3(d: dynamic): Any? { + return d +} + +fun test4(d: dynamic): String { + return error("") /* ERROR: unsupported element type: IrDynamicOperatorExpressionImpl */ + /*~> String */ +} + diff --git a/compiler/testData/ir/irJsText/dynamic/implicitCastToDynamic.kt.txt b/compiler/testData/ir/irJsText/dynamic/implicitCastToDynamic.kt.txt new file mode 100644 index 00000000000..1a0c49f7640 --- /dev/null +++ b/compiler/testData/ir/irJsText/dynamic/implicitCastToDynamic.kt.txt @@ -0,0 +1,42 @@ +val d1: dynamic + field = 1 + get + +val p: Int + field = 1 + get + +var d2: dynamic + field = () + get + set + +fun withDynamic(d: dynamic): dynamic { + return d +} + +fun test1(s: String) { + withDynamic(d = s) +} + +fun test2(a: Any) { + val d: dynamic = a +} + +fun test3(a: Any?) { + val d: dynamic = a +} + +fun test4(a: Any, s: String, na: Any?) { + var d: dynamic = () + d = a + d = na + d = s +} + +fun test5(a: Any, s: String, na: Any?) { + ( = a) + ( = na) + ( = s) +} + diff --git a/compiler/testData/ir/irJsText/dynamic/invokeOperator.kt.txt b/compiler/testData/ir/irJsText/dynamic/invokeOperator.kt.txt new file mode 100644 index 00000000000..191b3b23437 --- /dev/null +++ b/compiler/testData/ir/irJsText/dynamic/invokeOperator.kt.txt @@ -0,0 +1,37 @@ +fun invoke() { +} + +fun test1(a: dynamic): dynamic { + return error("") /* ERROR: unsupported element type: IrDynamicOperatorExpressionImpl */ + +} + +fun test2(a: dynamic): dynamic { + return error("") /* ERROR: unsupported element type: IrDynamicOperatorExpressionImpl */ + +} + +fun test3(a: dynamic, b: dynamic): dynamic { + return error("") /* ERROR: unsupported element type: IrDynamicOperatorExpressionImpl */ + +} + +fun test4(a: dynamic, b: dynamic): dynamic { + return error("") /* ERROR: unsupported element type: IrDynamicOperatorExpressionImpl */ + +} + +fun test5(a: dynamic, b: dynamic): dynamic { + return error("") /* ERROR: unsupported element type: IrDynamicOperatorExpressionImpl */ + +} + +fun test6(a: dynamic, b: dynamic): dynamic { + return error("") /* ERROR: unsupported element type: IrDynamicOperatorExpressionImpl */ + +} + +fun test7(a: dynamic) { + return invoke() +} + diff --git a/compiler/testData/ir/irJsText/external/kt38765.kt.txt b/compiler/testData/ir/irJsText/external/kt38765.kt.txt new file mode 100644 index 00000000000..8546539e363 --- /dev/null +++ b/compiler/testData/ir/irJsText/external/kt38765.kt.txt @@ -0,0 +1,37 @@ +package events + +open external class internal { + external constructor() /* primary */ + open external class EventEmitterP : internal { + external constructor() /* primary */ + + } + + open external class EventEmitterS : internal { + external constructor(a: Any) + + } + + external object NestedExternalObject : internal { + private external constructor() /* primary */ + + } + + external enum class NestedExternalEnum : Enum { + private external constructor() /* primary */ + A = NestedExternalEnum() + + B = NestedExternalEnum() + + fun values(): Array /* Synthetic body for ENUM_VALUES */ + + fun valueOf(value: String): NestedExternalEnum /* Synthetic body for ENUM_VALUEOF */ + + } + + external interface NestedExternalInterface { + + } + +} + diff --git a/compiler/testData/ir/irJsText/native/nativeNativeKotlin.kt.txt b/compiler/testData/ir/irJsText/native/nativeNativeKotlin.kt.txt new file mode 100644 index 00000000000..291105d07d4 --- /dev/null +++ b/compiler/testData/ir/irJsText/native/nativeNativeKotlin.kt.txt @@ -0,0 +1,28 @@ +package foo + +open external class A { + external constructor() /* primary */ + fun foo(): String + +} + +open external class B : A { + external constructor() /* primary */ + fun bar(): String + +} + +class C : B { + constructor() /* primary */ { + super/*B*/() + /* () */ + + } + +} + +fun box(): String { + val c: C = C() + return "OK" +} + diff --git a/compiler/testData/ir/irJsText/scripting/arrayAssignment.kt.txt b/compiler/testData/ir/irJsText/scripting/arrayAssignment.kt.txt new file mode 100644 index 00000000000..fc8509d5628 --- /dev/null +++ b/compiler/testData/ir/irJsText/scripting/arrayAssignment.kt.txt @@ -0,0 +1 @@ +/* ERROR: unsupported element type: IrScriptImpl */ diff --git a/compiler/testData/ir/irJsText/scripting/fun.kt.txt b/compiler/testData/ir/irJsText/scripting/fun.kt.txt new file mode 100644 index 00000000000..fc8509d5628 --- /dev/null +++ b/compiler/testData/ir/irJsText/scripting/fun.kt.txt @@ -0,0 +1 @@ +/* ERROR: unsupported element type: IrScriptImpl */ diff --git a/compiler/testData/ir/irJsText/scripting/safeCalls.kt.txt b/compiler/testData/ir/irJsText/scripting/safeCalls.kt.txt new file mode 100644 index 00000000000..fc8509d5628 --- /dev/null +++ b/compiler/testData/ir/irJsText/scripting/safeCalls.kt.txt @@ -0,0 +1 @@ +/* ERROR: unsupported element type: IrScriptImpl */