Skip to content
TE003 · Type · error

`const` value not a compile-time constant

`const` requires a constant-foldable expression. Use `let` for runtime values.

A full explainer for this code hasn't been written yet. The summary above is the current authoritative description.

Want to contribute? Add docs/errors/<code>.md in the repo and the page will pick it up automatically.

See also

enespt-br