LuaScriptDiagnostic
A single type-check diagnostic.
Fields
1-based line number in the script source.
1-based UTF-16 editor column.
Exclusive diagnostic end line.
Exclusive diagnostic end UTF-16 column.
ERROR or WARNING.
Possible values (2)
ERRORType error — script is not type-safe.
WARNINGLint warning — non-fatal.
Diagnostic message from the Lua type checker.
Checker error code, when available.
Referenced by (1)
Exact type SDL
"""A single type-check diagnostic."""
type LuaScriptDiagnostic {
"""1-based line number in the script source."""
line: Int!
"""1-based UTF-16 editor column."""
column: Int!
"""Exclusive diagnostic end line."""
endLine: Int
"""Exclusive diagnostic end UTF-16 column."""
endColumn: Int
"""ERROR or WARNING."""
severity: LuaScriptDiagnosticSeverity!
"""Diagnostic message from the Lua type checker."""
message: String!
"""Checker error code, when available."""
code: String
}