PanSashko c89bb3e141 Fix std.enums.values
Current implementation fails to handle the following enum

```zig
const E = enum {
  X,
  pub const X = 1;
}
```

because `@field(type, name)` prefers declarations over enum fields.
2024-01-02 20:28:55 +02:00
..
2023-12-20 13:17:15 +02:00
2023-11-02 12:20:09 -07:00
2023-09-19 09:37:31 -07:00
2023-09-19 09:37:31 -07:00
2024-01-02 20:28:55 +02:00
2023-07-31 03:49:21 -04:00