Y
Hacker News
new
|
ask
|
show
|
jobs
by
LawnboyMax
2691 days ago
I believe
or
has higher precedence than
:=
in this case thus the syntax error. Wrapping
:=
in parentheses, like the other commenter suggested, resolves the issue.