diff options
Diffstat (limited to 'testsuite/tests/deriving/should_compile')
-rw-r--r-- | testsuite/tests/deriving/should_compile/deriving-1935.hs | 2 | ||||
-rw-r--r-- | testsuite/tests/deriving/should_compile/drv003.hs | 2 | ||||
-rw-r--r-- | testsuite/tests/deriving/should_compile/drv015.hs | 2 |
3 files changed, 3 insertions, 3 deletions
diff --git a/testsuite/tests/deriving/should_compile/deriving-1935.hs b/testsuite/tests/deriving/should_compile/deriving-1935.hs index add1f73590..d33b21af13 100644 --- a/testsuite/tests/deriving/should_compile/deriving-1935.hs +++ b/testsuite/tests/deriving/should_compile/deriving-1935.hs @@ -1,7 +1,7 @@ {-# OPTIONS_GHC -XDeriveDataTypeable #-} -- #1935 --- See Note [Superclasses of derived instance] in TcDeriv +-- See Note [Superclasses of derived instance] in GHC.Tc.Deriv {-# OPTIONS -fno-warn-redundant-constraints #-} diff --git a/testsuite/tests/deriving/should_compile/drv003.hs b/testsuite/tests/deriving/should_compile/drv003.hs index 6fdd763f84..13852c2294 100644 --- a/testsuite/tests/deriving/should_compile/drv003.hs +++ b/testsuite/tests/deriving/should_compile/drv003.hs @@ -1,6 +1,6 @@ {-# OPTIONS -fno-warn-redundant-constraints #-} --- !!! This is the example given in TcDeriv +-- !!! This is the example given in GHC.Tc.Deriv -- module ShouldSucceed where diff --git a/testsuite/tests/deriving/should_compile/drv015.hs b/testsuite/tests/deriving/should_compile/drv015.hs index f76da45552..ea79179e68 100644 --- a/testsuite/tests/deriving/should_compile/drv015.hs +++ b/testsuite/tests/deriving/should_compile/drv015.hs @@ -4,7 +4,7 @@ -- instance (Show (f a), Show (g a)) => Show (Pair1 f g a) -- and that is not Haskell 98. -- --- See Note [Exotic derived instance contexts] in TcSimplify. +-- See Note [Exotic derived instance contexts] in GHC.Tc.Solver. -- The rule is simple: the context of a derived instance decl must -- contain constraints of form (C tyvar) only, just as H98. |