PSI2IR KT-51036 fix lambda return value generation

This commit is contained in:
Dmitry Petrov
2022-01-31 12:51:53 +03:00
committed by Space
parent 02d731255c
commit beb4cf3d99
19 changed files with 222 additions and 9 deletions
@@ -14,7 +14,7 @@ fun test3() {
L1@ while (true) { // BLOCK
val lambda: Function0<Nothing> = local fun <anonymous>(): Nothing {
error("") /* ErrorExpression */
error("") /* ErrorExpression */
return error("") /* ErrorExpression */
}
}