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
Suppose we're going to try to match the (B) sequence.
The only way to do that is inspecting *ast.BlockStmt. But that block statement may contain several occurrences of that sequence. There is currently no way to give multiple warnings from a single node.
Either there should be a separate matcher API, or generic matcher interface must be re-designed to cover this case.
The text was updated successfully, but these errors were encountered:
Given this code:
Suppose we're going to try to match the
(B)
sequence.The only way to do that is inspecting
*ast.BlockStmt
. But that block statement may contain several occurrences of that sequence. There is currently no way to give multiple warnings from a single node.Either there should be a separate matcher API, or generic matcher interface must be re-designed to cover this case.
The text was updated successfully, but these errors were encountered: