[NI] Don't complete nested call if there's no constraints at all
This commit is contained in:
+4
-4
@@ -9,13 +9,13 @@ fun testLambda() {
|
||||
{ it -> <!DEBUG_INFO_SMARTCAST!>x<!> + it }
|
||||
}
|
||||
|
||||
val twoLambda: (Int) -> Int = <!TYPE_MISMATCH!>myRun {
|
||||
val twoLambda: (Int) -> Int = myRun {
|
||||
val x: Int = 1
|
||||
<!TYPE_MISMATCH!>run {
|
||||
run {
|
||||
val y: Int = 2
|
||||
{ x + y }
|
||||
}<!>
|
||||
}<!>
|
||||
}
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user