Tests: remove diagnostic tests which are present elsewhere
- `typeParameterWithTwoBounds.kt` is already present in `diagnostics/testsWithJvmBackend/duplicateJvmSignature/erasure/`. - `clashWithCompanionObjectField.kt` is already present in `codegen/box/fieldRename/jvmFieldNoClash1.kt`. - `jvmFieldAndJavaGetter.kt` is already present in `codegen/box/jvmField/noClashWithInheritedJavaMethod.kt`. In case of two latter tests on JvmField, there's (correctly) no error reported in JVM IR, which is why those are box tests.
This commit is contained in:
committed by
Space Team
parent
c62fe0d107
commit
81a9f5654e
-8
@@ -1,8 +0,0 @@
|
||||
// !DIAGNOSTICS: -UNUSED_PARAMETER
|
||||
|
||||
interface Foo
|
||||
interface Bar
|
||||
|
||||
fun <T> foo(x: T): T where T: Foo, T: Bar {null!!}
|
||||
fun foo(x: Foo): Foo {null!!}
|
||||
fun foo(x: Bar): Bar {null!!}
|
||||
-8
@@ -1,8 +0,0 @@
|
||||
// !DIAGNOSTICS: -UNUSED_PARAMETER
|
||||
|
||||
interface Foo
|
||||
interface Bar
|
||||
|
||||
<!CONFLICTING_JVM_DECLARATIONS!>fun <T> foo(x: T): T<!> where T: Foo, T: Bar {null!!}
|
||||
<!CONFLICTING_JVM_DECLARATIONS!>fun foo(x: Foo): Foo<!> {null!!}
|
||||
fun foo(x: Bar): Bar {null!!}
|
||||
-17
@@ -1,17 +0,0 @@
|
||||
package
|
||||
|
||||
public fun foo(/*0*/ x: Bar): Bar
|
||||
public fun foo(/*0*/ x: Foo): Foo
|
||||
public fun </*0*/ T : Foo> foo(/*0*/ x: T): T where T : Bar
|
||||
|
||||
public interface Bar {
|
||||
public open override /*1*/ /*fake_override*/ fun equals(/*0*/ other: kotlin.Any?): kotlin.Boolean
|
||||
public open override /*1*/ /*fake_override*/ fun hashCode(): kotlin.Int
|
||||
public open override /*1*/ /*fake_override*/ fun toString(): kotlin.String
|
||||
}
|
||||
|
||||
public interface Foo {
|
||||
public open override /*1*/ /*fake_override*/ fun equals(/*0*/ other: kotlin.Any?): kotlin.Boolean
|
||||
public open override /*1*/ /*fake_override*/ fun hashCode(): kotlin.Int
|
||||
public open override /*1*/ /*fake_override*/ fun toString(): kotlin.String
|
||||
}
|
||||
Reference in New Issue
Block a user