Issue 9406 - (Regression: 2.061) Stack overflow from a forward reference error #1576

merged 2 commits into from Jan 29, 2013


None yet

2 participants

9rnsr added some commits Jan 29, 2013
@9rnsr 9rnsr fix Issue 9406 - (Regression: 2.061) Stack overflow from a forward re…
…ference error
@9rnsr 9rnsr Fix unnecessary forward reference error.
In DotTemplateInstanceExp, needsTypeInference is used to determine whether the instance is really a function call or not. But the template is yet not actually instantiated, so onemember->toAlias() might fail. In this case, TemplateInstance::toAlias() tried to run its semantic.
@WalterBright WalterBright merged commit 6bb0a54 into dlang:master Jan 29, 2013

1 check failed

Details default Pass: 3, Fail: 1, Pending: 6
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment