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 4984 - Recursive template constraint results in dmd running out of memory #228

Merged
merged 1 commit into from
Aug 11, 2011

Conversation

yebblies
Copy link
Member

When calling TemplateDeclaration::matchWithInstance from within TemplateInstance::semantic do not re-evaluate the constraint if the args are an exact match. This also requires matchArg considering equal args to be an exact match when just checking the types, not deducing.

… of memory

When calling `TemplateDeclaration::matchWithInstance` from within `TemplateInstance::semantic` do not re-evaluate the constraint if the args are an exact match.  This also requires matchArg considering equal args to be an exact match when just checking the types, not deducing.
@WalterBright WalterBright merged commit dc83c84 into dlang:master Aug 11, 2011
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