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
I found out that L1213 cause this problem, which this.generateExpression(xxx) + this.semicolon(flags) turns SourceNode tree into string and lost sourcemap information.
I think the correct code should be:
// LINE 1213result=join(result,this.generateExpression(stmt.declaration,Precedence.Assignment,E_TTT));result.push(this.semicolon(flags));
The text was updated successfully, but these errors were encountered:
Bug description
raw code like:
escodegen generates sourcemap now is:
the correct sourcemap should be:
Reason
I found out that L1213 cause this problem, which
this.generateExpression(xxx) + this.semicolon(flags)
turns SourceNode tree into string and lost sourcemap information.I think the correct code should be:
The text was updated successfully, but these errors were encountered: