Skip to content

Make pprintast handle new modes#2796

Merged
liam923 merged 3 commits intomainfrom
liam/pprint-modes
Jul 17, 2024
Merged

Make pprintast handle new modes#2796
liam923 merged 3 commits intomainfrom
liam/pprint-modes

Conversation

@liam923
Copy link
Copy Markdown
Contributor

@liam923 liam923 commented Jul 16, 2024

Currently, printing the ast of type a = { x : b @@ portable } (or any other modality besides global) fails. This PR makes this succeed, while still printing global as a legacy modality. For example, type a = { x : b @@ global portable } prints as type a = { x : global_ b @@ portable }.

@liam923 liam923 requested a review from riaqn July 16, 2024 18:18
@liam923 liam923 merged commit 08c8d2e into main Jul 17, 2024
@liam923 liam923 deleted the liam/pprint-modes branch July 17, 2024 18:41
lukemaurer pushed a commit that referenced this pull request Oct 23, 2024
* Make pprintast handle new modes

* Fix mode printing when there are no legacies

* User optional_legacy_modalities
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