mirror of
https://github.com/jlengrand/kotlin.git
synced 2026-05-12 00:21:32 +00:00
27 lines
615 B
Plaintext
Vendored
27 lines
615 B
Plaintext
Vendored
// "Implement interface" "true"
|
|
// WITH_RUNTIME
|
|
// SHOULD_BE_AVAILABLE_AFTER_EXECUTION
|
|
|
|
class Container {
|
|
interface Base {
|
|
val x: Boolean
|
|
|
|
val y: Double
|
|
get() = 3.14
|
|
|
|
fun foo(): String = ""
|
|
|
|
fun bar(z: Int): String
|
|
}
|
|
}
|
|
|
|
class BaseImpl : Container.Base {
|
|
override val x: Boolean
|
|
get() = TODO("not implemented") //To change initializer of created properties use File | Settings | File Templates.
|
|
|
|
override fun bar(z: Int): String {
|
|
TODO("not implemented") //To change body of created functions use File | Settings | File Templates.
|
|
}
|
|
}
|
|
|