warning diagnostics for unused locals
This commit is contained in:
@@ -143,8 +143,9 @@ package loader -> per-file lexer/parser/AST -> checker/HIR -> lower/IR -> opt ->
|
||||
```
|
||||
|
||||
Source diagnostics do not block executable generation. When recovery is
|
||||
possible, invalid code lowers to runtime diagnostic traps and the compiler
|
||||
returns status `1`. Infrastructure or backend failures return status `2`.
|
||||
possible, errors lower to runtime diagnostic traps; warnings do not trap. Any
|
||||
source diagnostic makes the compiler return status `1`. Infrastructure or
|
||||
backend failures return status `2`.
|
||||
Top-level function bodies are semantically checked lazily when a concrete
|
||||
specialization is demanded.
|
||||
|
||||
@@ -193,5 +194,5 @@ feature ledger, and [TODO.md](TODO.md) for the implementation roadmap.
|
||||
Compiler exit statuses:
|
||||
|
||||
- `0`: executable produced without source diagnostics
|
||||
- `1`: executable produced with source diagnostics and embedded traps
|
||||
- `1`: executable produced with source diagnostics; errors may embed traps, warnings do not
|
||||
- `2`: executable could not be produced
|
||||
|
||||
Reference in New Issue
Block a user