TypeScript/tests/baselines/reference/sourceMapValidationFunctionPropertyAssignment.sourcemap.txt
Daniel Rosenwasser 819ea95953 Better error recovery for when an arrow function is missing a curly brace.
Also better identification of arrow function expressions.
2014-07-18 16:55:18 -07:00

55 lines
No EOL
1.8 KiB
Text

===================================================================
JsFile: sourceMapValidationFunctionPropertyAssignment.js
mapUrl: sourceMapValidationFunctionPropertyAssignment.js.map
sourceRoot:
sources: sourceMapValidationFunctionPropertyAssignment.ts
===================================================================
-------------------------------------------------------------------
emittedFile:tests/cases/compiler/sourceMapValidationFunctionPropertyAssignment.js
sourceFile:sourceMapValidationFunctionPropertyAssignment.ts
-------------------------------------------------------------------
>>>var x = { n: function n() {
1 >
2 >^^^^
3 > ^
4 > ^^^
5 > ^^
6 > ^
7 > ^^
8 > ^^^^^^^^^
9 > ^
1 >
2 >var
3 > x
4 > =
5 > {
6 > n
7 >
8 >
9 > n
1 >Emitted(1, 1) Source(1, 1) + SourceIndex(0)
2 >Emitted(1, 5) Source(1, 5) + SourceIndex(0)
3 >Emitted(1, 6) Source(1, 6) + SourceIndex(0)
4 >Emitted(1, 9) Source(1, 9) + SourceIndex(0)
5 >Emitted(1, 11) Source(1, 11) + SourceIndex(0)
6 >Emitted(1, 12) Source(1, 12) + SourceIndex(0)
7 >Emitted(1, 14) Source(1, 11) + SourceIndex(0)
8 >Emitted(1, 23) Source(1, 11) + SourceIndex(0)
9 >Emitted(1, 24) Source(1, 12) + SourceIndex(0)
---
>>>} };
1 >
2 >^
3 > ^^
4 > ^
5 > ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^->
1 >() {
2 >}
3 > }
4 > ;
1 >Emitted(2, 1) Source(1, 17) + SourceIndex(0) name (n)
2 >Emitted(2, 2) Source(1, 18) + SourceIndex(0) name (n)
3 >Emitted(2, 4) Source(1, 20) + SourceIndex(0)
4 >Emitted(2, 5) Source(1, 21) + SourceIndex(0)
---
>>>//# sourceMappingURL=sourceMapValidationFunctionPropertyAssignment.js.map