CONST_EVAL_TYPE_BOOL constant

CompileTimeErrorCode const CONST_EVAL_TYPE_BOOL

16.12.2 Const: An expression of one of the forms !e, e1 && e2 or e1 || e2, where e, e1 and e2 are constant expressions that evaluate to a boolean value.

Implementation

static const CompileTimeErrorCode CONST_EVAL_TYPE_BOOL = CompileTimeErrorCode(
    'CONST_EVAL_TYPE_BOOL',
    "In constant expressions, operands of this operator must be of type "
        "'bool'.")