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

Push return type for lambda expressions #3523

Merged
merged 1 commit into from Jun 14, 2017

Conversation

Projects
None yet
3 participants
@ilevkivskyi
Collaborator

ilevkivskyi commented Jun 10, 2017

This fixes #3243 and similar crashes on lambda generators.

Solution is straightforward: push return type (if known, or Any otherwise) same as we do for normal functions.

@gvanrossum

This comment has been minimized.

Show comment
Hide comment
@gvanrossum

gvanrossum Jun 10, 2017

Member

Looks fine to me, but I'll let @JukkaL have the final say.

Member

gvanrossum commented Jun 10, 2017

Looks fine to me, but I'll let @JukkaL have the final say.

@JukkaL

This comment has been minimized.

Show comment
Hide comment
@JukkaL

JukkaL Jun 14, 2017

Collaborator

LGTM

Collaborator

JukkaL commented Jun 14, 2017

LGTM

@JukkaL JukkaL merged commit 638dc62 into python:master Jun 14, 2017

2 checks passed

continuous-integration/appveyor/pr AppVeyor build succeeded
Details
continuous-integration/travis-ci/pr The Travis CI build passed
Details
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment