INVALID_CONSTANT constant

CompileTimeErrorCode const INVALID_CONSTANT

TODO(brianwilkerson) Remove this when we have decided on how to report errors in compile-time constants. Until then, this acts as a placeholder for more informative errors.

See TODOs in ConstantVisitor

Implementation

static const CompileTimeErrorCode INVALID_CONSTANT =
    CompileTimeErrorCode('INVALID_CONSTANT', "Invalid constant value.")