[IR] update testdata: support IrDynamic* nodes

This commit is contained in:
Zalim Bashorov
2020-11-10 19:10:49 +03:00
committed by teamcityserver
parent 82839e6a67
commit 635cb44bf3
17 changed files with 66 additions and 132 deletions
@@ -1,25 +1,20 @@
fun testBinaryPlus(d: dynamic): dynamic {
return error("") /* ERROR: unsupported element type: IrDynamicOperatorExpressionImpl */
return d + 1
}
fun testBinaryMinus(d: dynamic): dynamic {
return error("") /* ERROR: unsupported element type: IrDynamicOperatorExpressionImpl */
return d - 1
}
fun testMul(d: dynamic): dynamic {
return error("") /* ERROR: unsupported element type: IrDynamicOperatorExpressionImpl */
return d * 2
}
fun testDiv(d: dynamic): dynamic {
return error("") /* ERROR: unsupported element type: IrDynamicOperatorExpressionImpl */
return d / 2
}
fun testMod(d: dynamic): dynamic {
return error("") /* ERROR: unsupported element type: IrDynamicOperatorExpressionImpl */
return d % 2
}