2014-08-15 23:33:16 +02:00
|
|
|
=== tests/cases/compiler/sourceMapValidationModule.ts ===
|
|
|
|
module m2 {
|
2015-04-13 23:01:57 +02:00
|
|
|
>m2 : typeof m2, Symbol(m2, Decl(sourceMapValidationModule.ts, 0, 0))
|
2014-08-15 23:33:16 +02:00
|
|
|
|
|
|
|
var a = 10;
|
2015-04-13 23:01:57 +02:00
|
|
|
>a : number, Symbol(a, Decl(sourceMapValidationModule.ts, 1, 7))
|
2015-04-13 21:36:11 +02:00
|
|
|
>10 : number
|
2014-08-15 23:33:16 +02:00
|
|
|
|
|
|
|
a++;
|
|
|
|
>a++ : number
|
2015-04-13 23:01:57 +02:00
|
|
|
>a : number, Symbol(a, Decl(sourceMapValidationModule.ts, 1, 7))
|
2014-08-15 23:33:16 +02:00
|
|
|
}
|
|
|
|
module m3 {
|
2015-04-13 23:01:57 +02:00
|
|
|
>m3 : typeof m3, Symbol(m3, Decl(sourceMapValidationModule.ts, 3, 1))
|
2014-08-15 23:33:16 +02:00
|
|
|
|
|
|
|
module m4 {
|
2015-04-13 23:01:57 +02:00
|
|
|
>m4 : typeof m4, Symbol(m4, Decl(sourceMapValidationModule.ts, 4, 11))
|
2014-08-15 23:33:16 +02:00
|
|
|
|
|
|
|
export var x = 30;
|
2015-04-13 23:01:57 +02:00
|
|
|
>x : number, Symbol(x, Decl(sourceMapValidationModule.ts, 6, 18))
|
2015-04-13 21:36:11 +02:00
|
|
|
>30 : number
|
2014-08-15 23:33:16 +02:00
|
|
|
}
|
|
|
|
|
|
|
|
export function foo() {
|
2015-04-13 23:01:57 +02:00
|
|
|
>foo : () => number, Symbol(foo, Decl(sourceMapValidationModule.ts, 7, 5))
|
2014-08-15 23:33:16 +02:00
|
|
|
|
|
|
|
return m4.x;
|
2015-04-13 23:01:57 +02:00
|
|
|
>m4.x : number, Symbol(m4.x, Decl(sourceMapValidationModule.ts, 6, 18))
|
|
|
|
>m4 : typeof m4, Symbol(m4, Decl(sourceMapValidationModule.ts, 4, 11))
|
|
|
|
>x : number, Symbol(m4.x, Decl(sourceMapValidationModule.ts, 6, 18))
|
2014-08-15 23:33:16 +02:00
|
|
|
}
|
|
|
|
}
|