Skip to main content

Module events

Module events 

Source
Expand description

Polydat compiler diagnostic event stream.

The compiler emits typed events for each step: binding resolution, module inlining, type adaptation, constant folding, fusion, and compilation level selection. Parsed, OutputDeclared, ParamInjected, and Summary are reserved; no compile path emits them.

Events are tagged with severity levels:

  • Info: normal compilation steps (parsed, resolved, folded)
  • Advisory: type coercions, widenings, and implicit conversions that the user should be aware of for module design quality
  • Warning: potential performance or correctness issues
  • Error: compilation failures (surfaced as Result::Err, not events)

Structs§

CompileEventLog
Collects diagnostic events during compilation.

Enums§

CompileEvent
A diagnostic event from the Polydat compilation pipeline.
EventLevel
Severity level for compiler diagnostic events.