Files
kotlin-fork/compiler/testData/diagnostics/tests/traitWithRequired/differentGenericArguments.kt
T
2015-05-12 19:43:17 +02:00

9 lines
321 B
Kotlin
Vendored

open class Generic<T>
interface A : <!TRAIT_WITH_SUPERCLASS!>Generic<Int><!>
interface B : <!TRAIT_WITH_SUPERCLASS!>Generic<String><!>
<!UNMET_TRAIT_REQUIREMENT, UNMET_TRAIT_REQUIREMENT!>class Y<!> : <!INCONSISTENT_TYPE_PARAMETER_VALUES!>A, B<!>
class Z : <!INCONSISTENT_TYPE_PARAMETER_VALUES!>A, B, Generic<Int>()<!>