add todo for module collisions
This commit is contained in:
parent
0dafdd6969
commit
0d23c1cfdb
@ -13,7 +13,7 @@ function DefaultFormatter(file) {
|
||||
|
||||
this.remapAssignments();
|
||||
|
||||
this.checkImportAssignments();
|
||||
this.checkCollisions();
|
||||
}
|
||||
|
||||
DefaultFormatter.prototype.getLocalExports = function () {
|
||||
@ -45,7 +45,9 @@ DefaultFormatter.prototype.getLocalImports = function () {
|
||||
return localImports;
|
||||
};
|
||||
|
||||
DefaultFormatter.prototype.checkImportAssignments = function () {
|
||||
DefaultFormatter.prototype.checkCollisions = function () {
|
||||
// todo: all check export collissions
|
||||
|
||||
var localImports = this.localImports;
|
||||
var file = this.file;
|
||||
|
||||
@ -70,7 +72,7 @@ DefaultFormatter.prototype.checkImportAssignments = function () {
|
||||
}
|
||||
|
||||
check(left);
|
||||
} if (t.isDeclaration(node)) {
|
||||
} else if (t.isDeclaration(node)) {
|
||||
_.each(t.getIds(node, true), check);
|
||||
}
|
||||
}
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user