mirror of
https://github.com/c3lang/c3c.git
synced 2026-02-27 12:01:16 +00:00
- String not set as attributes resolved breaking has_tagof #2824 - Self referencing forward resolved const enum fails to be properly detected #2823
11 lines
203 B
Plaintext
11 lines
203 B
Plaintext
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;
|
|
} |