title: InvalidConstVal layout: article

InvalidConstVal occurs when a const value cannot be converted to its
target type.

TODO(findleyr): this error code and example are not very clear. Consider
removing it.

Example:
 const _ = 1 {{raw "<"}}{{raw "<"}} "hello"