FIR: skip return insertion for lambda w/ Unit return type
This commit is contained in:
committed by
Mikhail Glukhikh
parent
f1ce668ede
commit
ca541337d1
+1
-1
@@ -21,7 +21,7 @@ FILE: safeCalls.kt
|
||||
}
|
||||
public final fun test_3(x: R|kotlin/Any|): R|kotlin/Unit| {
|
||||
(R|<local>/x| as? R|A|)?.{ $subj$.R|/A.bar|(R|<local>/x|) }?.{ $subj$.R|/foo|(R|<local>/x|.R|/A.bool|()) }?.{ $subj$.R|/let|(<L> = let@fun <anonymous>(): R|kotlin/Unit| {
|
||||
^ R|<local>/x|.R|/A.bool|()
|
||||
R|<local>/x|.R|/A.bool|()
|
||||
}
|
||||
) }
|
||||
R|<local>/x|.<Unresolved name: bool>#()
|
||||
|
||||
Reference in New Issue
Block a user