diff --git a/doctest.cabal b/doctest.cabal
--- a/doctest.cabal
+++ b/doctest.cabal
@@ -1,5 +1,5 @@
 name:             doctest
-version:          0.9.4.1
+version:          0.9.5
 synopsis:         Test interactive Haskell examples
 description:      The doctest program checks examples in source code comments.
                   It is modeled after doctest for Python
diff --git a/src/Extract.hs b/src/Extract.hs
--- a/src/Extract.hs
+++ b/src/Extract.hs
@@ -191,6 +191,9 @@
 #if __GLASGOW_HASKELL__ >= 706
   -- hswb_kvs and hswb_tvs may be error thunks
   `extQ` (ignore :: Selector (HsWithBndrs [LHsType RdrName]))
+  `extQ` (ignore :: Selector (HsWithBndrs [LHsType Name]))
+  `extQ` (ignore :: Selector (HsWithBndrs (LHsType RdrName)))
+  `extQ` (ignore :: Selector (HsWithBndrs (LHsType Name)))
 #endif
   )
   where
