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 warnings on docs command #8880

Merged
merged 3 commits into from
Mar 9, 2020

Conversation

bcardiff
Copy link
Member

@bcardiff bcardiff commented Mar 5, 2020

The warnings added by #6362 (comment) were neither shown, nor have location information.

Without the error reporting, the user will never notice the deprecation warning for nodoc and ditto and things will break silently.

There are some tech-debt between TypeError and SyntaxError since the @warning is defined in the base class Crystal::Exception but the formatting of the message live in each class.

@bcardiff bcardiff added this to the 0.34.0 milestone Mar 9, 2020
@bcardiff bcardiff merged commit 2d91f14 into crystal-lang:master Mar 9, 2020
@bcardiff bcardiff deleted the feature/warnings-on-docs branch March 9, 2020 13:25
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants