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

Fix Issue 19202 - deprecated eponymous template prints no warning #8645

Closed
wants to merge 1 commit into from
Closed

Fix Issue 19202 - deprecated eponymous template prints no warning #8645

wants to merge 1 commit into from

Conversation

JinShil
Copy link
Contributor

@JinShil JinShil commented Aug 31, 2018

No description provided.

@dlang-bot
Copy link
Contributor

dlang-bot commented Aug 31, 2018

Thanks for your pull request, @JinShil!

Bugzilla references

Auto-close Bugzilla Severity Description
19202 regression deprecated eponymous template prints no warning

Testing this PR locally

If you don't have a local development environment setup, you can use Digger to test this PR:

dub fetch digger
dub run digger -- build "stable + dmd#8645"

@JinShil JinShil changed the base branch from master to stable August 31, 2018 12:37
@JinShil
Copy link
Contributor Author

JinShil commented Aug 31, 2018

Hmm. The auto-tester failures look suspiciously familiar (#8644). I'd like to wait for that to make it to stable first.

template X()
{
deprecated enum X = true;
}
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Can you add this test for the sake of completeness:

deprecated enum X2() = true;

@JinShil JinShil closed this Sep 28, 2018
@JinShil JinShil deleted the fix_19202 branch December 14, 2018 14:53
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.

3 participants