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// {"aliases":["swift::constraints::AllowArgumentMismatch::create(swift::constraints::ConstraintSystem&, swift::Type, swift::Type, swift::constraints::ConstraintLocator*)"],"kind":"typecheck","signature":"swift::constraints::ConstraintSystem::applySolutionFixes(swift::constraints::Solution const&)"}
2// RUN: not --crash %target-swift-frontend -typecheck %s
3func a<each b>(repeat each b, repeat each b)
4a(repeat (
5

After

1// {"kind":"typecheck","signature":"swift::constraints::ConstraintSystem::applySolutionFixes(swift::constraints::Solution const&)","signatureNext":"ConstraintSystem::applySolution"}
2// RUN: not --crash %target-swift-frontend -typecheck %s
3func a<each b>(repeat each b, repeat each b)
4a(repeat (
5

Before

source_file
comment "// {\"aliases\":[\"swift::constraints::AllowArgumentMismatch::c"...
comment "// RUN: not --crash %target-swift-frontend -typecheck %s"
ERROR (+29 nodes collapsed)

After

source_file
comment "// {\"kind\":\"typecheck\",\"signature\":\"swift::constraints::Cons"...
comment "// RUN: not --crash %target-swift-frontend -typecheck %s"
ERROR (+29 nodes collapsed)