Skip to content

[F] $onValidate

function $onValidate(program): void;

Compiler validation hook that caches namespace dependencies and reports incompatible versioned references and invalid versioning metadata. The compiler invokes this when the library is loaded; emitters need not call it.

ParameterType
programProgram

void