[FIR] Don't miss RETURN_NOT_ALLOWED

^KT-59914 Fixed
This commit is contained in:
Nikolay Lunyak
2023-09-01 16:20:45 +03:00
committed by Space Team
parent 009cda0c60
commit cd392ebe69
9 changed files with 12 additions and 17 deletions
@@ -25,7 +25,7 @@ FILE: inlineLambdasAreInplace.kt
}
public final fun testGeneric(): R|kotlin/Unit| {
lvar x: R|kotlin/String?| = String()
lval lambda: R|() -> kotlin/Unit| = R|/any|<R|() -> kotlin/Unit|>(<L> = any@fun <anonymous>(): R|kotlin/Unit| <inline=Inline> {
lval lambda: R|() -> kotlin/Unit| = R|/any|<R|() -> kotlin/Unit|>(<L> = any@fun <anonymous>(): R|kotlin/Unit| <inline=NoInline> {
R|<local>/x| = Null(null)
}
)