Partial body resolve: rewritten algorithm of filter building to ensure correct resolve of smart cast points (+ prepared to support more strict mode for resolve only)
This commit is contained in:
@@ -0,0 +1,10 @@
|
||||
fun foo(x: Any?) {
|
||||
if (x == null) {
|
||||
val error = f()
|
||||
error("error")
|
||||
}
|
||||
|
||||
<caret>x.hashCode()
|
||||
}
|
||||
|
||||
fun f(): (String) -> Unit = {}
|
||||
Reference in New Issue
Block a user