Nim Version
2.2.6 and also devel
Description
Not all language constructs can be used within a panicoverride.nim file, which is needed when compiling with --os:standalone, e.g. import macros won't work because NimNode is not yet visible when panicoverride gets included in system.nim.
Current Output
E.g. import macros errors out.
Expected Output
It is possible to use any nim feature in a panicoverride file.
Known Workarounds
No response
Additional Information
No response