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

Be precise about suggesting enable_experimental and enable_deprecated #2186

Open
sauclovian-g opened this issue Jan 16, 2025 · 0 comments
Open
Labels
needs test Issues for which we should add a regression test topics: error-messages Issues involving the messages SAW produces on error type: enhancement Issues describing an improvement to an existing feature or capability usability An issue that impedes efficient understanding and use
Milestone

Comments

@sauclovian-g
Copy link
Contributor

Currently anytime you use an undefined variable the message points out that some things aren't available without enable_experimental or enable_deprecated.

It would be better to instead print a different and more specific message if you refer to something that isn't currently visible, something like Variable not in scope: "mir_verify". Run "enable_experimental" to make it visible.

@sauclovian-g sauclovian-g added needs test Issues for which we should add a regression test topics: error-messages Issues involving the messages SAW produces on error type: enhancement Issues describing an improvement to an existing feature or capability usability An issue that impedes efficient understanding and use labels Jan 16, 2025
@sauclovian-g sauclovian-g added this to the 2025T1 milestone Jan 16, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
needs test Issues for which we should add a regression test topics: error-messages Issues involving the messages SAW produces on error type: enhancement Issues describing an improvement to an existing feature or capability usability An issue that impedes efficient understanding and use
Projects
None yet
Development

No branches or pull requests

1 participant