Code view:
From the node mapping Only one solution
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
… lines 1–9 unchanged (9 lines)
10
11 //// [test.ts]
12 var cl: { x: number; y: number; }
13 var cl = Point();
14 var cl = Point.Origin;
15
16 //// [test.js]
17 var cl;
18 var cl = Point();
19 var cl = Point.Origin;
20
After
… lines 1–10 unchanged (10 lines)
11 //// [test.ts]
12 var cl: { x: number; y: number; }
13 var cl = Point();
14 var cl = Point.Origin;
15
16 //// [test.js]
17 "use strict";
18 var cl;
19 var cl = Point();
20 var cl = Point.Origin;
21
Before
… lines 1–9 unchanged (9 lines)
10
11 //// [test.ts]
12 var cl: { x: number; y: number; }
13 var cl = Point();
14 var cl = Point.Origin;
15
16 //// [test.js]
17 var cl;
18 var cl = Point();
19 var cl = Point.Origin;
20
After
… lines 1–10 unchanged (10 lines)
11 //// [test.ts]
12 var cl: { x: number; y: number; }
13 var cl = Point();
14 var cl = Point.Origin;
15
16 //// [test.js]
17 "use strict";
18 var cl;
19 var cl = Point();
20 var cl = Point.Origin;
21
Before
program comment "//// [tests/cases/conformance/internalModules/DeclarationMer"...
comment "//// [module.d.ts]"
ERROR (+30 nodes collapsed)
function_declaration (+23 nodes collapsed)
comment "//// [test.ts]"
variable_declaration var "var"
ERROR identifier "cl"
: ":"
variable_declarator object_pattern { "{"
pair_pattern property_identifier "x"
: ":"
identifier "number"
} ""
; ";"
labeled_statement statement_identifier "y"
: ":"
expression_statement identifier "number"
; ";"
ERROR } "}"
variable_declaration var "var"
variable_declarator identifier "cl"
= "="
call_expression identifier "Point"
arguments ( "("
) ")"
; ";"
variable_declaration var "var"
variable_declarator identifier "cl"
= "="
member_expression identifier "Point"
. "."
property_identifier "Origin"
; ";"
comment "//// [test.js]"
variable_declaration var "var"
variable_declarator identifier "cl"
; ";"
variable_declaration var "var"
variable_declarator identifier "cl"
= "="
call_expression identifier "Point"
arguments ( "("
) ")"
; ";"
variable_declaration var "var"
variable_declarator identifier "cl"
= "="
member_expression identifier "Point"
. "."
property_identifier "Origin"
; ";"
After
program comment "//// [tests/cases/conformance/internalModules/DeclarationMer"...
comment "//// [module.d.ts]"
ERROR (+30 nodes collapsed)
function_declaration (+23 nodes collapsed)
comment "//// [test.ts]"
variable_declaration var "var"
ERROR identifier "cl"
: ":"
variable_declarator object_pattern { "{"
pair_pattern property_identifier "x"
: ":"
identifier "number"
} ""
; ";"
labeled_statement statement_identifier "y"
: ":"
expression_statement identifier "number"
; ";"
ERROR } "}"
variable_declaration var "var"
variable_declarator identifier "cl"
= "="
call_expression identifier "Point"
arguments ( "("
) ")"
; ";"
variable_declaration var "var"
variable_declarator identifier "cl"
= "="
member_expression identifier "Point"
. "."
property_identifier "Origin"
; ";"
comment "//// [test.js]"
expression_statement string " "\""
string_fragment "use strict"
" "\""
; ";"
variable_declaration var "var"
variable_declarator identifier "cl"
; ";"
variable_declaration var "var"
variable_declarator identifier "cl"
= "="
call_expression identifier "Point"
arguments ( "("
) ")"
; ";"
variable_declaration var "var"
variable_declarator identifier "cl"
= "="
member_expression identifier "Point"
. "."
property_identifier "Origin"
; ";"
Keybindings
j / k next / previous visible node (tree panels)
h / l collapse / expand the focused node
g / G jump to first / last visible node
Tab switch focus between Before/After panels
/ search: jump to next node whose text contains a given string
a jump the other panel to this node's mapped counterpart
i hide identical matches, showing only inserted/deleted/updated nodes and their ancestors
v cycle the view: split / code only / tree only
p cycle what the code view renders: the node mapping, then each human painting
r mark this fixture as reviewed, or forget the mark (kept in this browser only)
n open a random fixture not yet marked as reviewed
? toggle this help
Search (plain substring, no regex):