Create From Usage: Do not generate unnecessary/skip necessary empty lines
This commit is contained in:
-1
@@ -4,7 +4,6 @@
|
||||
|
||||
class A<T>(val n: T) {
|
||||
val foo: Any
|
||||
|
||||
}
|
||||
|
||||
fun test(): Int {
|
||||
|
||||
-1
@@ -6,6 +6,5 @@ import kotlin.properties.ReadOnlyProperty
|
||||
|
||||
class A<T> {
|
||||
val foo: ReadOnlyProperty<A<T>, A<Int>>
|
||||
|
||||
val x: A<Int> by foo
|
||||
}
|
||||
|
||||
-1
@@ -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> {
|
||||
|
||||
-1
@@ -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() {
|
||||
|
||||
-1
@@ -3,7 +3,6 @@
|
||||
|
||||
class A<T>(val n: T) {
|
||||
val foo: A<T>
|
||||
|
||||
}
|
||||
|
||||
fun test<U>(u: U) {
|
||||
|
||||
-1
@@ -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() {
|
||||
|
||||
Reference in New Issue
Block a user