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

deep_compress: remove some spurious warnings about Tm_names #3025

Merged
merged 2 commits into from
Aug 18, 2023

Conversation

mtzguido
Copy link
Member

deep_compress warned on reaching a Tm_name (when allow_uvars was false)
since they are not meant to be saved into checked files (as they are a
leak). However we are now using deep_compress more pervasively to check
that terms do not contain uvars, but in situations where names are
totally OK, such as the reflection API.

So, add a new toggle for deep_compress and make it not warn on Tm_names
in these cases.

deep_compress warned on reaching a Tm_name (when allow_uvars was false)
since they are not meant to be saved into checked files (as they are a
leak). However we are now using deep_compress more pervasively to check
that terms do not contain uvars, but in situations where names are
totally OK, such as the reflection API.

So, add a new toggle for deep_compress and make it not warn on Tm_names
in these cases.
@mtzguido mtzguido enabled auto-merge August 18, 2023 16:21
@mtzguido mtzguido merged commit fc4726d into master Aug 18, 2023
@mtzguido mtzguido deleted the guido_deepcompress branch August 18, 2023 16:23
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.

1 participant