Skip to content

Feature Request: Improve error message for "can't find enum" warning #247

@parker-research

Description

@parker-research

The def finalize(self): method in RewritePybind11EnumValueRepr is a bit confusing.

I wish it explained why it couldn't automatically locate the "enum class location". I'd prefer not to have to hardcode the --enum-class-locations argument in the build yml.

Update: It seems that my issue is related to an enum containing a "None_" value. It works when that value is commented out in the bindings, but fails when the value is included in the Enum.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions