[IR] update testdata: unify representation for error nodes

This commit is contained in:
Zalim Bashorov
2020-11-23 20:45:10 +03:00
committed by teamcityserver
parent ef9a901635
commit 7df6575a18
14 changed files with 73 additions and 62 deletions
@@ -1,29 +1,29 @@
fun test1() {
error("") /* ERROR EXPRESSION */
error("") /* ERROR EXPRESSION */
error("") /* ErrorExpression */
error("") /* ErrorExpression */
}
fun test2() {
L1@ while (true) { // BLOCK
error("") /* ERROR EXPRESSION */
error("") /* ERROR EXPRESSION */
error("") /* ErrorExpression */
error("") /* ErrorExpression */
}
}
fun test3() {
L1@ while (true) { // BLOCK
val lambda: Function0<Nothing> = local fun <anonymous>(): Nothing {
error("") /* ERROR EXPRESSION */
error("") /* ERROR EXPRESSION */
error("") /* ErrorExpression */
error("") /* ErrorExpression */
}
}
}
fun test4() {
while (error("") /* ERROR EXPRESSION */) { // BLOCK
while (error("") /* ErrorExpression */) { // BLOCK
}
while (error("") /* ERROR EXPRESSION */) { // BLOCK
while (error("") /* ErrorExpression */) { // BLOCK
}
}