-
Notifications
You must be signed in to change notification settings - Fork 582
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
Regression in matching vardefs with expression patterns in 0.18 #1497
Comments
This appears to be due to semgrep/pfff@78f052659671. This converts However, we don't convert IMO, we should perform the cc. @aryx |
Also add and update test cases. Fixes #1497.
Also add and update test cases. Fixes #1497.
Also add and update test cases. Fixes #1497.
Also add and update test cases. Fixes #1497.
This will be fixed in 0.20.0. As a bonus, the trailing semicolon will no longer be required in this type of pattern: |
Describe the bug
Regression in the matching logic in 0.18 caught by @ajinabraham's integration tests: https://semgrep.dev/7g0Q?version=0.18.0
To Reproduce
Steps to reproduce the behavior, ideally a link to https://semgrep.dev: https://semgrep.dev/7g0Q?version=0.18.0 vs https://semgrep.dev/7g0Q?version=0.17.0
Expected behavior
$X = '...';
should matchvar $X = '...';
in javacriptThe text was updated successfully, but these errors were encountered: