failCompilation (--)

Inputs

Outputs

As soon as it is reached during compilation, compilation aborts unconditionally.

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

Behavior

Example: demanded compile error

The message printed before the call appears, and failCompilation then stops compilation with an error.

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

Expected Output During Compilation

about to stop

Expected Compilation Error

failCompilation

See also