Skip to content

Fixes Pretty Printer#635

Merged
ArquintL merged 1 commit into
masterfrom
unnamed-local-var-printing
Dec 15, 2022
Merged

Fixes Pretty Printer#635
ArquintL merged 1 commit into
masterfrom
unnamed-local-var-printing

Conversation

@ArquintL

Copy link
Copy Markdown
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

@marcoeilers marcoeilers left a comment

Copy link
Copy Markdown
Contributor

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