Open jsmall-zzz opened 1 year ago
Take...
enum Check { V = 1, X = V + 2 };
In Slang this produces the error
x.slang(3): error 30015: undefined identifier 'V'. enum Check { V = 1, X = V + 2 }; ^ x.slang(3): error 39999: expression does not evaluate to a compile-time constant enum Check { V = 1, X = V + 2 };
This does work correctly in DXC
This is language quality-of-life, putting Q3 tentatively
Take...
In Slang this produces the error
This does work correctly in DXC