mirror of
https://github.com/jlengrand/kotlin.git
synced 2026-05-16 15:53:55 +00:00
Includes changes to decompiled text Old syntax is used in builtins and project code for now
10 lines
179 B
Kotlin
10 lines
179 B
Kotlin
trait Trait<N : Number>
|
|
|
|
object O1 : Trait<Int>
|
|
|
|
object O2 : Trait<<!UPPER_BOUND_VIOLATED!>String<!>>
|
|
|
|
class C {
|
|
default object : Trait<<!UPPER_BOUND_VIOLATED!>IntRange<!>>
|
|
}
|