Skip to content

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

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.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions