summaryrefslogtreecommitdiff
path: root/testsuite/tests/th/T10828b.hs
diff options
context:
space:
mode:
Diffstat (limited to 'testsuite/tests/th/T10828b.hs')
-rw-r--r--testsuite/tests/th/T10828b.hs3
1 files changed, 1 insertions, 2 deletions
diff --git a/testsuite/tests/th/T10828b.hs b/testsuite/tests/th/T10828b.hs
index 36e91eb11a..4ea4d82f9c 100644
--- a/testsuite/tests/th/T10828b.hs
+++ b/testsuite/tests/th/T10828b.hs
@@ -4,7 +4,6 @@ module T10828b where
import Language.Haskell.TH
import System.IO
-import qualified Data.List.NonEmpty as NE ( singleton )
-- attempting to mix GADT and normal constructors
$( return
@@ -24,7 +23,7 @@ $( return
[AppT (AppT EqualityT (VarT $ mkName "a" ) )
(ConT $ mkName "Int") ] $
RecGadtC
- (NE.singleton (mkName "MkC"))
+ [mkName "MkC"]
[ ( mkName "foo"
, Bang NoSourceUnpackedness NoSourceStrictness
, VarT (mkName "a")