Related: https://github.com/microsoft/qsharp-runtime/issues/975 https://github.com/microsoft/QuantumLibraries/issues/546 Consider moving [this assert](https://github.com/microsoft/qsharp-runtime/blob/499c068d3addc187b8cba30f718ba68f7d4b0e84/src/Qir/Runtime/lib/QIR/callables.cpp#L259) to [here](https://github.com/microsoft/qsharp-runtime/blob/499c068d3addc187b8cba30f718ba68f7d4b0e84/src/Qir/Runtime/lib/QIR/callables.cpp#L407), [here](https://github.com/microsoft/qsharp-runtime/blob/499c068d3addc187b8cba30f718ba68f7d4b0e84/src/Qir/Runtime/lib/QIR/callables.cpp#L440), and [here](https://github.com/microsoft/qsharp-runtime/blob/499c068d3addc187b8cba30f718ba68f7d4b0e84/src/Qir/Runtime/lib/QIR/callables.cpp#L449). Such that the null callables are created and exist successfully until the moment of invocation.
Related:
#975
microsoft/QuantumLibraries#546
Consider moving this assert to here, here, and here. Such that the null callables are created and exist successfully until the moment of invocation.