mirror of
https://github.com/jlengrand/kotlin.git
synced 2026-05-10 00:21:35 +00:00
Unit.VALUE -> Unit in testData
This commit is contained in:
@@ -1,5 +1,5 @@
|
||||
package test
|
||||
|
||||
public open class MethodTypePOneUpperBound() : java.lang.Object() {
|
||||
public open fun <T : Cloneable?> bar() : Unit = Unit.VALUE
|
||||
public open fun <T : Cloneable?> bar() : Unit = Unit
|
||||
}
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
package test
|
||||
|
||||
public class MethodWithTypeP() : java.lang.Object() {
|
||||
public fun <P> f() : Unit = Unit.VALUE
|
||||
public fun <P> f() : Unit = Unit
|
||||
}
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
package test
|
||||
|
||||
public class MethodWithTypePP() : java.lang.Object() {
|
||||
public fun <P, Q : P> f() : Unit = Unit.VALUE
|
||||
public fun <P, Q : P> f() : Unit = Unit
|
||||
}
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
package test
|
||||
|
||||
public open class MethodWithTypePRefClassP<P>() : java.lang.Object() {
|
||||
public fun <Q : P> f() : Unit = Unit.VALUE
|
||||
public fun <Q : P> f() : Unit = Unit
|
||||
}
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
package test
|
||||
|
||||
public final class MethosWithPRefTP() : java.lang.Object() {
|
||||
public fun <P> f(p0: P?) : Unit = Unit.VALUE
|
||||
public fun <P> f(p0: P?) : Unit = Unit
|
||||
}
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
package test
|
||||
|
||||
public open class VarargInt() : java.lang.Object() {
|
||||
public open fun vararg(vararg p0: Int): Unit = Unit.VALUE
|
||||
public open fun vararg(vararg p0: Int): Unit = Unit
|
||||
}
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
package test
|
||||
|
||||
public open class VarargString() : java.lang.Object() {
|
||||
public open fun vararg(vararg p0: String?): Unit = Unit.VALUE
|
||||
public open fun vararg(vararg p0: String?): Unit = Unit
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user