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

pretty-printer: consistently print nested tuples with (,) syntax #3100

Merged
merged 1 commit into from
Nov 16, 2023

Conversation

amosr
Copy link
Contributor

@amosr amosr commented Nov 16, 2023

The tuple printer p_tmTuple was calling p_tmEq for values inside the tuple, but p_tmEq was printing nested tuples as Mktuple2. I've added a check inside p_tmEq to call back to the tuple printer, which matches how dependent tuples are printed too.

@mtzguido
Copy link
Member

Nice Amos, thank you!

@mtzguido mtzguido merged commit a0fd449 into FStarLang:master Nov 16, 2023
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 this pull request may close these issues.

2 participants