TypeScript/tests/baselines/reference/sourcemapValidationDuplicateNames.types

23 lines
320 B
Plaintext
Raw Normal View History

2014-08-15 23:33:16 +02:00
=== tests/cases/compiler/sourcemapValidationDuplicateNames.ts ===
module m1 {
>m1 : typeof m1
2014-08-15 23:33:16 +02:00
var x = 10;
>x : number
2015-04-13 21:36:11 +02:00
>10 : number
2014-08-15 23:33:16 +02:00
export class c {
>c : c
2014-08-15 23:33:16 +02:00
}
}
module m1 {
>m1 : typeof m1
2014-08-15 23:33:16 +02:00
var b = new m1.c();
>b : c
2014-08-15 23:33:16 +02:00
>new m1.c() : c
>m1.c : typeof c
>m1 : typeof m1
>c : typeof c
2014-08-15 23:33:16 +02:00
}