Daniel Pitts
enum class Foo { FOO; var bound get() = 0 set(value) {} } class Bar { var foo by Foo.FOO::bound } fun main() { println(Bar().foo) }