Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func FmtDiag ¶
func FmtDiag(diag protocol.Diagnostic) string
func HasErrors ¶ added in v0.1.7
func HasErrors(diags []protocol.Diagnostic) bool
Types ¶
type DiagCode ¶
type DiagCode string
const ( ImportNotFound DiagCode = "ImportNotFound" UnusedVar DiagCode = "UnusedVar" TypeMismatch DiagCode = "TypeMismatch" RedundantCondition DiagCode = "RedundantCondition" UnknownField DiagCode = "UnknownField" UnknownArgument DiagCode = "UnknownArgument" ArgumentCardinality DiagCode = "ArgumentCardinality" )
type Diagnostic ¶
type Diagnostic = protocol.Diagnostic
Click to show internal directories.
Click to hide internal directories.