Const Enums From / to ordinal using casts is back. Add "--use-old-enums", deprecating lookup.

This commit is contained in:
Christoffer Lerno
2025-06-27 01:48:21 +02:00
committed by Christoffer Lerno
parent 4a803ed0cf
commit 13bb2b6690
92 changed files with 1716 additions and 438 deletions

View File

@@ -1,3 +1,4 @@
/*
enum Bar : inline usz
{
FOO,
@@ -17,3 +18,4 @@ fn int main()
char[Bar2.BAR] a;
return 0;
}
*/