add trailing newlines to test files
otherwise I have to rollback dozens of files after using sed that follows conventions
This commit is contained in:
@@ -32,4 +32,4 @@ fun t2() : Int {
|
||||
<!UNREACHABLE_CODE!>return 2<!>
|
||||
}
|
||||
|
||||
fun doSmth() {}
|
||||
fun doSmth() {}
|
||||
|
||||
@@ -48,4 +48,4 @@ fun t4() {
|
||||
<!UNREACHABLE_CODE!>(43)<!>
|
||||
}
|
||||
|
||||
fun doSmth() {}
|
||||
fun doSmth() {}
|
||||
|
||||
@@ -34,4 +34,4 @@ fun test() {
|
||||
second = first + second
|
||||
first = temp
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
@@ -36,4 +36,4 @@ fun foo() {
|
||||
finally {
|
||||
for (i in 1..10) {}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
@@ -15,4 +15,4 @@ public open class Identifier2() {
|
||||
{
|
||||
this.field = false;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
@@ -15,4 +15,4 @@ fun foo(a: A) {
|
||||
class A() {
|
||||
val z : Int
|
||||
get() = 3
|
||||
}
|
||||
}
|
||||
|
||||
@@ -16,4 +16,4 @@ open class A() {
|
||||
|
||||
class B() : A() {
|
||||
final override fun foo(s : String) {} //should not be a warning
|
||||
}
|
||||
}
|
||||
|
||||
@@ -7,4 +7,4 @@ fun foo() {
|
||||
|
||||
var <!ASSIGNED_BUT_NEVER_ACCESSED_VARIABLE!>i<!> = 1 //should be an error 'variable i is assigned but never accessed'
|
||||
i = <!UNUSED_VALUE!>2<!>
|
||||
}
|
||||
}
|
||||
|
||||
@@ -35,4 +35,4 @@ fun test1() : Int {
|
||||
}
|
||||
}
|
||||
|
||||
fun doSmth() {}
|
||||
fun doSmth() {}
|
||||
|
||||
@@ -5,4 +5,4 @@ package kt843
|
||||
fun main(args : Array<String>) {
|
||||
// Integer type
|
||||
val // this word is grey, which looks strange
|
||||
<!SYNTAX!>}<!SYNTAX!><!><!>
|
||||
<!SYNTAX!>}<!SYNTAX!><!><!>
|
||||
|
||||
@@ -17,4 +17,4 @@ class A() {
|
||||
<!INITIALIZATION_BEFORE_DECLARATION!>k<!> = 3
|
||||
}
|
||||
val k : Int
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user