diff options
author | Alex Lam S.L <alexlamsl@gmail.com> | 2021-07-06 09:04:11 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-07-06 16:04:11 +0800 |
commit | 0668fad5e9000fc8d4857f033c3e90b1cedb4563 (patch) | |
tree | c54ae9e72ee956c68234dbc4f22e0ad5ed60a8e9 /lib/ast.js | |
parent | d0e3f6955d956a4977d701e9027eb54d15b6f77c (diff) | |
download | tracifyjs-0668fad5e9000fc8d4857f033c3e90b1cedb4563.tar.gz tracifyjs-0668fad5e9000fc8d4857f033c3e90b1cedb4563.zip |
fix corner case with `class` (#5054)
fixes #5053
Diffstat (limited to 'lib/ast.js')
-rw-r--r-- | lib/ast.js | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -1759,11 +1759,11 @@ var AST_SymbolLambda = DEFNODE("SymbolLambda", null, { var AST_SymbolDefClass = DEFNODE("SymbolDefClass", null, { $documentation: "Symbol defining a class", -}, AST_SymbolLet); +}, AST_SymbolConst); var AST_SymbolClass = DEFNODE("SymbolClass", null, { $documentation: "Symbol naming a class expression", -}, AST_SymbolLet); +}, AST_SymbolConst); var AST_SymbolCatch = DEFNODE("SymbolCatch", null, { $documentation: "Symbol naming the exception in catch", |