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