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 2953 - tuple.length rejected as a tuple parameter in a static foreach #407

Merged
merged 1 commit into from
Sep 22, 2011

Conversation

9rnsr
Copy link
Contributor

@9rnsr 9rnsr commented Sep 22, 2011

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

A TupleDeclaration that isn't wrapped by TupleExpand isexp==1 doesn't have type, therefore TypeQualified::resolveHelper cannot resolve .length property from its type.

WalterBright added a commit that referenced this pull request Sep 22, 2011
Issue 2953 - tuple.length rejected as a tuple parameter in a static foreach
@WalterBright WalterBright merged commit 0cd550b into dlang:master Sep 22, 2011
braddr pushed a commit to braddr/dmd that referenced this pull request Oct 22, 2012
More use of eponymous template trick
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.

2 participants