Added a test
This commit is contained in:
@@ -0,0 +1,6 @@
|
||||
Resolve target: value-parameter val p: kotlin.Any?
|
||||
----------------------------------------------
|
||||
fun foo(p: Any?) {
|
||||
/* STATEMENT DELETED: if (p == null) { print("null") } else { return } */
|
||||
<caret>p?.hashCode()
|
||||
}
|
||||
@@ -0,0 +1,9 @@
|
||||
fun foo(p: Any?) {
|
||||
if (p == null) {
|
||||
print("null")
|
||||
}
|
||||
else {
|
||||
return
|
||||
}
|
||||
<caret>p?.hashCode()
|
||||
}
|
||||
Reference in New Issue
Block a user