mirror of
https://github.com/jlengrand/kotlin.git
synced 2026-05-12 00:21:32 +00:00
12 lines
183 B
Kotlin
Vendored
12 lines
183 B
Kotlin
Vendored
package delegates
|
|
|
|
import util.*
|
|
|
|
class D(val t: T, val t2: T2): T by t, T2 by t2 {
|
|
fun anotherFun() {
|
|
}
|
|
}
|
|
|
|
class WithDelegatedProperty() {
|
|
val i: Int by someInvalidCode
|
|
} |