Skip to content

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

Closed
JinShil wants to merge 1 commit intodlang:stablefrom
JinShil:fix_19202
Closed

Fix Issue 19202 - deprecated eponymous template prints no warning#8645
JinShil wants to merge 1 commit intodlang:stablefrom
JinShil:fix_19202

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