Partial body resolve works for local Nothing functions + does not go inside local functions and classes
This commit is contained in:
@@ -0,0 +1,10 @@
|
||||
fun foo(p: String?, p1: Any?) {
|
||||
if (p1 == null) return
|
||||
|
||||
fun localError(): Nothing = throw Exception()
|
||||
|
||||
if (p == null) {
|
||||
localError()
|
||||
}
|
||||
<caret>p.size
|
||||
}
|
||||
Reference in New Issue
Block a user