mirror of
https://github.com/jlengrand/kotlin.git
synced 2026-05-08 15:53:19 +00:00
12 lines
192 B
Kotlin
12 lines
192 B
Kotlin
package test
|
|
|
|
class Generic1<T>
|
|
class Generic1WithBounds<T: Bound1>
|
|
|
|
class Generic2<A, B>
|
|
class Generic2WithBounds<A, B> where A: Bound1, A: Bound2, B: Generic1<A>
|
|
|
|
class Bound1
|
|
trait Bound2
|
|
|