TypeScript/tests/baselines/reference/varNameConflictsWithImportInDifferentPartOfModule.errors.txt

10 lines
359 B
Plaintext
Raw Normal View History

2014-07-13 01:04:16 +02:00
==== tests/cases/compiler/varNameConflictsWithImportInDifferentPartOfModule.ts (1 errors) ====
module M1 {
export var q = 5;
export var s = '';
}
module M1 {
export import q = M1.s; // Should be an error but isn't
~~~~~~~~~~~~~~~~~~~~~~~
!!! Import declaration conflicts with local declaration of 'q'
}