summaryrefslogtreecommitdiff
path: root/libraries/base
diff options
context:
space:
mode:
Diffstat (limited to 'libraries/base')
-rw-r--r--libraries/base/Data/Typeable/Internal.hs4
-rw-r--r--libraries/base/GHC/OverloadedLabels.hs2
-rw-r--r--libraries/base/GHC/Ptr.hs2
-rw-r--r--libraries/base/GHC/Read.hs2
-rw-r--r--libraries/base/Unsafe/Coerce.hs2
5 files changed, 6 insertions, 6 deletions
diff --git a/libraries/base/Data/Typeable/Internal.hs b/libraries/base/Data/Typeable/Internal.hs
index 4ccbd5fd52..274efb8ade 100644
--- a/libraries/base/Data/Typeable/Internal.hs
+++ b/libraries/base/Data/Typeable/Internal.hs
@@ -934,7 +934,7 @@ mkTyCon# pkg modl name n_kinds kind_rep
(unpackCStringUtf8# name)
-- it is extremely important that this fingerprint computation
--- remains in sync with that in TcTypeable to ensure that type
+-- remains in sync with that in GHC.Tc.Instance.Typeable to ensure that type
-- equality is correct.
-- | Exquisitely unsafe.
@@ -954,7 +954,7 @@ mkTyCon pkg modl name (I# n_kinds) kind_rep
fingerprint :: Fingerprint
fingerprint = mkTyConFingerprint pkg modl name
--- This must match the computation done in TcTypeable.mkTyConRepTyConRHS.
+-- This must match the computation done in GHC.Tc.Instance.Typeable.mkTyConRepTyConRHS.
mkTyConFingerprint :: String -- ^ package name
-> String -- ^ module name
-> String -- ^ tycon name
diff --git a/libraries/base/GHC/OverloadedLabels.hs b/libraries/base/GHC/OverloadedLabels.hs
index df0cde2f57..576c01ce9d 100644
--- a/libraries/base/GHC/OverloadedLabels.hs
+++ b/libraries/base/GHC/OverloadedLabels.hs
@@ -42,7 +42,7 @@
-- optional id for the 'fromLabel' function to use (if
-- RebindableSyntax is enabled) . The type-checker transforms it into
-- a call to 'fromLabel'. See Note [Type-checking overloaded labels]
--- in TcExpr for more details in how type-checking works.
+-- in GHC.Tc.Gen.Expr for more details in how type-checking works.
module GHC.OverloadedLabels
( IsLabel(..)
diff --git a/libraries/base/GHC/Ptr.hs b/libraries/base/GHC/Ptr.hs
index 808dabe11b..00e226bbb3 100644
--- a/libraries/base/GHC/Ptr.hs
+++ b/libraries/base/GHC/Ptr.hs
@@ -91,7 +91,7 @@ minusPtr (Ptr a1) (Ptr a2) = I# (minusAddr# a1 a2)
-- 'FunPtr' has a phantom role for similar reasons to 'Ptr'. Note
-- that 'FunPtr's role cannot become nominal without changes elsewhere
--- in GHC. See Note [FFI type roles] in TcForeign.
+-- in GHC. See Note [FFI type roles] in GHC.Tc.Gen.Foreign.
type role FunPtr phantom
data FunPtr a = FunPtr Addr# deriving (Eq, Ord)
-- ^ A value of type @'FunPtr' a@ is a pointer to a function callable
diff --git a/libraries/base/GHC/Read.hs b/libraries/base/GHC/Read.hs
index 14e4a9b7e2..1057300c28 100644
--- a/libraries/base/GHC/Read.hs
+++ b/libraries/base/GHC/Read.hs
@@ -411,7 +411,7 @@ readSymField fieldName readVal = do
-- Note [Why readField]
--
-- Previously, the code for automatically deriving Read instance (in
--- typecheck/TcGenDeriv.hs) would generate inline code for parsing fields;
+-- typecheck/GHC.Tc.Deriv.Generate.hs) would generate inline code for parsing fields;
-- this, however, turned out to produce massive amounts of intermediate code,
-- and produced a considerable performance hit in the code generator.
-- Since Read instances are not generally supposed to be performance critical,
diff --git a/libraries/base/Unsafe/Coerce.hs b/libraries/base/Unsafe/Coerce.hs
index bad2e5bea6..cc230facbe 100644
--- a/libraries/base/Unsafe/Coerce.hs
+++ b/libraries/base/Unsafe/Coerce.hs
@@ -207,7 +207,7 @@ There are yet more wrinkles
care about fast execution, but (annoyingly) we /do/ care about the
GHCi debugger, and GHCi itself uses unsafeCoerce.
- Moreover, in TcRnDriver.tcGhciStmts we use unsafeCoerce#, rather
+ Moreover, in GHC.Tc.Module.tcGhciStmts we use unsafeCoerce#, rather
than the more kosher unsafeCoerce, becuase (with -O0) the latter
may not be inlined.