Use CommentSaver instead of manual comment handling
This commit is contained in:
@@ -1,4 +1,5 @@
|
||||
fun foo(p: List<String?>): Int {
|
||||
val v = p[0] ?: <caret>return -1 // return -1 if null
|
||||
val v = p[0] ?: // return -1 if null
|
||||
<caret>return -1
|
||||
return v.length
|
||||
}
|
||||
Reference in New Issue
Block a user