Files
kotlin-fork/compiler/testData/diagnostics/tests/scopes/classHeader/classGenericParameters.kt
T

21 lines
440 B
Kotlin
Vendored

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