Skip to content

Don't report "function does not return a value" in dynamic functions - #5683

Merged
msullivan merged 2 commits into
masterfrom
fix-none-errors
Sep 26, 2018
Merged

msullivan merged 2 commits into
masterfrom
fix-none-errors

Conversation

@msullivan

Copy link
Copy Markdown
Collaborator

Fixes a regression (that causes trouble in internal codebases) introduced in #5663.

@ilevkivskyi ilevkivskyi left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks, you are faster than me :-)

Comment thread test-data/unit/check-functions.test Outdated
pass

def lol():
1+'uh'

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Maybe add spaces around + (totally up to you).

Copy link
Copy Markdown
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Oh actually this should just not be there at all

@msullivan
msullivan merged commit 2e2fe30 into master Sep 26, 2018
@msullivan
msullivan deleted the fix-none-errors branch September 26, 2018 23:36
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