We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 0f22581 commit e8da68eCopy full SHA for e8da68e
tools/acorn-optimizer.mjs
@@ -806,6 +806,7 @@ function emitDCEGraph(ast) {
806
emptyOut(node); // ignore this in the second pass; we scan defuns separately
807
}
808
} else if (node.type === 'ArrowFunctionExpression') {
809
+ assert(specialScopes > 0);
810
specialScopes--;
811
// Check if this is the minimal runtime exports function, which looks like
812
// (output) => { var wasmExports = output.instance.exports;
@@ -872,6 +873,7 @@ function emitDCEGraph(ast) {
872
873
874
875
} else if (node.type === 'Property' && node.method) {
876
877
878
879
}, (node) => {
0 commit comments