consistent-function-scoping
fails, even though function uses block-scoped value
#2164
Labels
consistent-function-scoping
fails, even though function uses block-scoped value
#2164
unicorn/consistent-function-scoping
demands that functions that be moved to the outer scope, even though the function captures a block-scoped variable.Totally contrived example:
results in:
Of course, it's impossible to move
fn
to the outer scope, asscoped
isn't defined there.The text was updated successfully, but these errors were encountered: