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 af5ab83 commit 33447f3Copy full SHA for 33447f3
tools/acorn-optimizer.mjs
@@ -808,6 +808,7 @@ function emitDCEGraph(ast) {
808
emptyOut(node); // ignore this in the second pass; we scan defuns separately
809
}
810
} else if (node.type === 'ArrowFunctionExpression') {
811
+ assert(specialScopes > 0);
812
specialScopes--;
813
// Check if this is the minimal runtime exports function, which looks like
814
// (output) => { var wasmExports = output.instance.exports;
@@ -874,6 +875,7 @@ function emitDCEGraph(ast) {
874
875
876
877
} else if (node.type === 'Property' && node.method) {
878
879
880
881
},
0 commit comments