Better HN
top
new
best
ask
show
jobs
Log in
Sign up
Comment
by
LawnboyMax
· 7y ago · 0 comments
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.
Comments
No comments yet.
Better HN