diff options
author | Alex Lam S.L <alexlamsl@gmail.com> | 2017-03-27 01:30:21 +0800 |
---|---|---|
committer | GitHub <noreply@github.com> | 2017-03-27 01:30:21 +0800 |
commit | 57ce5bd9e085546a5c1cb8dd4a3ea71ab6c56f26 (patch) | |
tree | ee5e196f4aa4fcbe867eb82287b73b9db6b4174e /test/compress/asm.js | |
parent | 861a79ac9fdb2cdbb54054306eb896e2c134af73 (diff) | |
download | tracifyjs-57ce5bd9e085546a5c1cb8dd4a3ea71ab6c56f26.tar.gz tracifyjs-57ce5bd9e085546a5c1cb8dd4a3ea71ab6c56f26.zip |
handle overlapped variable definitions (#1691)
Process variable definitions with or without assigned values against:
- `arguments`
- named function arguments
- multiple definitions within same scope
Essentially demote variable declarations with no value assignments.
Also fixed invalid use of `AST_VarDef` over `arguments` - should use a member of `AST_SymbolDeclaration` instead.
Diffstat (limited to 'test/compress/asm.js')
0 files changed, 0 insertions, 0 deletions