Commit Graph

2 Commits

Author SHA1 Message Date
Nicolas Grekas 85a4817128 CS fixes 2025-07-29 10:07:07 +02:00
Christophe Coevoet ff4d01f940 Implement the enum_cases function
The implementation contains an optimized implementation of the function
for the common case of using a string literal as the argument. It will
validate the enum existence during compilation and compile the code to
use `MyEnum::cases()` directly.
2024-08-09 21:21:58 +02:00