Use CommentSaver instead of manual comment handling

This commit is contained in:
Valentin Kipyatkov
2016-04-18 19:49:43 +03:00
parent e72e6bf7db
commit bf4a376831
4 changed files with 16 additions and 28 deletions
@@ -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
}