@ -17,6 +17,8 @@ class SyntheticDefaultDeclaration {
this.original = null;
this.isExported = false;
this.aliases = [];
this.isUsed = false;
}
addAlias ( declaration ) {
@ -42,6 +44,8 @@ class SyntheticDefaultDeclaration {
use () {
if ( this.isUsed ) return;
this.isUsed = true;
this.statement.mark();
@ -40,6 +40,8 @@ class Declaration {
this.isReassigned = false;
@ -61,6 +63,8 @@ class Declaration {
if ( this.statement ) this.statement.mark();