Skip to content

Diagnostics

Si Dunford edited this page Dec 23, 2021 · 3 revisions

Diagnostics are validations performed by the language server to identify faults in the code.

⚠️ This feature is experimental and can be enabled using the "-x:diag" command line argument

Please Note:

Few (if any) of these diagnostics are currently implemented.

RULE STATE NOTES
Main File
Strict in Main File Experimental
Framework in Main file only Experimental
Import in Main File Experimental
Module in main file
ModuleInfo in Module
Feature not in framework identifies when an import is required for a module
Whitespace
Empty Comment Identifies a trailing line comment without content
Trailing whitespace Identifies whitespace at end of line
Requires update to Lexer/parser/AST
Missing files
Included file missing Identifies if an included file does not exists
Incbin missing Identifies if Incbin file missing.
Uncategorised
TBC
Clone this wiki locally