Files
kotlin-fork/compiler/testData/diagnostics/tests/scopes/classHeader/classGenericParameters.kt
T
2018-10-10 09:44:10 +03:00

21 lines
442 B
Kotlin
Vendored

// !DIAGNOSTICS: -UNUSED_PARAMETER
class A<T : <!UNRESOLVED_REFERENCE!>Nested<!>, F: <!UNRESOLVED_REFERENCE!>Inner<!>, G: <!UNRESOLVED_REFERENCE!>Interface<!>> {
class Nested
inner class Inner
interface Interface
}
class B<T, F, G> where T : <!UNRESOLVED_REFERENCE!>Nested<!>, F: <!UNRESOLVED_REFERENCE!>Inner<!>, G: <!UNRESOLVED_REFERENCE!>Interface<!> {
class Nested
inner class Inner
interface Interface
}