Files
swift-mirror/test/SourceKit/Sema/sema_playground.swift.response
Argyrios Kyrtzidis 0cfc56ec04 [SourceKit] If diagnostics are 'stale' for a particular snapshot then ignore them and only return the syntactic parser diagnostics (#10388)
This makes sure that diagnostics returned for a particular state of source buffer are consistent and accurate.
rdar://32769873
2017-06-20 12:26:32 -07:00

18 lines
361 B
Plaintext

[
{
key.kind: source.lang.swift.ref.var.global,
key.offset: 25,
key.length: 1
}
]
[
{
key.line: 1,
key.column: 5,
key.filepath: sema_playground.swift,
key.severity: source.diagnostic.severity.error,
key.description: "expected numeric value following '$'",
key.diagnostic_stage: source.diagnostic.stage.swift.sema
}
]