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

the character literal is malformed

Metadata

  • Code: E1008
  • Default level: Error
  • Phase: Lexer
  • Canonical docs URL: https://docs.brim-lang.com/diagnostics/E1008
  • Tags: lexer

How to fix

  • character literals must contain exactly one character or one escape

Typical output

E1008: invalid character literal
note: the character literal is malformed