[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
@@ -44,13 +44,14 @@ fun test6(a: Any) {
fun test7(a: Function1<Int, Int>) {
a as Function0<Unit> /*~> Unit */
error("") /* ERROR CALL */a /*as Function0<Unit> */;
error("") /* ErrorCallExpression */a /*as Function0<Unit> */;
}
fun test8(a: Function0<Unit>) {
error("") /* ERROR CALL */id<Function0<Unit>?>(x = a);
error("") /* ErrorCallExpression */id<Function0<Unit>?>(x = a);
}
fun test9() {
J().run1(r = ::test9 /*-> Runnable? */)
}