SIGN IN SIGN UP

[3.12] gh-131045: [Enum] fix flag containment checks when using values (GH-131053) (#131232)

* gh-131045: [Enum] fix flag containment checks when using values (GH-131053)

Check would fail if value would create a pseudo-member, but that member
had not yet been created.  We now attempt to create a pseudo-member for
a passed-in value first.

---------

Co-authored-by: Ethan Furman <ethan@stoneleaf.us>
Co-authored-by: Tomas R. <tomas.roun8@gmail.com>
B
Bénédikt Tran committed
8a9aee71268c77867d3cc96d43cbbdcbe8c0e1e8
Parent: 7f2de07
Committed by GitHub <noreply@github.com> on 3/24/2025, 9:31:24 AM