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

Fixes Pretty Printer #635

Merged
merged 1 commit into from
Dec 15, 2022
Merged

Fixes Pretty Printer #635

merged 1 commit into from
Dec 15, 2022

Conversation

ArquintL
Copy link
Member

Unnamed local variable declarations occur e.g. in domain functions, where parameter names are optional.
Although part of the Viper AST, the pretty printer currently crashes when invoking pretty with such an AST node.
This PR addresses this issue, which fixes Viper-IDE #343 because nodes are pretty printed while computing hashes for cacheing (although pretty printing only happens for logging purposes)

@ArquintL ArquintL requested a review from marcoeilers December 15, 2022 13:48
Copy link
Contributor

@marcoeilers marcoeilers left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@ArquintL ArquintL merged commit 02b8a33 into master Dec 15, 2022
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.

Verification aborted exceptionally
2 participants