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