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 16685 - Allow the use of CT struct values as template params. #6260

Closed
wants to merge 1 commit into from
Closed

Conversation

LemonBoy
Copy link
Contributor

The code right now treats S!(x.value) as S!(value), making the template instantiation fail.
Not 100% sure about the fix though.

@dlang-bot
Copy link
Contributor

dlang-bot commented Nov 17, 2016

Fix Bugzilla Description
16685 template instantiation rejected when passing member of enum struct in value parameter

@UplinkCoder
Copy link
Member

Although it's just a partial fix it looks fine to me.

@JinShil
Copy link
Contributor

JinShil commented Nov 18, 2017

Revived at #7335

@WalterBright
Copy link
Member

Replaced by #7335

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.

5 participants