This commit is contained in:
dcode
2019-03-13 09:05:02 +01:00
parent e581f254d0
commit 6f70826e45
11 changed files with 251 additions and 227 deletions

View File

@ -632,11 +632,10 @@ export class Program extends DiagnosticEmitter {
true // isImport
);
} else {
// FIXME: file not found is not reported if this happens?
this.error(
DiagnosticCode.Module_0_has_no_exported_member_1,
foreignIdentifier.range,
queuedImport.foreignPath,
foreignIdentifier.text
foreignIdentifier.range, queuedImport.foreignPath, foreignIdentifier.text
);
}
} else { // i.e. import * as bar from "./bar"