Insert empty lines after functions and properties (KT-4002)

#KT-4002 Fixed
This commit is contained in:
Nikolay Krasko
2014-10-10 17:50:37 +04:00
parent 22d33a5afa
commit b06b3ab4c4
54 changed files with 764 additions and 121 deletions
@@ -4,6 +4,7 @@ class Foo<T> {
throw UnsupportedOperationException("not implemented") //To change body of created functions use File | Settings | File Templates.
}
}
fun <T> x (y: Foo<List<T>>, w: java.util.ArrayList<T>) {
val z: Iterable<T> = y["", w]
}
@@ -4,6 +4,7 @@ class Foo<T> {
throw UnsupportedOperationException("not implemented") //To change body of created functions use File | Settings | File Templates.
}
}
fun <T> x (y: Foo<List<T>>, w: java.util.ArrayList<T>) {
val z = y["", w]
}
@@ -5,6 +5,7 @@ class A<T>(val n: T) {
throw UnsupportedOperationException("not implemented") //To change body of created functions use File | Settings | File Templates.
}
}
class B<T>(val m: T)
fun test(): B<String> {
@@ -5,6 +5,7 @@ class A<T>(val n: T) {
throw UnsupportedOperationException("not implemented") //To change body of created functions use File | Settings | File Templates.
}
}
class B<T>(val m: T)
fun test<U, V>(u: U): B<V> {
@@ -4,6 +4,7 @@ class Foo<T> {
throw UnsupportedOperationException("not implemented") //To change body of created functions use File | Settings | File Templates.
}
}
fun foo() {
for (i: Int in Foo<Int>()) { }
}
@@ -4,6 +4,7 @@ class Foo<T> {
throw UnsupportedOperationException("not implemented") //To change body of created functions use File | Settings | File Templates.
}
}
fun foo() {
for (i in Foo<Int>()) {
bar(i)