Fixed KT-7755 Convert to expression body kills comment
#KT-7755
This commit is contained in:
@@ -0,0 +1,3 @@
|
||||
fun getText(): String {
|
||||
<caret>return "xxx" //TODO
|
||||
}
|
||||
@@ -0,0 +1 @@
|
||||
fun getText()<selection>: String</selection> = "xxx" //TODO
|
||||
@@ -0,0 +1,4 @@
|
||||
fun getText(): String {
|
||||
// let's return xxx
|
||||
<caret>return "xxx" //TODO
|
||||
}
|
||||
@@ -0,0 +1,2 @@
|
||||
fun getText()<selection>: String</selection> = // let's return xxx
|
||||
"xxx" //TODO
|
||||
@@ -0,0 +1,3 @@
|
||||
fun getText(): String { // let's return xxx
|
||||
<caret>return "xxx"
|
||||
}
|
||||
@@ -0,0 +1,2 @@
|
||||
fun getText()<selection>: String</selection> = // let's return xxx
|
||||
"xxx"
|
||||
@@ -0,0 +1,4 @@
|
||||
fun getText(): String {
|
||||
/* let's return xxx */
|
||||
<caret>return "xxx" /* TODO */
|
||||
}
|
||||
@@ -0,0 +1,2 @@
|
||||
fun getText(): String = /* let's return xxx */
|
||||
"xxx" /* TODO */
|
||||
Reference in New Issue
Block a user