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

Show diagnostics for unused use statements. #75

Open
srchase opened this issue Oct 4, 2022 · 0 comments
Open

Show diagnostics for unused use statements. #75

srchase opened this issue Oct 4, 2022 · 0 comments

Comments

@srchase
Copy link
Contributor

srchase commented Oct 4, 2022

If a model file contains a use statement, but the imported trait is not applied to any of the shapes within the file, or the imported shape is not used, show a note or warning diagnostic statement on the unused use statement so that the model author is prompted to either remove the use statement, or make use of it by applying the trait, or using the shape as appropriate.

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

No branches or pull requests

1 participant