Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Broken operator precedence of arrows versus function call #7

Closed
toumix opened this issue Jan 23, 2024 · 1 comment
Closed

Broken operator precedence of arrows versus function call #7

toumix opened this issue Jan 23, 2024 · 1 comment

Comments

@toumix
Copy link

toumix commented Jan 23, 2024

PrettyPrinting.pprint gives broken results with expressions involving function calls and arrows .

Minimal example to reproduce the bug:

julia> expr = quote
           (A  B)(C)
       end;

julia> using PrettyPrinting; pprint(expr)
quote
    A  B(C)
end
@toumix
Copy link
Author

toumix commented Feb 19, 2024

Thanks for the nice package and the quick fix 💪

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant