Fix of const enum resolution order #2264

This commit is contained in:
Christoffer Lerno
2025-07-02 12:01:52 +02:00
parent af192354fd
commit 20964b43ce
2 changed files with 19 additions and 1 deletions

View File

@@ -0,0 +1,18 @@
module foo;
import bar;
struct Foo
{
MyEnum value;
}
module bar;
enum MyEnum : const CInt
{
VAL1 = 1,
VAL2 = 2,
VAL3 = 3,
}
fn void main() {}