← All docs

json_last_error() — internals

Compiler internals for json_last_error(): lowering path, type checks, and runtime helpers.

json_last_error() — internals

Where it lives

Lowering notes

  • Lowers json_last_error() by reading the shared runtime error-code symbol.

Runtime helpers

The following runtime helpers are referenced:

  • __rt_json_last_error_msg

Signature summary

function json_last_error(): int

What the type checker enforces

  • Arity: takes no arguments.

Eval interpreter (magician)

Cross-references