Create from Usage: Add test for KT-17537
#KT-17537 Fixed
This commit is contained in:
+4
@@ -0,0 +1,4 @@
|
||||
// "Create function 'foo'" "true"
|
||||
fun bar() {
|
||||
if (<caret>foo()) return
|
||||
}
|
||||
+8
@@ -0,0 +1,8 @@
|
||||
// "Create function 'foo'" "true"
|
||||
fun bar() {
|
||||
if (foo()) return
|
||||
}
|
||||
|
||||
fun foo(): Boolean {
|
||||
TODO("not implemented") //To change body of created functions use File | Settings | File Templates.
|
||||
}
|
||||
Reference in New Issue
Block a user