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

Issue 10768 - DMD does not show deprecation message for missing 'override' keyword #2453

Merged
merged 2 commits into from
Aug 28, 2013

Conversation

9rnsr
Copy link
Contributor

@9rnsr 9rnsr commented Aug 7, 2013

http://d.puremagic.com/issues/show_bug.cgi?id=10768

If a class/struct/template is not speculatively instantiated, error gagging should be ungagged temporarily during its semantic.
Use RAII idiom to do it reliably.

@9rnsr
Copy link
Contributor Author

9rnsr commented Aug 20, 2013

Updated.

9rnsr added 2 commits August 28, 2013 10:22
…override' keyword

If a class/struct/template is not speculatively instantiated, error gagging should be ungagged temporarily during its semantic.
Use RAII idiom to do it reliably.
@WalterBright
Copy link
Member

I think this pull, and the ongoing problems with gagging, show that the gagging system is an absolutely terrible design. We need to find a better way.

WalterBright added a commit that referenced this pull request Aug 28, 2013
Issue 10768 - DMD does not show deprecation message for missing 'override' keyword
@WalterBright WalterBright merged commit 3088fa0 into dlang:master Aug 28, 2013
@don-clugston-sociomantic
Copy link
Contributor

@WalterBright I think the big problem is using gagging for forward references. Together with the use of globals.
We're getting close to having correct Error propagation now, which could remove the dependence on global.errors.

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.

3 participants