006 coordinator timing

✓ Passing This code compiles and runs correctly.

Code

input.kz

Must fail at frontend compile:

Parsing or type-checking must reject the program.

Expected compiler error

error[PARSE003]: branch constructor field 'metrics' contains a function call — branch constructors must be pure. Use tor chaining instead.
  --> tests/regression/400_RUNTIME_FEATURES/430_COORDINATION/430_006_coordinator_timing/input.kz:20:1
    |
 20 |     | error e => error { e.message }
    | ^

Flows

flow ~print.ln click a branch to expand · @labels scroll to their anchor
print.ln (expr: "should not compile")

Test Configuration

Expected Error:

branch constructor field 'metrics' contains a function call

Post-validation Script: