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