An AdaCore engineer noticed that the definition of known on entry in the Ada RM 6.1.1(20/5-22.10/5) makes no mention of short-circuit control forms or membership tests. That seems weird, since a function call to a pure function is permitted so long as all of the operands are known on entry, and there is nothing preventing such a function containing a short-circuit control form or a membership test.
RM 6.1.1(22.4/5) includes a known on entry:
an invocation of a predefined operator where all of the operands are known on entry;
Perhaps that should be generalized to include short-circuit control forms and membership tests.
An AdaCore engineer noticed that the definition of known on entry in the Ada RM 6.1.1(20/5-22.10/5) makes no mention of short-circuit control forms or membership tests. That seems weird, since a function call to a pure function is permitted so long as all of the operands are known on entry, and there is nothing preventing such a function containing a short-circuit control form or a membership test.
RM 6.1.1(22.4/5) includes a known on entry:
Perhaps that should be generalized to include short-circuit control forms and membership tests.