diff options
author | romes <rodrigo.m.mesquita@gmail.com> | 2022-05-17 16:06:52 +0200 |
---|---|---|
committer | Marge Bot <ben+marge-bot@smart-cactus.org> | 2022-07-03 14:11:31 -0400 |
commit | f9f8099598fd169fa2f17305fc660e5c473f8836 (patch) | |
tree | 5acdb9a38b78dc17ffa0abb63d87555e214d98af /compiler/GHC/Unit/Module/Name.hs | |
parent | 3a8970ac0c69335a1d229f9c9a71e6e333e99bfb (diff) | |
download | haskell-f9f8099598fd169fa2f17305fc660e5c473f8836.tar.gz |
TTG: Move ImpExp client-independent bits to L.H.S.ImpExp
Move the GHC-independent definitions from GHC.Hs.ImpExp to
Language.Haskell.Syntax.ImpExp with the required TTG extension fields
such as to keep the AST independent from GHC.
This is progress towards having the haskell-syntax package, as described
in #21592
Bumps haddock submodule
Diffstat (limited to 'compiler/GHC/Unit/Module/Name.hs')
-rw-r--r-- | compiler/GHC/Unit/Module/Name.hs | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/compiler/GHC/Unit/Module/Name.hs b/compiler/GHC/Unit/Module/Name.hs index 9860914502..b7bf62857c 100644 --- a/compiler/GHC/Unit/Module/Name.hs +++ b/compiler/GHC/Unit/Module/Name.hs @@ -1,7 +1,8 @@ +{-# OPTIONS_GHC -Wno-orphans #-} -- Outputable and Module Name -- | The ModuleName type module GHC.Unit.Module.Name - ( module Language.Haskell.Syntax + ( ModuleName , pprModuleName , moduleNameFS , moduleNameString @@ -13,7 +14,7 @@ module GHC.Unit.Module.Name ) where -import {-# SOURCE #-} Language.Haskell.Syntax (ModuleName(..)) +import {-# SOURCE #-} Language.Haskell.Syntax.ImpExp (ModuleName(..)) import GHC.Prelude |