mirror of
https://github.com/apple/swift.git
synced 2025-12-14 20:36:38 +01:00
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.
50 lines
1.2 KiB
Plaintext
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
|
|
}
|
|
]
|
|
}
|
|
]
|