Use outer-most identifier when resolving queued exports, fixes #248

This commit is contained in:
dcodeIO
2018-09-09 03:51:29 +02:00
parent c769f65bac
commit 4498b28442
17 changed files with 193 additions and 144 deletions

View File

@ -539,7 +539,7 @@ export class Program extends DiagnosticEmitter {
this.setExportAndCheckLibrary(
exportName,
element,
currentExport.member.externalName
queuedExport.member.externalName
);
break;
}
@ -562,7 +562,7 @@ export class Program extends DiagnosticEmitter {
this.setExportAndCheckLibrary(
exportName,
element,
currentExport.member.externalName
queuedExport.member.externalName
);
} else {
this.error(