You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
mfile: one constraint check for loadout_mode, so a broken constraint gives one message #3304
Residual of BOX T126 (#3254, PR #3301), from arch condition C4 (arch_rulings 1173).
Two checks now read a Box Type's loadout_mode constraint. T126's gate() in crates/mfile/src/expand.rs reads it through holding_constraint() and returns Error::ConstraintViolated. T23's check_constraints (#3292) reads every constraint and returns BoxTypeError::ConstraintBroken. One broken constraint can therefore print two different messages.
Scope: once #3292 has merged, make gate() read the loadout_mode constraint by the rules of check_constraints and return BoxTypeError::ConstraintBroken. Remove Error::ConstraintViolated and holding_constraint(), so one constraint check gives one message. Keep the BOX-181 order: the check runs before any loadout is read.
Activity
fix(minimal): refuse an undecided pick and an unresolved type at the …
feat(minimal): T126 — Refuse a named loadout on a sealed box, a loado…