Skip to content

Latest commit

 

History

History
39 lines (29 loc) · 1.06 KB

diagnostics.md

File metadata and controls

39 lines (29 loc) · 1.06 KB
layout title category tags order
developer-doc
Diagnostics
semantics
semantics
diagnostics
runtime
2

Diagnostics

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.

Warnings at Runtime

The actionables for this section are:

  • Specify how warnings behave at runtime.

Errors 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.