CONST_EVAL_TYPE_BOOL_INT constant

CompileTimeErrorCode const CONST_EVAL_TYPE_BOOL_INT

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_INT =
    CompileTimeErrorCode(
        'CONST_EVAL_TYPE_BOOL_INT',
        "In constant expressions, operands of this operator must be of type "
            "'bool' or 'int'.")