yeti icon indicating copy to clipboard operation
yeti copied to clipboard

Functions inside structures don't see getters

Open gludit opened this issue 6 months ago • 0 comments

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?

gludit avatar Aug 11 '25 08:08 gludit