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

…lines 1–5 unchanged (5 lines)
6}
7
8class b extends a {
9 static x: b;
10}
11
12//// [inheritanceStaticMembersCompatible.js]
13class a {
14}
15class b extends a {
16}
17

After

…lines 1–6 unchanged (6 lines)
7
8class b extends a {
9 static x: b;
10}
11
12//// [inheritanceStaticMembersCompatible.js]
13"use strict";
14class a {
15}
16class b extends a {
17}
18

Before

program
comment "//// [tests/cases/compiler/inheritanceStaticMembersCompatibl"...
comment "//// [inheritanceStaticMembersCompatible.ts]"
class_declaration
class "class"
identifier "a"
class_body
{ "{"
field_definition
static "static"
ERROR
property_identifier "x"
: ":"
property_identifier "a"
; ";"
} "}"
class_declaration
class "class"
identifier "b"
class_heritage
extends "extends"
identifier "a"
class_body
{ "{"
field_definition
static "static"
ERROR
property_identifier "x"
: ":"
property_identifier "b"
; ";"
} "}"
comment "//// [inheritanceStaticMembersCompatible.js]"
class_declaration
class "class"
identifier "a"
class_body
{ "{"
} "}"
class_declaration
class "class"
identifier "b"
class_heritage
extends "extends"
identifier "a"
class_body
{ "{"
} "}"

After

program
comment "//// [tests/cases/compiler/inheritanceStaticMembersCompatibl"...
comment "//// [inheritanceStaticMembersCompatible.ts]"
class_declaration
class "class"
identifier "a"
class_body
{ "{"
field_definition
static "static"
ERROR
property_identifier "x"
: ":"
property_identifier "a"
; ";"
} "}"
class_declaration
class "class"
identifier "b"
class_heritage
extends "extends"
identifier "a"
class_body
{ "{"
field_definition
static "static"
ERROR
property_identifier "x"
: ":"
property_identifier "b"
; ";"
} "}"
comment "//// [inheritanceStaticMembersCompatible.js]"
expression_statement
string
" "\""
string_fragment "use strict"
" "\""
; ";"
class_declaration
class "class"
identifier "a"
class_body
{ "{"
} "}"
class_declaration
class "class"
identifier "b"
class_heritage
extends "extends"
identifier "a"
class_body
{ "{"
} "}"