13 lines
442 B
Text
13 lines
442 B
Text
=== tests/cases/compiler/duplicateVarAndImport.ts ===
|
|
// no error since module is not instantiated
|
|
|
|
var a;
|
|
>a : any, Symbol(a,Decl(duplicateVarAndImport.ts,2,3),Decl(duplicateVarAndImport.ts,3,12))
|
|
|
|
module M { }
|
|
>M : any, Symbol(M,Decl(duplicateVarAndImport.ts,2,6))
|
|
|
|
import a = M;
|
|
>a : any, Symbol(a,Decl(duplicateVarAndImport.ts,2,3),Decl(duplicateVarAndImport.ts,3,12))
|
|
>M : any, Symbol(M,Decl(duplicateVarAndImport.ts,2,6))
|
|
|