Comment on Wren: A classy little scripting languageparentComments−pansa210moYour `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−reactordev10moThat was it. Nuance in the “no new line after…” parsing. Thanks, it works now. Awesome!
Comments
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
That was it. Nuance in the “no new line after…” parsing. Thanks, it works now. Awesome!