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 PPrint instance for the CSyntax cons Cwrite does not respect operator precedence or fixity used to parse the := production. this causes a compile -> -dparsed -> compile sequence to fail on the second compilation.
Example 1
(foo $ r) := bar
pretty-prints as
foo $ r := bar
which parses as foo $ (r := bar) given the current relative precedence of $ and :=.
Example 2
r := (foo $ bar)
pretty-prints as
r := foo $ bar
which parses as (r := foo) $ bar.
The text was updated successfully, but these errors were encountered:
mieszko
pushed a commit
to mieszko/bsc
that referenced
this issue
Jul 3, 2023
the PPrint instance for the CSyntax cons Cwrite does not respect operator precedence or fixity used to parse the
:=
production. this causes a compile ->-dparsed
-> compile sequence to fail on the second compilation.Example 1
pretty-prints as
which parses as
foo $ (r := bar)
given the current relative precedence of$
and:=
.Example 2
pretty-prints as
which parses as
(r := foo) $ bar
.The text was updated successfully, but these errors were encountered: