Partial body resolve: fixed for ! and parenthesis in conditions

This commit is contained in:
Valentin Kipyatkov
2015-03-25 19:08:02 +03:00
parent 698d839eee
commit cd18b16407
4 changed files with 28 additions and 0 deletions
@@ -0,0 +1,6 @@
Resolve target: value-parameter val p: kotlin.Any? smart-cast to kotlin.Any
----------------------------------------------
fun foo(p: Any?) {
if (!(p != null)) return
<caret>p.hashCode()
}
@@ -0,0 +1,4 @@
fun foo(p: Any?) {
if (!(p != null)) return
<caret>p.hashCode()
}