- Constant shifting incorrectly doesn't flatten the underlying vector base #2825

- String not set as attributes resolved breaking has_tagof #2824
- Self referencing forward resolved const enum fails to be properly detected #2823
This commit is contained in:
Christoffer Lerno
2026-01-24 18:32:26 +01:00
parent 5e23817a3d
commit 397d065a74
6 changed files with 36 additions and 5 deletions

View File

@@ -0,0 +1,11 @@
enum MyEnum : const
{
VAL1 = VAL3, // #error: Unable to properly resolve enum constant value, this can sometimes happen in recursive definitions
VAL2 ,
VAL3
}
fn int main()
{
return 0;
}