Create from Usage: Respect smart-casts when suggesting parameter type candidates

#KT-6781 Fixed
This commit is contained in:
Alexey Sedunov
2015-03-10 19:13:24 +03:00
parent b033c17426
commit 84ad6c394e
6 changed files with 47 additions and 3 deletions
@@ -0,0 +1,6 @@
// "Create function 'foo'" "true"
fun test(s: String?) {
if (s == null) return
<caret>foo(s)
}