Hullaballoonatic
11/18/2019, 5:23 PMgetFoo
defined but no foo
, you cannot add val foo: Foo = ...
to your kotlin class because of an "accidental override." Is there a way to tell the compiler you intended to override getFoo
? or am I required to use the syntactically awful private val foo: Foo = ...
override fun getFoo(): Foo = foo
eekboom
11/19/2019, 9:42 AM