[IR] add testdata for irJsText
This commit is contained in:
committed by
teamcityserver
parent
68b17fe55b
commit
cdc74304c7
+56
@@ -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 */
|
||||
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user