summaryrefslogtreecommitdiff
path: root/utils/check-exact/Main.hs
diff options
context:
space:
mode:
authorAlfredo Di Napoli <alfredo@well-typed.com>2021-06-30 15:17:46 +0200
committerAlfredo Di Napoli <alfredo@well-typed.com>2021-07-08 08:13:23 +0200
commit56eb57a6b348d44370fc84f6a35caabd1c548b5e (patch)
treebe873cadaa3f9ec47c41546d2577d61810038313 /utils/check-exact/Main.hs
parent5a31abe3544c21d0b45d264ea68f89bbb108251d (diff)
downloadhaskell-56eb57a6b348d44370fc84f6a35caabd1c548b5e.tar.gz
Rename getErrorMessages and getMessages function in parser codewip/adinapoli-issue-19920
This commit renames the `getErrorMessages` and `getMessages` function in the parser code to `getPsErrorMessages` and `getPsMessages`, to avoid import conflicts, as we have already `getErrorMessages` and `getMessages` defined in `GHC.Types.Error`. Fixes #19920. Update haddock submodule
Diffstat (limited to 'utils/check-exact/Main.hs')
-rw-r--r--utils/check-exact/Main.hs2
1 files changed, 1 insertions, 1 deletions
diff --git a/utils/check-exact/Main.hs b/utils/check-exact/Main.hs
index 2034808362..0d79249398 100644
--- a/utils/check-exact/Main.hs
+++ b/utils/check-exact/Main.hs
@@ -30,7 +30,7 @@ import ExactPrint
import Transform
import Parsers
-import GHC.Parser.Lexer hiding (getMessages)
+import GHC.Parser.Lexer
import GHC.Data.FastString
import GHC.Types.SrcLoc