Skip to content

JS: fix FP in js/superfluous-trailing-arguments related to Function.arguments #3107

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

Merged
merged 3 commits into from
Mar 24, 2020

Conversation

erik-krogh
Copy link
Contributor

Fixes these FPs.

I chose not to change the getArgumentsVariable predicate, as it looked like that would require a large refactoring.

@erik-krogh erik-krogh added JS Awaiting evaluation Do not merge yet, this PR is waiting for an evaluation to finish labels Mar 23, 2020
@erik-krogh erik-krogh requested a review from a team as a code owner March 23, 2020 09:49
@esbena
Copy link
Contributor

esbena commented Mar 23, 2020

LGTM. Except for the missing change note.

@erik-krogh
Copy link
Contributor Author

A small evaluation on some queries that use the usesArgumentsObject predicate looks good.

@semmle-qlci semmle-qlci merged commit 4c9a6b7 into github:master Mar 24, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Awaiting evaluation Do not merge yet, this PR is waiting for an evaluation to finish JS
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants