interface A { var foo: String } class B: A { override var foo: String get() { return "B" } set(value: String) { println() } }