[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.
Parameters
Section titled “Parameters”| Parameter | Type |
|---|---|
program | Program |
Returns
Section titled “Returns”void