10 lines
359 B
Text
10 lines
359 B
Text
|
==== 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'
|
||
|
}
|