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

Regression in #3234, backticked infix operators are printed incorrectly #3249

Closed
buzden opened this issue Apr 4, 2024 · 1 comment · Fixed by #3250
Closed

Regression in #3234, backticked infix operators are printed incorrectly #3249

buzden opened this issue Apr 4, 2024 · 1 comment · Fixed by #3250

Comments

@buzden
Copy link
Contributor

buzden commented Apr 4, 2024

Steps to Reproduce

Typecheck the following module:

import Language.Reflection

%default total
%language ElabReflection

export infix 6 `op`

%runElab logSugaredTerm "debug" 0 "term with infix" `(a `op` b)

Expected Behavior

Prints

LOG debug:0: term with infix: a `op` b

Observed Behavior

Prints

LOG debug:0: term with infix: a op b

Pinging @andrevidela as the author of the original PR #3234

@andrevidela
Copy link
Collaborator

andrevidela commented Apr 4, 2024

Nice catch! I'll see if I can fix it this afternoon

something something bidirectional parsing would have caught it etc etc

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

Successfully merging a pull request may close this issue.

2 participants