Create from Usage: Respect smart-casts when suggesting parameter type candidates
#KT-6781 Fixed
This commit is contained in:
+6
@@ -0,0 +1,6 @@
|
||||
// "Create function 'foo'" "true"
|
||||
|
||||
fun test(s: String?) {
|
||||
if (s == null) return
|
||||
<caret>foo(s)
|
||||
}
|
||||
Reference in New Issue
Block a user