Files
swift-mirror/test/SourceKit/SyntaxMapData/syntaxmap-edit-del.swift.response2
Argyrios Kyrtzidis 8ff6a98a99 [sourcekit] Merge SourceKit into the Swift repo.
The code goes into its own sub-tree under 'tools' but tests go under 'test',
so that running 'check-swift' will also run all the SourceKit tests.

SourceKit is disabled on non-darwin platforms.
2015-11-05 01:09:08 -08:00

37 lines
779 B
Plaintext

{
key.offset: 0,
key.length: 38,
key.diagnostic_stage: source.diagnostic.stage.swift.parse,
key.syntaxmap: [
{
key.kind: source.lang.swift.syntaxtype.comment,
key.offset: 1,
key.length: 34
}
],
key.diagnostics: [
{
key.line: 4,
key.column: 1,
key.filepath: syntaxmap-edit-del.swift,
key.severity: source.diagnostic.severity.error,
key.description: "extraneous '}' at top level",
key.diagnostic_stage: source.diagnostic.stage.swift.parse,
key.fixits: [
{
key.offset: 36,
key.length: 1,
key.sourcetext: ""
}
]
}
]
}
{
key.offset: 36,
key.length: 0,
key.diagnostic_stage: source.diagnostic.stage.swift.parse,
key.syntaxmap: [
]
}