TypeScript/tests/baselines/reference/sourcemapValidationDuplicateNames.types
2015-04-15 16:44:20 -07:00

23 lines
320 B
Plaintext

=== tests/cases/compiler/sourcemapValidationDuplicateNames.ts ===
module m1 {
>m1 : typeof m1
var x = 10;
>x : number
>10 : number
export class c {
>c : c
}
}
module m1 {
>m1 : typeof m1
var b = new m1.c();
>b : c
>new m1.c() : c
>m1.c : typeof c
>m1 : typeof m1
>c : typeof c
}