FIR DFA: fix CFG with normal arg after lambda [KT-46825]
The fix is a bit hacky, but it's very simple. In addition, it still does not handle the case where the receiver is a lambda function. But such case seems to be fairly rare in practice.
This commit is contained in:
committed by
TeamCityServer
parent
b78b50e1f8
commit
2e049c1208
+1
-1
@@ -32,7 +32,7 @@ fun test_3() {
|
||||
foo(
|
||||
x.length, // stable smartcast
|
||||
{ x = "" },
|
||||
<!SMARTCAST_IMPOSSIBLE!>x<!>.length // stable smartcast
|
||||
x.length // stable smartcast
|
||||
)
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user