Files
swift-mirror/test/SourceKit/SyntaxMapData/diags.swift.response
2021-05-08 00:40:53 +02:00

68 lines
1.6 KiB
Plaintext

<<NULL>>
[
{
key.line: 3,
key.column: 10,
key.filepath: parse_error.swift,
key.severity: source.diagnostic.severity.error,
key.id: "func_decl_without_paren",
key.description: "expected '(' in argument list of function declaration",
key.diagnostic_stage: source.diagnostic.stage.swift.sema,
key.fixits: [
{
key.offset: 26,
key.length: 0,
key.sourcetext: "()"
}
]
},
{
key.line: 5,
key.column: 8,
key.filepath: parse_error.swift,
key.severity: source.diagnostic.severity.error,
key.id: "cannot_find_type_in_scope",
key.description: "cannot find type 'Undeclared' in scope",
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.id: "func_decl_without_paren",
key.description: "expected '(' in argument list of function declaration",
key.diagnostic_stage: source.diagnostic.stage.swift.sema,
key.fixits: [
{
key.offset: 29,
key.length: 0,
key.sourcetext: "()"
}
]
},
{
key.line: 5,
key.column: 8,
key.filepath: parse_error.swift,
key.severity: source.diagnostic.severity.error,
key.id: "cannot_find_type_in_scope",
key.description: "cannot find type 'Undeclared' in scope",
key.diagnostic_stage: source.diagnostic.stage.swift.sema,
key.ranges: [
{
key.offset: 41,
key.length: 10
}
]
}
]