97d46e76f5
#KT-19690 Fixed
17 lines
275 B
Kotlin
Vendored
17 lines
275 B
Kotlin
Vendored
//WITH_REFLECT
|
|
|
|
import kotlin.properties.Delegates
|
|
|
|
interface MyInterface {
|
|
fun something(): String {
|
|
var foo: String by Delegates.notNull();
|
|
foo = "OK"
|
|
return foo
|
|
}
|
|
}
|
|
|
|
fun box(): String {
|
|
return object : MyInterface {
|
|
|
|
}.something()
|
|
} |