yeti
yeti copied to clipboard
Functions inside structures don't see getters
While following works:
{ test = 3, foo () = test }
when test is defined as a getter:
{ get test() = 3+4, foo () = test }
yeti compiler complains with Unknown identifier: test
Shouldn't same scoping rules apply to getters and regular fields?