mirror of
https://github.com/jlengrand/kotlin.git
synced 2026-05-11 15:53:46 +00:00
12 lines
348 B
Kotlin
Vendored
12 lines
348 B
Kotlin
Vendored
// "Make 'object : T {}' abstract" "false"
|
|
// ACTION: Implement members
|
|
// ACTION: Split property declaration
|
|
// ACTION: Convert object literal to class
|
|
// ERROR: Object is not abstract and does not implement abstract member public abstract fun foo(): Unit defined in T
|
|
interface T {
|
|
fun foo()
|
|
}
|
|
|
|
fun test() {
|
|
val o = <caret>object : T {}
|
|
} |