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–6 unchanged (6 lines)
7 }
8 get [Symbol.toPrimitive]() {
9 return "";
10 }
11}
12
13//// [symbolProperty45.js]
14class C {
15 get [Symbol.hasInstance]() {
16 return "";
17 }
18 get [Symbol.toPrimitive]() {
19 return "";
20 }
21}
22

After

…lines 1–7 unchanged (7 lines)
8 get [Symbol.toPrimitive]() {
9 return "";
10 }
11}
12
13//// [symbolProperty45.js]
14"use strict";
15class C {
16 get [Symbol.hasInstance]() {
17 return "";
18 }
19 get [Symbol.toPrimitive]() {
20 return "";
21 }
22}
23

Before

program
comment "//// [tests/cases/conformance/es6/Symbols/symbolProperty45.t"...
comment "//// [symbolProperty45.ts]"
class_declaration (+48 nodes collapsed)
comment "//// [symbolProperty45.js]"
class_declaration (+48 nodes collapsed)

After

program
comment "//// [tests/cases/conformance/es6/Symbols/symbolProperty45.t"...
comment "//// [symbolProperty45.ts]"
class_declaration (+48 nodes collapsed)
comment "//// [symbolProperty45.js]"
expression_statement
string
" "\""
string_fragment "use strict"
" "\""
; ";"
class_declaration (+48 nodes collapsed)