node.start may not be defined
This commit is contained in:
parent
ea999b0e92
commit
f7851aaf0f
|
|
@ -482,6 +482,7 @@ function OutputStream(options) {
|
|||
|| parent instanceof AST_Sequence && parent.expressions[0] === node
|
||||
|| parent instanceof AST_Sub && parent.expression === node
|
||||
|| parent instanceof AST_UnaryPostfix) {
|
||||
if (!node.start) return;
|
||||
var text = node.start.comments_before;
|
||||
if (text && text._dumped !== self) {
|
||||
text._dumped = self;
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user