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 event chaining instead.
  --> tests/regression/400_RUNTIME_FEATURES/430_COORDINATION/430_006_coordinator_timing/input.kz:20:1
    |
 20 |     | error e => error { e.message }
    | ^

Test Configuration

Expected Error:

branch constructor field 'metrics' contains a function call

Post-validation Script: