Rellum Rellum

S0006: effect trigger must name an event or Bool graph

Generated from rellum-diagnostics/src/db.rs.

Explanation

An effect binding trigger controls when Fire-phase work runs. Trigger names must be event bindings or Bool-valued graph nodes; other values do not define a valid firing condition.

Common causes

Canonical fixes

Before:

main! on count => print!(count)

After:

press = event(button!())
main! on press => print!(count)

Before:

main! on count => print!(count)

After:

has_count = count > 0
main! on has_count => print!(count)

Code example

main! on count => print!(count)