failCompilation

failCompilation (--)

Inputs

Outputs

This builtin has no inputs and no outputs. As soon as it is reached during compilation, compilation fails unconditionally.

The reported error text is always the single generic line failCompilation. The message cannot be customized.

Behavior

Example

{} 0 {} [
  "about to stop" printCompilerMessage
  failCompilation
  0
] "main" exportFunction

Expected Output During Compilation

about to stop

Expected Compilation Error Text

failCompilation

See also