From a31e156abe004186a959d04167be062969034f54 Mon Sep 17 00:00:00 2001 From: Simon Marlow Date: Tue, 22 Aug 2006 11:25:18 +0000 Subject: [PATCH] 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. --- compiler/rename/RnNames.lhs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/compiler/rename/RnNames.lhs b/compiler/rename/RnNames.lhs index 63fd99d..b1f3795 100644 --- a/compiler/rename/RnNames.lhs +++ b/compiler/rename/RnNames.lhs @@ -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 } where name_occ = nameOccName name -- 1.7.10.4