Navigation Menu

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

Do not tree-shake arguments with side-effects #2924

Merged
merged 1 commit into from Jun 11, 2019

Conversation

lukastaegert
Copy link
Member

This PR contains:

  • bugfix
  • feature
  • refactor
  • documentation
  • other

Are tests included?

  • yes (bugfixes and features will not be merged without tests)
  • no

Breaking Changes?

  • yes (breaking changes will not be merged unless absolutely necessary)
  • no

List any relevant issue numbers:
Resolves #2922

Description

A simple case that was not covered by a test. Arguments should not be dropped if they have side-effects, independent of if there is a corresponding parameter or not.

@lukastaegert lukastaegert merged commit 9418822 into master Jun 11, 2019
@lukastaegert lukastaegert deleted the gh-2922-argument-side-effects branch June 11, 2019 07:32
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.

Side effects function calls in parameters are dropped
1 participant