Skip to content
ChartDeck ChartScript docs Account Open the terminal

CS0002

error Internal compiler error: detail

#What it means

The compiler hit a problem it did not expect while checking your script. The message ends with a short technical detail for us.

#Typical cause

  • A rare bug in the compiler, usually triggered by an unusual combination of language features.
  • The detail text tells our team where it happened.

#How to fix it

  • Copy the message (with its detail) and report it; the script that caused it helps us most.
  • To keep working, change the line the error points at, for example split a long expression into a few named variables.

#Example

An internal compiler error is a bug, not a mistake in a script, so there is no script that should produce it.

  • CS0001 — The ChartScript compiler is not available.
  • CS5501 — Internal runtime error: detail

The ChartScript documentation is in English for now; translations will follow.