diff options
author | Ben Gamari <ben@smart-cactus.org> | 2020-03-18 14:42:43 -0400 |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-03-18 14:42:43 -0400 |
commit | 7618613814d5aca838d70df0c1b20ec99f5611a8 (patch) | |
tree | a2b332704c4ff6157c49d3b211926cd294d8b21c /haddock-api/src/Haddock/Parser.hs | |
parent | 3174ad334c2c505394703ce96fcb67ace94a427c (diff) | |
parent | 8787d8a840d27187f4c4f4f9c469dfca6137fec0 (diff) |
Merge pull request #1133 from hsyl20/wip/hsyl20/modules/types
Modules: Types
Diffstat (limited to 'haddock-api/src/Haddock/Parser.hs')
-rw-r--r-- | haddock-api/src/Haddock/Parser.hs | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/haddock-api/src/Haddock/Parser.hs b/haddock-api/src/Haddock/Parser.hs index 3fb7eedd..b4923e3b 100644 --- a/haddock-api/src/Haddock/Parser.hs +++ b/haddock-api/src/Haddock/Parser.hs @@ -20,8 +20,8 @@ import GHC.Driver.Session ( DynFlags ) import FastString ( fsLit ) import Lexer ( mkPState, unP, ParseResult(POk) ) import Parser ( parseIdentifier ) -import RdrName ( RdrName ) -import SrcLoc ( mkRealSrcLoc, unLoc ) +import GHC.Types.Name.RdrName ( RdrName ) +import GHC.Types.SrcLoc ( mkRealSrcLoc, unLoc ) import StringBuffer ( stringToStringBuffer ) parseParas :: DynFlags -> Maybe Package -> String -> MetaDoc mod RdrName |