Skip to main content

Documentation Index

Fetch the complete documentation index at: https://docs.brim-lang.com/llms.txt

Use this file to discover all available pages before exploring further.

What this means

literal exceeds target type range

Metadata

  • Code: W1008
  • Default level: Warning
  • Phase: Type Check
  • Canonical docs URL: https://docs.brim-lang.com/diagnostics/W1008
  • Tags: lint, literals

How to fix

  • widen type
  • truncate explicitly

Typical output

W1008: overflowing literal (warn)
note: literal exceeds target type range