Code view:

A painting is a person's account of this edit as text, recorded independently of the node mapping - a rendering often has several equally defensible answers where the mapping has one. Deletions and insertions carry no position on the opposite side in a painting, so that panel draws no caret for them.

Before

1//// [tests/cases/conformance/parser/ecmascript5/ErrorRecovery/ArrowFunctions/ArrowFunction4.ts] ////
2
3//// [ArrowFunction4.ts]
4var v = (a, b) => {
5
6};
7
8//// [ArrowFunction4.js]
9var v = function (a, b) {
10};
11

After

1//// [tests/cases/conformance/parser/ecmascript5/ErrorRecovery/ArrowFunctions/ArrowFunction4.ts] ////
2
3//// [ArrowFunction4.ts]
4var v = (a, b) => {
5
6};
7
8//// [ArrowFunction4.js]
9var v = (a, b) => {
10};
11

Before

program
comment "//// [tests/cases/conformance/parser/ecmascript5/ErrorRecove"...
comment "//// [ArrowFunction4.ts]"
variable_declaration
var "var"
variable_declarator
identifier "v"
= "="
arrow_function
formal_parameters
( "("
identifier "a"
, ","
identifier "b"
) ")"
=> "=>"
statement_block
{ "{"
} "}"
; ";"
comment "//// [ArrowFunction4.js]"
variable_declaration
var "var"
variable_declarator
identifier "v"
= "="
function_expression
function "function"
formal_parameters
( "("
identifier "a"
, ","
identifier "b"
) ")"
statement_block
{ "{"
} "}"
; ";"

After

program
comment "//// [tests/cases/conformance/parser/ecmascript5/ErrorRecove"...
comment "//// [ArrowFunction4.ts]"
variable_declaration
var "var"
variable_declarator
identifier "v"
= "="
arrow_function
formal_parameters
( "("
identifier "a"
, ","
identifier "b"
) ")"
=> "=>"
statement_block
{ "{"
} "}"
; ";"
comment "//// [ArrowFunction4.js]"
variable_declaration
var "var"
variable_declarator
identifier "v"
= "="
arrow_function
formal_parameters
( "("
identifier "a"
, ","
identifier "b"
) ")"
=> "=>"
statement_block
{ "{"
} "}"
; ";"