- Change typedef and const enums to not convert from literals by default. (#2934)

- Add `@constinit` to allow old typedef behaviour.
This commit is contained in:
Christoffer Lerno
2026-02-13 20:39:47 +01:00
committed by GitHub
parent bbf89815d6
commit e299a4b630
12 changed files with 37 additions and 19 deletions

View File

@@ -12,6 +12,8 @@
- New const enum declaration syntax.
- New enum associated value syntax.
- Individual warning settings added.
- Change typedef and const enums to not convert from literals by default.
- Add `@constinit` to allow old typedef behaviour.
### Stdlib changes
- Summarize sort macros as generic function wrappers to reduce the amount of generated code. #2831