Class BooleanCondition

java.lang.Object
org.ek9lang.compiler.phase7.support.BooleanCondition

public final class BooleanCondition extends Object
THE step from an evaluated condition to what a branch reads - use this, do not re-derive it.

A condition is a Boolean, or a type that promotes to one with #^ (front-end rationalisation D1, Steve 2026-10-02): every place a condition is read - if / else if, while, do/while, a ternary, a guard's condition, require and assert. Phase 3 accepts the promotable type; this inserts its _promote() call through THE value promotion (CollectionElementPromoter and PromotionCallGenerator, never a new copy), then reads the primitive with _true(). Before it the condition's own type reached Boolean._true() and the class failed verification at load (VerifyError).

A condition that is already a Boolean is untouched: no instruction and no temporary are added, so the IR of every existing Boolean condition is unchanged.