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

More improvement for lambda inference #593

Merged
merged 7 commits into from
Jan 3, 2012
Merged

Conversation

9rnsr
Copy link
Contributor

@9rnsr 9rnsr commented Jan 1, 2012

Fix bug:
Issue 7193 - Regression(2.058head): ICE: delete lambda expression crashes dmd
Issue 7201 - Lambda template assignment to variable
Issue 7207 - Explicit cast should resolve lambda type

Improvements:

  • Improve inference behavior on arguments of normal/template function.
  • Run lambda inference on AssignExp::e2 and StructLiteralExp::elements
  • Add escape check to nested function symbol.

@braddr
Copy link
Member

braddr commented Jan 2, 2012

Merge conflicts

@9rnsr
Copy link
Contributor Author

9rnsr commented Jan 2, 2012

Rebased.

@9rnsr
Copy link
Contributor Author

9rnsr commented Jan 3, 2012

Issue 7201 - Lambda template assignment to variable
will be fixed by this.

@9rnsr
Copy link
Contributor Author

9rnsr commented Jan 3, 2012

Added fix for Issue 7207.

WalterBright added a commit that referenced this pull request Jan 3, 2012
More improvement for lambda inference
@WalterBright WalterBright merged commit 7fc5eba into dlang:master Jan 3, 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.

3 participants