The referenced statement contains operations that, while correct, have an unclear order of execution.
Example:
uint256(_phaseId) << 64 | _aggregatorRoundId
Recommendation:
We advise the code to wrap the bitwise shift operation (<<) in parenthesis (()), explicitly denoting its precedence over the bitwise OR (|) operator applied to the highlighted statement.
OHR-07C: Unclear Order of Operations
Description:
The referenced statement contains operations that, while correct, have an unclear order of execution.
Example:
Recommendation:
We advise the code to wrap the bitwise shift operation (
<<
) in parenthesis (()
), explicitly denoting its precedence over the bitwise OR (|
) operator applied to the highlighted statement.