Skip to content

Cannot use the full extent of nim features in panicoverride files #25298

@Abathargh

Description

@Abathargh

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions