2014-09-12 22:35:07 +02:00
|
|
|
tests/cases/compiler/reboundIdentifierOnImportAlias.ts(6,16): error TS2437: Module 'Foo' is hidden by a local declaration with the same name
|
|
|
|
|
|
|
|
|
2014-07-26 17:13:52 +02:00
|
|
|
==== tests/cases/compiler/reboundIdentifierOnImportAlias.ts (1 errors) ====
|
|
|
|
module Foo {
|
|
|
|
export var x = "hello";
|
|
|
|
}
|
|
|
|
module Bar {
|
|
|
|
var Foo = 1;
|
|
|
|
import F = Foo;
|
|
|
|
~~~
|
2014-09-12 00:19:57 +02:00
|
|
|
!!! error TS2437: Module 'Foo' is hidden by a local declaration with the same name
|
2014-07-26 17:13:52 +02:00
|
|
|
}
|