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
For example:
If I define a var which named a in function foo, and then I define another var named a in function bar.
In this case, foo::a and bar::a will be same in variableType.
The text was updated successfully, but these errors were encountered:
Looks like I've got the wrong reason of the bug, the value in maps will update when another var named a is defined.
The real reason is: if last a is a param in another function, it will be decorated as BETTERGOPARAMa, and this var won't be released when it's out of scope.
The bug is in here (translator/expr.go):
For example:
If I define a var which named
a
in functionfoo
, and then I define another var nameda
in functionbar
.In this case,
foo::a
andbar::a
will be same invariableType
.The text was updated successfully, but these errors were encountered: