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 11553 - dmd segfault with recursive template #2826

Merged
merged 1 commit into from Jan 5, 2014

Conversation

9rnsr
Copy link
Contributor

@9rnsr 9rnsr commented Nov 19, 2013

@@ -2369,9 +2369,50 @@ void functionResolve(Match *m, Dsymbol *dstart, Loc loc, Scope *sc,
return 0;

Dsymbol *s = ti->inst->toAlias();
if (!s->isFuncDeclaration() && !s->isTemplateDeclaration())
FuncDeclaration *fd;
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Please add some comments explaining what this section does.

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Updated.

@WalterBright
Copy link
Member

Auto-merge toggled on

WalterBright added a commit that referenced this pull request Jan 5, 2014
Issue 11553 - dmd segfault with recursive template
@WalterBright WalterBright merged commit a78295a into dlang:master Jan 5, 2014
@9rnsr 9rnsr deleted the fix11553 branch January 6, 2014 00:42
WalterBright added a commit that referenced this pull request Jan 7, 2014
Issue 11553 - dmd segfault with recursive template
@MoonlightSentinel
Copy link
Contributor

This introduced a regression: https://issues.dlang.org/show_bug.cgi?id=21752

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