aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/Main.hs2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/Main.hs b/src/Main.hs
index 503c47e7..82162ef1 100644
--- a/src/Main.hs
+++ b/src/Main.hs
@@ -176,7 +176,7 @@ mkInterface mod_map filename
-- build the orig_env, which maps names to *original* names (so we can
-- find the original declarations & docs for things).
- orig_env = local_orig_env `plusFM` buildOrigEnv mod_map imps
+ orig_env = buildOrigEnv mod_map imps `plusFM` local_orig_env
-- convert names in source code to original, fully qualified, names
(orig_exports, missing_names1)