bynk.transition.duplicate_name
Error An agent declares two transitions with the same name.
Transitions are named so that a violation can say which step rule was broken. Two with the same name in one agent would make that report ambiguous. Rename one, or merge the two predicates if they are one claim. The same rule for states is bynk.invariant.duplicate_name.
Example
transition grows: new.count >= old.counttransition grows: new.count < 100 // ✗ `grows` is already declared
transition capped: new.count < 100 // ✓ a distinct nameIn the Book
See also
- Every code in its category, Transitions (step invariants), on the diagnostic index.
bynk explain bynk.transition.duplicate_nameshows the same from the installed toolchain, without a network.