Unfortunately the built-in assert GC allocates an exception, which means that if called directly or indirectly form a finalizer, the assertion will not become visible and instead an InvalidMemoryOperationError is thrown. This implements a custom nogc_assert() function that directly prints the assertion message and uses abort() to end the process. |
||
|---|---|---|
| .. | ||
| eventcore | ||