Corrected formatting in test data
This commit is contained in:
@@ -1,5 +1,7 @@
|
||||
fun foo(p: List<String?>): Int {
|
||||
val v = p[0] ?: <caret>return -1 // v is null // we should do something with it // let's return -1
|
||||
val v = p[0] ?: return -1 // v is null
|
||||
// we should do something with it
|
||||
// let's return -1
|
||||
// end of if
|
||||
return v.length()
|
||||
}
|
||||
@@ -11,8 +11,6 @@ class F {
|
||||
//c3
|
||||
|
||||
|
||||
|
||||
|
||||
//c4
|
||||
|
||||
fun f2() {
|
||||
|
||||
@@ -4,8 +4,6 @@ class F {
|
||||
//c3
|
||||
|
||||
|
||||
|
||||
|
||||
//c4
|
||||
|
||||
fun f2() {
|
||||
|
||||
@@ -11,8 +11,6 @@ object F {
|
||||
//c3
|
||||
|
||||
|
||||
|
||||
|
||||
//c4
|
||||
|
||||
fun f2() {
|
||||
|
||||
Reference in New Issue
Block a user