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

Add context to deprecation warnings #473

Merged
merged 1 commit into from
Sep 22, 2019
Merged

Add context to deprecation warnings #473

merged 1 commit into from
Sep 22, 2019

Conversation

casey
Copy link
Owner

@casey casey commented Sep 21, 2019

Previously, warnings upon encountering a deprecated use = in assignments, exports, and alaises would print an message without any indication of where the offending = was. This diff adds a proper Warning enum, and uses it to report context, as is done with compilation and runtime errors.

Previously, warnings upon encountering a deprecated use `=` in
assignments, exports, and alaises would print an message without any
indication of where the offending `=` was. This diff adds a proper
`Warning` enum, and uses it to report context, as is done with
compilation and runtime errors.
@casey casey merged commit 1230af1 into master Sep 22, 2019
@casey casey deleted the warnings branch September 22, 2019 01:53
@casey casey mentioned this pull request Oct 9, 2019
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