"catch" in try/catch is (incorrectly?) being hilighted as scope variable
bwiklund opened this issue · 4 comments
bwiklund commented
"catch" in try/catch is (incorrectly?) being hilighted as scope variable
mazurov commented
Hi Ben, could you attach a screenshot with your problem?
bwiklund commented
Sure thing: http://i.imgur.com/1O9eqzr.png
mazurov commented
It's not the bug. By design, the eslevels hightlights not only the variables, but also the keywords that introduce new variable scopes, such as function
, catch
. In your case catch
creates a new variable scope with variable e
inside.
bwiklund commented
Hmm, makes sense. TY!