Insert empty lines after functions and properties (KT-4002)
#KT-4002 Fixed
This commit is contained in:
@@ -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> {
|
||||
|
||||
+1
@@ -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> {
|
||||
|
||||
+1
@@ -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>()) { }
|
||||
}
|
||||
|
||||
+1
@@ -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)
|
||||
|
||||
Reference in New Issue
Block a user