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.
25 lines
453 B
Plaintext
25 lines
453 B
Plaintext
[
|
|
{
|
|
key.kind: source.lang.swift.ref.struct,
|
|
key.offset: 9,
|
|
key.length: 3,
|
|
key.is_system: 1
|
|
}
|
|
]
|
|
[
|
|
{
|
|
key.line: 1,
|
|
key.column: 16,
|
|
key.filepath: real.swift,
|
|
key.severity: source.diagnostic.severity.error,
|
|
key.description: "use of unresolved identifier 'goo'",
|
|
key.diagnostic_stage: source.diagnostic.stage.swift.sema,
|
|
key.ranges: [
|
|
{
|
|
key.offset: 15,
|
|
key.length: 3
|
|
}
|
|
]
|
|
}
|
|
]
|