The analyzer has detected a parameter that is overwritten before being used. As a result, the value passed to the function is ignored.
The example:
func Apply(a Node, b Node) {
a = SkipParenthesize(a)
b = SkipParenthesize(a)
// ....
}
The typo causes the value of b to be evaluated using the a parameter instead.
The fixed code:
func Apply(a Node, b Node) {
a = SkipParenthesize(a)
b = SkipParenthesize(b)
// ....
}
Was this page helpful?
Your message has been sent. We will email you at
If you do not see the email in your inbox, please check if it is filtered to one of the following folders: