You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The error is remedied by surrounding the whole expression in parentheses, turning it into a return statement, or doing something like let x = foo!() || true; x.
The text was updated successfully, but these errors were encountered:
tomjakubowski
changed the title
|| true after macro invocation in StmtExpr parses as a closure|| true after macro invocation in StmtExpr parses oddly
Dec 9, 2014
For example:
When compiled, produces these errors:
Whereas something like this does parse as intended:
The error is remedied by surrounding the whole expression in parentheses, turning it into a
return
statement, or doing something likelet x = foo!() || true; x
.The text was updated successfully, but these errors were encountered: