<Missing setter implementation not detected by com...
# forum
r
Missing setter implementation not detected by compiler The following compiles successfully but throws an AbstractMethodError at runtime (1.8.10). interface Interface { var a: String } open class Open { val a: String = "default" } class Impl : Open(), Interface fun main() { val x = Impl() println(x.a) x.a = "" } Why does the compiler allow this? Is this a known problem or am I missing something? 1 post - 1 participant <a...