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

Avoid printing newlines when processing some type default warnings #2001

Merged
merged 2 commits into from
Jan 4, 2024

Conversation

samcowger
Copy link
Contributor

See #1407 for details.

Fixes #1407.

Before, SAW would filter out type-default warnings when processing Cryptol, but
would always pretty-print the warnings' container (`TypeDefaultWarnings`), even
if filtering rendered it empty. Printing an empty `TypeDefaultWarnings` amounts
to displaying a newline. See #1407.
@samcowger samcowger merged commit 8e6371e into master Jan 4, 2024
38 checks passed
@samcowger samcowger deleted the bugfix/excess-newline-printing branch January 4, 2024 21:10
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.

SAW inexplicably prints blank lines when type annotation is omitted
2 participants