-
Notifications
You must be signed in to change notification settings - Fork 63
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
Short names are not always used for pretty-printing terms #1277
Comments
The saw-script/src/SAWScript/Builtins.hs Lines 397 to 404 in 7b8c134
However, when a value is written by itself on the REPL, it is printed by function saw-script/src/SAWScript/Interpreter.hs Lines 316 to 320 in 7b8c134
To fix the problem, we'll have to replace or modify |
We might just try removing the |
See also #1608. |
Some progress has been made on this in #1689 |
And see #747. Arguably, this is a duplicate... |
PR GaloisInc/saw-core#126 implemented a namespace-aware prettyprinter for saw-core, which uses the shortest unambiguous form of names, so we don't have to see fully-qualified names everywhere.
The
print_goal
proof command uses the namespace-aware prettyprinter, as does theprint_term
command.However, if a term is just written directly on the REPL, it is printed with all qualified names:
We should always be using the namespace-aware prettyprinter.
The text was updated successfully, but these errors were encountered: