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

10 lines
266 B
Plaintext
Raw Normal View History

2014-07-13 01:04:16 +02:00
==== tests/cases/compiler/importAndVariableDeclarationConflict1.ts (1 errors) ====
module m {
export var m = '';
}
import x = m.m;
~~~~~~~~~~~~~~~
!!! Import declaration conflicts with local declaration of 'x'
var x = '';