Commit a31e156a authored by Simon Marlow's avatar Simon Marlow
Browse files

minor fix to the clashing export error message

The ordering of items in the parsed export list is now correct, so we
have to compensate to get the right output again.
parent 2bad3deb
......@@ -725,7 +725,7 @@ check_occs ie occs names
| otherwise -- Same occ name but different names: an error
-> do { global_env <- getGlobalRdrEnv ;
addErr (exportClashErr global_env name name' ie ie') ;
addErr (exportClashErr global_env name' name ie' ie) ;
returnM occs }
name_occ = nameOccName name
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment