Open ainar-g opened 3 years ago
Interesting, although I don't know if semgrep or ruleguard is powerful enough to solve it in the general case. We'd just have deny list of "odd looking patterns" to watch out for, but obviously we would be far from catching everything.
See golang/go#47822 and especially this comment. Code like:
is probably wrong.