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

Fix strict unused lambda #1358

Merged
merged 5 commits into from
May 28, 2020
Merged

Fix strict unused lambda #1358

merged 5 commits into from
May 28, 2020

Conversation

dansanduleac
Copy link
Contributor

Before this PR

The suggested fix from #1355 failed for some lambdas where a seemingly unused parameter (starting with _) was actually used, and would end up deleting a bunch of code.

After this PR

==COMMIT_MSG==
Correctly handle converting lambda parameters from unused (_param) to used (param`).
==COMMIT_MSG==

Possible downsides?

@changelog-app
Copy link

changelog-app bot commented May 28, 2020

Generate changelog in changelog/@unreleased

Type

  • Feature
  • Improvement
  • Fix
  • Break
  • Deprecation
  • Manual task
  • Migration

Description

Correctly handle converting lambda parameters from unused (_param) to used (param`), fixing a regression from 5.18.0.

Check the box to generate changelog(s)

  • Generate changelog entry

@ferozco
Copy link
Contributor

ferozco commented May 28, 2020

👍

@ferozco
Copy link
Contributor

ferozco commented May 28, 2020

Thanks @dansanduleac

@bulldozer-bot bulldozer-bot bot merged commit 0da2224 into develop May 28, 2020
@bulldozer-bot bulldozer-bot bot deleted the ds/fix-strict-unused-lambda branch May 28, 2020 15:52
@svc-autorelease
Copy link
Collaborator

Released 3.15.1

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants