3 ms·
Your `name` getter isn't working properly. Weirdly, Wren's implicit returns only work for functions written on a single line. The getter either needs to be (ex
by pansa2 1y ago
Your `name` getter isn't working properly. Weirdly, Wren's implicit returns only work for functions written on a single line.
The getter either needs to be (exactly) `name { _name }` or it needs to explicitly `return _name`.
https://wren.io/functions.html#returning-values https://wren.io/functions.html#returning-values
- reactordev 1y agoThat was it. Nuance in the “no new line after…” parsing. Thanks, it works now. Awesome!