You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
This fails to compile with % c3c --trust=full build
1: module main;
2: import foo;
3:
4: $exec(foo::EXEC_TOOL, "\"int x;\"");
^^^^^^^^^
(...../src/main.c3:4:12) Error: 'foo::EXEC_TOOL' could not be found, did you spell it right
If I rename other.c3 to foo2.c3 then it builds ok.
I would suspect this is due to some ordering of the files due to the names affecting the EXEC pass?
The text was updated successfully, but these errors were encountered:
Consider an empty project created with
c3c init
, put 3 files insrc
folder - the names of which are significant for reproducing the issue:foo.c3
other.c3
main.c3
This fails to compile with
% c3c --trust=full build
If I rename
other.c3
tofoo2.c3
then it builds ok.I would suspect this is due to some ordering of the files due to the names affecting the EXEC pass?
The text was updated successfully, but these errors were encountered: