You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I don't think Semgrep can do that kind of type analysis over contents of a collection in Go right now. I filed an issue to the engine team semgrep/semgrep#8117, so hopefully this should be fixed soon!
This pattern seems incorrect:
This triggers a semgrep warning:
There is no pointer involved here.
Go Playground example here.
Semgrep Playground example:
The text was updated successfully, but these errors were encountered: