Create From Usage: Do not generate unnecessary/skip necessary empty lines

This commit is contained in:
Alexey Sedunov
2014-11-12 15:49:06 +03:00
parent 2e7cbab453
commit c487cc7838
123 changed files with 141 additions and 154 deletions
@@ -4,7 +4,6 @@
class A<T>(val n: T) {
val foo: Any
}
fun test(): Int {
@@ -6,6 +6,5 @@ import kotlin.properties.ReadOnlyProperty
class A<T> {
val foo: ReadOnlyProperty<A<T>, A<Int>>
val x: A<Int> by foo
}
@@ -6,6 +6,5 @@ import kotlin.properties.ReadWriteProperty
class A<T> {
val foo: ReadWriteProperty<A<T>, A<Int>>
var x: A<Int> by foo
}
@@ -3,7 +3,6 @@
class A<T>(val n: T) {
val foo: A<Int>
}
fun <U> A<U>.test(): A<Int> {
@@ -3,7 +3,6 @@
class A<T>(val n: T) {
class object {
val foo: Int
}
@@ -3,7 +3,6 @@
object A {
val foo: Int
}
fun test() {
@@ -3,7 +3,6 @@
class A<T>(val n: T) {
val foo: A<T>
}
fun test() {
@@ -3,7 +3,6 @@
class A<T>(val n: T) {
val foo: A<T>
}
fun test<U>(u: U) {
@@ -3,7 +3,6 @@
class A<T>(val n: T) {
val foo: A<T>?
}
fun test() {
@@ -3,7 +3,6 @@
class A<T>(val n: T) {
var foo: String
}
fun test() {