Rodrigo Mesquita pushed to branch wip/romes/hsmodulename at Glasgow Haskell Compiler / GHC
Commits:
-
a790b544
by Rodrigo Mesquita at 2026-09-17T14:32:15+01:00
3 changed files:
- linters/lint-codes/LintCodes/Static.hs
- testsuite/tests/ghc-api/downsweep/IncrementalDownsweep.hs
- testsuite/tests/profiling/should_run/caller-cc/CallerCcParser.hs
Changes:
| ... | ... | @@ -70,7 +70,7 @@ import GHC.Unit.Finder |
| 70 | 70 | ( FindResult(..), ModuleLookupScope(..), findImportedModule )
|
| 71 | 71 | import GHC.Utils.Outputable
|
| 72 | 72 | ( text )
|
| 73 | -import Language.Haskell.Syntax.Module.Name
|
|
| 73 | +import GHC.Unit.Module.Name
|
|
| 74 | 74 | ( mkModuleName )
|
| 75 | 75 | |
| 76 | 76 | --------------------------------------------------------------------------------
|
| ... | ... | @@ -10,7 +10,7 @@ import System.Environment (getArgs) |
| 10 | 10 | import System.Exit (exitFailure)
|
| 11 | 11 | import System.IO (stderr)
|
| 12 | 12 | import System.Directory (removeFile)
|
| 13 | -import Language.Haskell.Syntax.Module.Name (moduleNameString)
|
|
| 13 | +import GHC.Unit.Module.Name (moduleNameString)
|
|
| 14 | 14 | import GHC.Utils.Ppr (Mode (PageMode))
|
| 15 | 15 | import GHC.Utils.Outputable (vcat, defaultSDocContext, printSDocLn, ppr)
|
| 16 | 16 | import GHC.Utils.Logger (getLogger)
|
| ... | ... | @@ -3,7 +3,7 @@ |
| 3 | 3 | module Main where
|
| 4 | 4 | |
| 5 | 5 | import GHC.Core.Opt.CallerCC
|
| 6 | -import Language.Haskell.Syntax.Module.Name
|
|
| 6 | +import GHC.Unit.Module.Name
|
|
| 7 | 7 | |
| 8 | 8 | deriving instance Eq CallerCcFilter
|
| 9 | 9 | deriving instance Show CallerCcFilter
|