[TD] Remove some outdated tests with unsupported EXPLICIT_FLEXIBLE directive
This commit is contained in:
-8
@@ -1,8 +0,0 @@
|
||||
// !DIAGNOSTICS: -UNUSED_PARAMETER
|
||||
// !EXPLICIT_FLEXIBLE_TYPES
|
||||
// !CHECK_TYPE
|
||||
|
||||
fun foo(f: ft<Int, Int?>) {
|
||||
f.checkType { <!INAPPLICABLE_CANDIDATE!>_<!><Int>() }
|
||||
f.checkType { <!INAPPLICABLE_CANDIDATE!>_<!><Int?>() }
|
||||
}
|
||||
-8
@@ -1,8 +0,0 @@
|
||||
// !DIAGNOSTICS: -UNUSED_PARAMETER
|
||||
// !EXPLICIT_FLEXIBLE_TYPES
|
||||
// !CHECK_TYPE
|
||||
|
||||
fun foo(f: ft<Int, Int?>) {
|
||||
f.checkType { _<Int>() }
|
||||
f.checkType { _<Int?>() }
|
||||
}
|
||||
-3
@@ -1,3 +0,0 @@
|
||||
package
|
||||
|
||||
public fun foo(/*0*/ f: kotlin.Int!): kotlin.Unit
|
||||
-12
@@ -1,12 +0,0 @@
|
||||
// !DIAGNOSTICS: -UNUSED_PARAMETER
|
||||
// !EXPLICIT_FLEXIBLE_TYPES
|
||||
// !CHECK_TYPE
|
||||
package ppp
|
||||
|
||||
import checkType
|
||||
import _
|
||||
|
||||
fun foo(f: ft<Int, Int?>) {
|
||||
f.checkType { <!INAPPLICABLE_CANDIDATE!>_<!><Int>() }
|
||||
f.checkType { <!INAPPLICABLE_CANDIDATE!>_<!><Int?>() }
|
||||
}
|
||||
-12
@@ -1,12 +0,0 @@
|
||||
// !DIAGNOSTICS: -UNUSED_PARAMETER
|
||||
// !EXPLICIT_FLEXIBLE_TYPES
|
||||
// !CHECK_TYPE
|
||||
package ppp
|
||||
|
||||
import checkType
|
||||
import _
|
||||
|
||||
fun foo(f: ft<Int, Int?>) {
|
||||
f.checkType { _<Int>() }
|
||||
f.checkType { _<Int?>() }
|
||||
}
|
||||
-5
@@ -1,5 +0,0 @@
|
||||
package
|
||||
|
||||
package ppp {
|
||||
public fun foo(/*0*/ f: kotlin.Int!): kotlin.Unit
|
||||
}
|
||||
@@ -1,13 +0,0 @@
|
||||
// FIR_IDENTICAL
|
||||
// !CHECK_TYPE
|
||||
// !EXPLICIT_FLEXIBLE_TYPES
|
||||
|
||||
fun foo(
|
||||
p1: ft<MutableMap<Int, String>, Map<Int, String>?>,
|
||||
p2: Map<Int, String>
|
||||
) = p1 == p2
|
||||
|
||||
fun foo(
|
||||
p1: ft<String, String?>,
|
||||
p2: String
|
||||
) = p1 == p2
|
||||
@@ -1,4 +0,0 @@
|
||||
package
|
||||
|
||||
public fun foo(/*0*/ p1: kotlin.String!, /*1*/ p2: kotlin.String): kotlin.Boolean
|
||||
public fun foo(/*0*/ p1: kotlin.collections.(Mutable)Map<kotlin.Int, kotlin.String>!, /*1*/ p2: kotlin.collections.Map<kotlin.Int, kotlin.String>): kotlin.Boolean
|
||||
-13
@@ -1,13 +0,0 @@
|
||||
// !EXPLICIT_FLEXIBLE_TYPES
|
||||
|
||||
interface A<T>
|
||||
interface B<T>: A<ft<T, T?>>
|
||||
|
||||
interface C: A<String>, B<String>
|
||||
interface D: B<String>, A<String>
|
||||
interface E: A<String?>, B<String?>
|
||||
interface F: A<String?>, B<String>
|
||||
|
||||
interface G: A<String>, B<String?>
|
||||
interface H: A<Int>, B<String>
|
||||
interface I: B<Int>, A<String>
|
||||
-13
@@ -1,13 +0,0 @@
|
||||
// !EXPLICIT_FLEXIBLE_TYPES
|
||||
|
||||
interface A<T>
|
||||
interface B<T>: A<ft<T, T?>>
|
||||
|
||||
interface C: A<String>, B<String>
|
||||
interface D: B<String>, A<String>
|
||||
interface E: A<String?>, B<String?>
|
||||
interface F: A<String?>, B<String>
|
||||
|
||||
interface G: <!INCONSISTENT_TYPE_PARAMETER_VALUES!>A<String>, B<String?><!>
|
||||
interface H: <!INCONSISTENT_TYPE_PARAMETER_VALUES!>A<Int>, B<String><!>
|
||||
interface I: <!INCONSISTENT_TYPE_PARAMETER_VALUES!>B<Int>, A<String><!>
|
||||
-55
@@ -1,55 +0,0 @@
|
||||
package
|
||||
|
||||
public interface A</*0*/ T> {
|
||||
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 B</*0*/ T> : A<T!> {
|
||||
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 C : A<kotlin.String>, B<kotlin.String> {
|
||||
public open override /*2*/ /*fake_override*/ fun equals(/*0*/ other: kotlin.Any?): kotlin.Boolean
|
||||
public open override /*2*/ /*fake_override*/ fun hashCode(): kotlin.Int
|
||||
public open override /*2*/ /*fake_override*/ fun toString(): kotlin.String
|
||||
}
|
||||
|
||||
public interface D : B<kotlin.String>, A<kotlin.String> {
|
||||
public open override /*2*/ /*fake_override*/ fun equals(/*0*/ other: kotlin.Any?): kotlin.Boolean
|
||||
public open override /*2*/ /*fake_override*/ fun hashCode(): kotlin.Int
|
||||
public open override /*2*/ /*fake_override*/ fun toString(): kotlin.String
|
||||
}
|
||||
|
||||
public interface E : A<kotlin.String?>, B<kotlin.String?> {
|
||||
public open override /*2*/ /*fake_override*/ fun equals(/*0*/ other: kotlin.Any?): kotlin.Boolean
|
||||
public open override /*2*/ /*fake_override*/ fun hashCode(): kotlin.Int
|
||||
public open override /*2*/ /*fake_override*/ fun toString(): kotlin.String
|
||||
}
|
||||
|
||||
public interface F : A<kotlin.String?>, B<kotlin.String> {
|
||||
public open override /*2*/ /*fake_override*/ fun equals(/*0*/ other: kotlin.Any?): kotlin.Boolean
|
||||
public open override /*2*/ /*fake_override*/ fun hashCode(): kotlin.Int
|
||||
public open override /*2*/ /*fake_override*/ fun toString(): kotlin.String
|
||||
}
|
||||
|
||||
public interface G : A<kotlin.String>, B<kotlin.String?> {
|
||||
public open override /*2*/ /*fake_override*/ fun equals(/*0*/ other: kotlin.Any?): kotlin.Boolean
|
||||
public open override /*2*/ /*fake_override*/ fun hashCode(): kotlin.Int
|
||||
public open override /*2*/ /*fake_override*/ fun toString(): kotlin.String
|
||||
}
|
||||
|
||||
public interface H : A<kotlin.Int>, B<kotlin.String> {
|
||||
public open override /*2*/ /*fake_override*/ fun equals(/*0*/ other: kotlin.Any?): kotlin.Boolean
|
||||
public open override /*2*/ /*fake_override*/ fun hashCode(): kotlin.Int
|
||||
public open override /*2*/ /*fake_override*/ fun toString(): kotlin.String
|
||||
}
|
||||
|
||||
public interface I : B<kotlin.Int>, A<kotlin.String> {
|
||||
public open override /*2*/ /*fake_override*/ fun equals(/*0*/ other: kotlin.Any?): kotlin.Boolean
|
||||
public open override /*2*/ /*fake_override*/ fun hashCode(): kotlin.Int
|
||||
public open override /*2*/ /*fake_override*/ fun toString(): kotlin.String
|
||||
}
|
||||
Reference in New Issue
Block a user