[IR] update testdata: unify representation for error nodes
This commit is contained in:
committed by
teamcityserver
parent
ef9a901635
commit
7df6575a18
@@ -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
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user