Create from Usage: Fix generation of extensions with nullable receiver
#KT-23796 Fixed
This commit is contained in:
+4
@@ -0,0 +1,4 @@
|
||||
// "Create extension function 'String?.notExistingFun'" "true"
|
||||
fun context(p: String?) {
|
||||
p.<caret>notExistingFun()
|
||||
}
|
||||
+8
@@ -0,0 +1,8 @@
|
||||
// "Create extension function 'String?.notExistingFun'" "true"
|
||||
fun context(p: String?) {
|
||||
p.notExistingFun()
|
||||
}
|
||||
|
||||
private fun String?.notExistingFun() {
|
||||
TODO("not implemented") //To change body of created functions use File | Settings | File Templates.
|
||||
}
|
||||
Reference in New Issue
Block a user