The following is currently not possible, would it make sense though? Especially when dealing with java-interfaces?
interface Test {
fun getName(): String;
}
class MyImpl : Test {
override val name = "a";
}
The following is currently not possible, would it make sense though? Especially when dealing with java-interfaces?
interface Test {
fun getName(): String;
}
class MyImpl : Test {
override val name = "a";
}
See https://youtrack.jetbrains.com/issue/KT-6653 for the feature request and related discussion.