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 7453 - Can't return value from within opApply #892

Merged
merged 1 commit into from
Apr 20, 2012

Conversation

9rnsr
Copy link
Contributor

@9rnsr 9rnsr commented Apr 20, 2012

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

Inside main function, and after first semantic, ReturnStatement::exp is
filled with IntegerExp(0). Then in second semantic, implicit0 doesn't
become 1, and error occurs.

ReturnStatement object should keep implicit0 value for repeating
call of semantic().

Inside main function, and after first semantic, ReturnStatement::exp is
filled with IntegerExp(0). Then in second semantic, implicit0 doesn't
become 1, and error occurs.

ReturnStatement object should keep implicit0 value for repeating
call of semantic().
WalterBright added a commit that referenced this pull request Apr 20, 2012
Issue 7453 - Can't return value from within opApply
@WalterBright WalterBright merged commit 03e8c26 into dlang:master Apr 20, 2012
WalterBright added a commit that referenced this pull request Apr 20, 2012
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