2014-09-12 22:35:07 +02:00
|
|
|
tests/cases/compiler/duplicateVarAndImport2.ts(4,1): error TS2440: Import declaration conflicts with local declaration of 'a'
|
|
|
|
|
|
|
|
|
2014-07-15 01:47:50 +02:00
|
|
|
==== tests/cases/compiler/duplicateVarAndImport2.ts (1 errors) ====
|
|
|
|
// error since module is instantiated
|
|
|
|
var a;
|
|
|
|
module M { export var x = 1; }
|
|
|
|
import a = M;
|
|
|
|
~~~~~~~~~~~~~
|
2014-09-12 00:19:57 +02:00
|
|
|
!!! error TS2440: Import declaration conflicts with local declaration of 'a'
|