Is it possible to use `set(value) = something`? `...
# announcements
b
Is it possible to use
set(value) = something
?
Copy code
class Foo {
    var bar: Bar
        get() = baz.bar
        set(value) = baz.bar = value // Error: Assignments are not expressions, and only expressions are allowed in this context
}