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

16 lines
525 B
Plaintext
Raw Normal View History

2014-10-01 02:15:18 +02:00
tests/cases/compiler/importAndVariableDeclarationConflict3.ts(5,8): error TS2300: Duplicate identifier 'x'.
2014-10-01 20:27:20 +02:00
tests/cases/compiler/importAndVariableDeclarationConflict3.ts(6,8): error TS2300: Duplicate identifier 'x'.
2014-10-01 02:15:18 +02:00
==== tests/cases/compiler/importAndVariableDeclarationConflict3.ts (2 errors) ====
2014-07-13 01:04:16 +02:00
module m {
export var m = '';
}
import x = m.m;
~
!!! error TS2300: Duplicate identifier 'x'.
2014-10-01 02:15:18 +02:00
import x = m.m;
2014-10-01 20:27:20 +02:00
~
2014-10-01 02:15:18 +02:00
!!! error TS2300: Duplicate identifier 'x'.
2014-07-13 01:04:16 +02:00