Add TODO notice on a sorta-important scoping bug
Signed-off-by: Alek Ratzloff <alekratz@gmail.com>
This commit is contained in:
@@ -172,7 +172,7 @@ impl StmtVisitor for LocalAssignCollector {
|
|||||||
// we visit the block statement because even though it goes below the current "local"
|
// we visit the block statement because even though it goes below the current "local"
|
||||||
// scope, we're ultimately trying to get a list of ALL local names that are assigned to in
|
// scope, we're ultimately trying to get a list of ALL local names that are assigned to in
|
||||||
// this scope.
|
// this scope.
|
||||||
// FIXME BUG this does create some weirdness, for example take this:
|
// TODO FIXME BUG this does create some weirdness, for example take this:
|
||||||
// outer_function = () {
|
// outer_function = () {
|
||||||
// some_value = 1234
|
// some_value = 1234
|
||||||
// inner_function = () {
|
// inner_function = () {
|
||||||
|
|||||||
Reference in New Issue
Block a user