mirror of
https://github.com/jlengrand/kotlin.git
synced 2026-05-17 08:31:29 +00:00
7 lines
130 B
Kotlin
7 lines
130 B
Kotlin
open class Required
|
|
|
|
trait A : Required
|
|
|
|
val a = <!UNMET_TRAIT_REQUIREMENT!>object<!> : A {}
|
|
val b: A = object : A, Required() {}
|