layout | title | category | tags | order | |||
---|---|---|---|---|---|---|---|
developer-doc |
Diagnostics |
semantics |
|
2 |
Due to the highly interactive and always-online nature of a running Enso program, it is very important that compile diagnostics (such as lints, errors, and warnings) are surfaced in the running language. This is particularly important for visual mode.
To this end, Enso provides mechanisms by which diagnostics are scoped to the smallest possible program component, and are even translated into executable nodes in the interpreter so that they can be interacted with at runtime.
The actionables for this section are:
- Specify how warnings behave at runtime.
The actionables for this section are:
- Specify how errors behave at runtime.
- Talk about their limited scope and how they can be interacted with at runtime.