Files
swift-mirror/test/SourceKit/SyntaxMapData/diags.swift.response
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

50 lines
1.2 KiB
Plaintext

<<NULL>>
[
{
key.line: 3,
key.column: 10,
key.filepath: parse_error.swift,
key.severity: source.diagnostic.severity.error,
key.description: "expected '(' in argument list of function declaration",
key.diagnostic_stage: source.diagnostic.stage.swift.parse
},
{
key.line: 5,
key.column: 8,
key.filepath: parse_error.swift,
key.severity: source.diagnostic.severity.error,
key.description: "use of undeclared type 'Undeclared'",
key.diagnostic_stage: source.diagnostic.stage.swift.sema,
key.ranges: [
{
key.offset: 38,
key.length: 10
}
]
}
]
[
{
key.line: 3,
key.column: 13,
key.filepath: parse_error.swift,
key.severity: source.diagnostic.severity.error,
key.description: "expected '(' in argument list of function declaration",
key.diagnostic_stage: source.diagnostic.stage.swift.parse
},
{
key.line: 5,
key.column: 8,
key.filepath: parse_error.swift,
key.severity: source.diagnostic.severity.error,
key.description: "use of undeclared type 'Undeclared'",
key.diagnostic_stage: source.diagnostic.stage.swift.sema,
key.ranges: [
{
key.offset: 41,
key.length: 10
}
]
}
]