TypeScript/tests/baselines/reference/duplicateVarAndImport.types

14 lines
460 B
Plaintext
Raw Normal View History

2014-08-28 01:58:31 +02:00
=== tests/cases/compiler/duplicateVarAndImport.ts ===
// no error since module is not instantiated
var a;
2015-04-13 23:01:57 +02:00
>a : any, Symbol(a, Decl(duplicateVarAndImport.ts, 2, 3), Decl(duplicateVarAndImport.ts, 3, 12))
2014-08-28 01:58:31 +02:00
module M { }
2015-04-13 23:01:57 +02:00
>M : any, Symbol(M, Decl(duplicateVarAndImport.ts, 2, 6))
2014-08-28 01:58:31 +02:00
import a = M;
2015-04-13 23:01:57 +02:00
>a : any, Symbol(a, Decl(duplicateVarAndImport.ts, 2, 3), Decl(duplicateVarAndImport.ts, 3, 12))
>M : any, Symbol(M, Decl(duplicateVarAndImport.ts, 2, 6))
2014-08-28 01:58:31 +02:00