Fix field resolution not resolving constant value properly

This commit is contained in:
Krzosa Karol
2024-06-10 08:45:58 +02:00
parent f8cf91ed2a
commit ff612d00ef
9 changed files with 66 additions and 39 deletions

View File

@@ -0,0 +1,5 @@
import b "second";
main :: proc(): int {
return b.A;
}

View File

@@ -0,0 +1 @@
A :: 0;