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 6072 - [CTFE] Regression(git master): Cannot declare variable inside an 'if' condition #78

Merged
merged 1 commit into from
May 29, 2011

Conversation

9rnsr
Copy link
Contributor

@9rnsr 9rnsr commented May 29, 2011

Fix regression of fix3688.

WalterBright added a commit that referenced this pull request May 29, 2011
Issue 6072 - [CTFE] Regression(git master): Cannot declare variable inside an 'if' condition
@WalterBright WalterBright merged commit a30d0d3 into dlang:master May 29, 2011
@WalterBright
Copy link
Member

This fails the phobos unit tests with:

std\functional.d(729): Error: (*fp)() is not an lvalue
std\functional.d(759): Error: template instance std.functional.DelegateFaker!(int function() pure) e
rror instantiating
std\functional.d(838): instantiated from here: toDelegate!(int function() pure)

Please run the unittests and test suites!

@WalterBright
Copy link
Member

Reverted.

braddr pushed a commit to braddr/dmd that referenced this pull request Sep 15, 2011
Issue 1983 - Big Hole in Const System (Supplemental changes of dmd/pull/71)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
2 participants