Files
kotlin-fork/compiler/testData/diagnostics/tests/generics/argumentsForT.kt
T
2016-03-31 16:06:48 +03:00

7 lines
222 B
Kotlin
Vendored

// !DIAGNOSTICS: -UNUSED_PARAMETER
fun <T> foo(t: T<!TYPE_ARGUMENTS_NOT_ALLOWED!><String, Int><!>) {}
interface A
class B<T: A>
fun <T> foo1(t: T<!TYPE_ARGUMENTS_NOT_ALLOWED!><B<<!UPPER_BOUND_VIOLATED!>String<!>>><!>) {}