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
ImplicitGlobalVariable is something different with normal Variables.
For example,
functioninner(){eval(str);x=20;}
When this script is analyzed, x should be ImplicitGlobalVariable or not?
Treating ImplicitVariable as normal variables may break consistency.
I think adding new field globalScope.implicitVariables, adding implicit variables to it and removing implicit variables from normal variable map is better.
This is probably a regression bug for the fix introduced in #21
Test script:
Input source:
Output with escope 0.14.0:
[ 'Variable' ]
Output with escope 0.15.0 and 0.16.0:
[ 'Variable', 'ImplicitGlobalVariable' ]
The text was updated successfully, but these errors were encountered: