Partial body resolve test to test 2 resolve modes
This commit is contained in:
@@ -1,13 +1,7 @@
|
||||
Resolve target: value-parameter val p: kotlin.String?
|
||||
----------------------------------------------
|
||||
fun foo(p: String?) {
|
||||
class LocalClass {
|
||||
fun f(): String? {
|
||||
if (p == null) return null
|
||||
print(p.size)
|
||||
return ""
|
||||
}
|
||||
}
|
||||
/* STATEMENT DELETED: class LocalClass { fun f(): String? { if (p == null) return null print(p.size) return "" } } */
|
||||
|
||||
<caret>p?.size
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user