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 10981 - Contracts in pure class methods are useless #2615

Merged
merged 10 commits into from Oct 8, 2013

Conversation

9rnsr
Copy link
Contributor

@9rnsr 9rnsr commented Oct 2, 2013

9rnsr and others added 10 commits October 2, 2013 12:07
…laration::matchWithInstance and deduceFunctionTemplateMatch
From 2.061, `deduceFunctionTemplate` has been using TemplateDeclaration::matchWithInstance to do IFTI more strictly.
However, `matchWithInstance` does not detect the recursive template instantiation inside template constraint, against `deduceFunctionTemplateMatch`.

Duplicate the detection mechanism into `matchWithInstance`.
[REG2.064a] Issue 11153 - ICE during a diagnostic for missing return type
[REG2.061] Issue 10074 - segfault in dmd
Issue 10082 - ICE(e2ir.c) Multiple mixin template instantiations are not checked
[REG2.064a] Issue 10687 - Refused cast from uint[] to array of uint-based enums at compile-time
WalterBright added a commit that referenced this pull request Oct 8, 2013
Issue 10981 - Contracts in pure class methods are useless
@WalterBright WalterBright merged commit 5305d38 into dlang:master Oct 8, 2013
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
3 participants