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
497 B
Plaintext
25 lines
497 B
Plaintext
[
|
|
{
|
|
key.kind: source.lang.swift.ref.struct,
|
|
key.offset: 18,
|
|
key.length: 3,
|
|
key.is_system: 1
|
|
},
|
|
{
|
|
key.kind: source.lang.swift.ref.struct,
|
|
key.offset: 91,
|
|
key.length: 4,
|
|
key.is_system: 1
|
|
}
|
|
]
|
|
[
|
|
{
|
|
key.line: 8,
|
|
key.column: 1,
|
|
key.filepath: t2.swift,
|
|
key.severity: source.diagnostic.severity.error,
|
|
key.description: "missing return in a function expected to return 'Bool'",
|
|
key.diagnostic_stage: source.diagnostic.stage.swift.sema
|
|
}
|
|
]
|