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

go: metavariable-type not evaluating expressions #9855

Open
1 of 3 tasks
dstrelau opened this issue Feb 28, 2024 · 0 comments
Open
1 of 3 tasks

go: metavariable-type not evaluating expressions #9855

dstrelau opened this issue Feb 28, 2024 · 0 comments
Labels
bug Something isn't working lang:golang priority:low

Comments

@dstrelau
Copy link

Describe the bug
I'm trying to match an expression like 2*variable with a metadata-type like type: int. It doesn't seem to work.

To Reproduce
https://semgrep.dev/playground/r/ZqUQDlo/dstrelau.for-range-int

Expected behavior
I expect the above playground to find all expected matches.
What is the priority of the bug to you?

  • P0: blocking your adoption of Semgrep or workflow
  • P1: important to fix or quite annoying
  • P2: regular bug that should get fixed
@ievans ievans added bug Something isn't working lang:golang priority:low labels Mar 1, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working lang:golang priority:low
Development

No branches or pull requests

2 participants