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
"new" keyword in C# throws error #10205
Labels
good first issue
Good for newcomers
Comments
Reduced the test. The issue seems to be language-agnostic.
This rule causes the error:
|
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
semgrep version
v1.70.0
test code:
Adding the word "new" in the above rule causes the following error:
My workaround is to replace the above metavariable-pattern with an equivalent metavariable-regex.
What is the priority of the bug to you?
Environment
Semgrep playground
The text was updated successfully, but these errors were encountered: