Names containing only '_' are deprecated (declarations, parameters, import aliases, labels, but not backquoted names)
This commit is contained in:
+3
-3
@@ -4,7 +4,7 @@
|
||||
// FILE: a.kt
|
||||
package p
|
||||
|
||||
public interface B<T, _> {
|
||||
public interface B<T, Z> {
|
||||
public fun foo(a: T?)
|
||||
}
|
||||
|
||||
@@ -12,7 +12,7 @@ public interface B<T, _> {
|
||||
// FILE: b.kt
|
||||
package p
|
||||
|
||||
public interface C<X, _> : B<X, _> {
|
||||
public interface C<X, Z> : B<X, Z> {
|
||||
override fun foo(a: X?)
|
||||
|
||||
}
|
||||
@@ -21,7 +21,7 @@ public interface C<X, _> : B<X, _> {
|
||||
// FILE: b.kt
|
||||
package p
|
||||
|
||||
public interface B<_, T> {
|
||||
public interface B<Z, T> {
|
||||
public fun foo(a: T?)
|
||||
}
|
||||
|
||||
|
||||
+6
-6
@@ -3,7 +3,7 @@ package
|
||||
|
||||
package p {
|
||||
|
||||
public interface B</*0*/ T, /*1*/ _> {
|
||||
public interface B</*0*/ T, /*1*/ Z> {
|
||||
public open override /*1*/ /*fake_override*/ fun equals(/*0*/ other: kotlin.Any?): kotlin.Boolean
|
||||
public abstract fun foo(/*0*/ a: T?): kotlin.Unit
|
||||
public open override /*1*/ /*fake_override*/ fun hashCode(): kotlin.Int
|
||||
@@ -17,11 +17,11 @@ package
|
||||
|
||||
package p {
|
||||
|
||||
public interface B</*0*/ T, /*1*/ _> {
|
||||
public interface B</*0*/ T, /*1*/ Z> {
|
||||
// -- Module: <m1> --
|
||||
}
|
||||
|
||||
public interface C</*0*/ X, /*1*/ _> : p.B<X, _> {
|
||||
public interface C</*0*/ X, /*1*/ Z> : p.B<X, Z> {
|
||||
public open override /*1*/ /*fake_override*/ fun equals(/*0*/ other: kotlin.Any?): kotlin.Boolean
|
||||
public abstract override /*1*/ fun foo(/*0*/ a: X?): kotlin.Unit
|
||||
public open override /*1*/ /*fake_override*/ fun hashCode(): kotlin.Int
|
||||
@@ -35,7 +35,7 @@ package
|
||||
|
||||
package p {
|
||||
|
||||
public interface B</*0*/ _, /*1*/ T> {
|
||||
public interface B</*0*/ Z, /*1*/ T> {
|
||||
public open override /*1*/ /*fake_override*/ fun equals(/*0*/ other: kotlin.Any?): kotlin.Boolean
|
||||
public abstract fun foo(/*0*/ a: T?): kotlin.Unit
|
||||
public open override /*1*/ /*fake_override*/ fun hashCode(): kotlin.Int
|
||||
@@ -51,11 +51,11 @@ public fun </*0*/ Y, /*1*/ Z> test(/*0*/ b: p.B<Y, Z>?): kotlin.Unit
|
||||
|
||||
package p {
|
||||
|
||||
public interface B</*0*/ _, /*1*/ T> {
|
||||
public interface B</*0*/ Z, /*1*/ T> {
|
||||
// -- Module: <m3> --
|
||||
}
|
||||
|
||||
public interface C</*0*/ X, /*1*/ _> : p.B<X, _> {
|
||||
public interface C</*0*/ X, /*1*/ Z> : p.B<X, Z> {
|
||||
// -- Module: <m2> --
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user