-
Notifications
You must be signed in to change notification settings - Fork 62
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
Suppress defaulting warnings #768
Comments
Is this issue intended to cover the defaulting warnings that
|
Yes, and when importing other Cryptol files as well, I think. The Cryptol REPL now suppresses printing defaulting warnings by default, and we should do the same here. |
The startup warning messages are printed by this call to saw-script/src/SAWScript/Interpreter.hs Line 417 in 3fce7d1
Function initCryptolEnv is implemented in the cryptol-saw-core package, so this will require a patch to the saw-core repository to fix.
|
I narrowed it down to this call to |
This incorporates GaloisInc/saw-core#70, which suppresses the defaulting warning messages upon loading cryptol modules. Fixes #768.
This incorporates GaloisInc/saw-core#70, which suppresses the defaulting warning messages upon loading cryptol modules. Fixes #768.
Now that
cryptol
is using more conservative defaulting rules (defaulting will only ever choose unlimited precision types for literals), the default for the Cryptol REPL/interpreter is to suppress defaulting warnings. We should suppress these warnings in saw-script as well.The text was updated successfully, but these errors were encountered: