[NI] Finish analysis for coerced last lambda expressions if needed
This commit is contained in:
@@ -42,7 +42,7 @@ fun test(a: A) {
|
||||
|
||||
a.<!OVERLOAD_RESOLUTION_AMBIGUITY!>forEach<!>("")
|
||||
|
||||
<!NI;NEW_INFERENCE_NO_INFORMATION_FOR_PARAMETER!>with<!>(a) {
|
||||
with(a) {
|
||||
forEach() checkType { _<String>() }
|
||||
|
||||
forEach(1) checkType { _<Int>() }
|
||||
|
||||
@@ -37,7 +37,7 @@ fun test2(a: A) {
|
||||
a.forEach() checkType { _<String>() }
|
||||
a.<!OVERLOAD_RESOLUTION_AMBIGUITY!>forEach<!>(1)
|
||||
|
||||
<!NI;NEW_INFERENCE_NO_INFORMATION_FOR_PARAMETER!>with<!>(a) {
|
||||
with(a) {
|
||||
forEach() checkType { _<String>() }
|
||||
<!OVERLOAD_RESOLUTION_AMBIGUITY!>forEach<!>(1)
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user