Unit.VALUE -> Unit in testData
This commit is contained in:
+1
-1
@@ -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
-1
@@ -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
|
||||
}
|
||||
|
||||
+1
-1
@@ -5,4 +5,4 @@ trait Bar
|
||||
|
||||
fun <T> foo(): Unit
|
||||
where T : Foo, T : Bar
|
||||
= Unit.VALUE
|
||||
= Unit
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
//ALLOW_AST_ACCESS
|
||||
package test
|
||||
|
||||
fun unit() = Unit.VALUE
|
||||
fun unit() = Unit
|
||||
|
||||
+2
-2
@@ -1,6 +1,6 @@
|
||||
package test
|
||||
|
||||
public open class Super {
|
||||
public fun String.foo() = Unit.VALUE
|
||||
public fun String.foo() = Unit
|
||||
public abstract fun String.bar(p: String)
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user