22 lines
931 B
Text
22 lines
931 B
Text
=== tests/cases/compiler/sourcemapValidationDuplicateNames.ts ===
|
|
module m1 {
|
|
>m1 : typeof m1, Symbol(m1,Decl(sourcemapValidationDuplicateNames.ts,0,0),Decl(sourcemapValidationDuplicateNames.ts,4,1))
|
|
|
|
var x = 10;
|
|
>x : number, Symbol(x,Decl(sourcemapValidationDuplicateNames.ts,1,7))
|
|
>10 : number
|
|
|
|
export class c {
|
|
>c : c, Symbol(c,Decl(sourcemapValidationDuplicateNames.ts,1,15))
|
|
}
|
|
}
|
|
module m1 {
|
|
>m1 : typeof m1, Symbol(m1,Decl(sourcemapValidationDuplicateNames.ts,0,0),Decl(sourcemapValidationDuplicateNames.ts,4,1))
|
|
|
|
var b = new m1.c();
|
|
>b : c, Symbol(b,Decl(sourcemapValidationDuplicateNames.ts,6,7))
|
|
>new m1.c() : c
|
|
>m1.c : typeof c, Symbol(c,Decl(sourcemapValidationDuplicateNames.ts,1,15))
|
|
>m1 : typeof m1, Symbol(m1,Decl(sourcemapValidationDuplicateNames.ts,0,0),Decl(sourcemapValidationDuplicateNames.ts,4,1))
|
|
>c : typeof c, Symbol(c,Decl(sourcemapValidationDuplicateNames.ts,1,15))
|
|
}
|