[NI] Finish analysis for coerced last lambda expressions if needed

This commit is contained in:
Mikhail Zarechenskiy
2020-02-11 09:02:31 +03:00
parent 220bf6d62f
commit 4542f3b720
34 changed files with 145 additions and 55 deletions
@@ -13,7 +13,7 @@ fun test(a: A, b: B) {
b.<!FUNCTION_EXPECTED!>(a)<!>()
<!NI;NEW_INFERENCE_NO_INFORMATION_FOR_PARAMETER!>with<!>(b) {
with(b) {
val <!UNUSED_VARIABLE!>y<!>: Int = a()
<!FUNCTION_EXPECTED!>(a)<!>()
}