summaryrefslogtreecommitdiff
path: root/6
diff options
context:
space:
mode:
Diffstat (limited to '6')
-rw-r--r--6/main.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/6/main.c b/6/main.c
index 2f54284..a153b8b 100644
--- a/6/main.c
+++ b/6/main.c
@@ -274,9 +274,10 @@ main(int argc, char **argv)
/* before we do anything to the parse */
if (debugopt['T'])
dump(file, stdout);
- infer();
+ loaduses();
if (hasmain(file))
geninit();
+ infer();
tagexports(0);
/* after all type inference */
if (debugopt['t'])