diff options
author | Matthew Pickering <matthewtpickering@gmail.com> | 2021-08-23 13:30:44 +0100 |
---|---|---|
committer | Marge Bot <ben+marge-bot@smart-cactus.org> | 2021-12-03 10:12:04 -0500 |
commit | 81082cf410fdcdbf10627f5334cc1dba1a9a2e06 (patch) | |
tree | 49bb8038aab46f97ea2414ffc60652800614d4c2 /testsuite/tests/parser | |
parent | 0e274c39bf836d5bb846f5fa08649c75f85326ac (diff) | |
download | haskell-81082cf410fdcdbf10627f5334cc1dba1a9a2e06.tar.gz |
Revert "Data.List specialization to []"
This reverts commit bddecda1a4c96da21e3f5211743ce5e4c78793a2.
This implements the first step in the plan formulated in #20025 to
improve the communication and migration strategy for the proposed
changes to Data.List.
Requires changing the haddock submodule to update the test output.
Diffstat (limited to 'testsuite/tests/parser')
-rw-r--r-- | testsuite/tests/parser/should_compile/DumpSemis.hs | 2 | ||||
-rw-r--r-- | testsuite/tests/parser/should_compile/DumpSemis.stderr | 24 |
2 files changed, 22 insertions, 4 deletions
diff --git a/testsuite/tests/parser/should_compile/DumpSemis.hs b/testsuite/tests/parser/should_compile/DumpSemis.hs index 9f2f9629d8..23ccd717a3 100644 --- a/testsuite/tests/parser/should_compile/DumpSemis.hs +++ b/testsuite/tests/parser/should_compile/DumpSemis.hs @@ -2,7 +2,7 @@ module DumpSemis where -- Make sure we get all the semicolons in statements ;;;; ;; -import Data.List +import Data.List () ; ; ; import Data.Kind ; ;; diff --git a/testsuite/tests/parser/should_compile/DumpSemis.stderr b/testsuite/tests/parser/should_compile/DumpSemis.stderr index b5836252ad..8f7b2252d8 100644 --- a/testsuite/tests/parser/should_compile/DumpSemis.stderr +++ b/testsuite/tests/parser/should_compile/DumpSemis.stderr @@ -47,7 +47,7 @@ [(L (SrcSpanAnn (EpAnn (Anchor - { DumpSemis.hs:5:1-16 } + { DumpSemis.hs:5:1-19 } (UnchangedAnchor)) (AnnListItem [(AddSemiAnn @@ -57,7 +57,7 @@ ,(AddSemiAnn (EpaSpan { DumpSemis.hs:6:5 }))]) (EpaComments - [])) { DumpSemis.hs:5:1-16 }) + [])) { DumpSemis.hs:5:1-19 }) (ImportDecl (EpAnn (Anchor @@ -82,7 +82,25 @@ (NotQualified) (False) (Nothing) - (Nothing))) + (Just + ((,) + (False) + (L + (SrcSpanAnn (EpAnn + (Anchor + { DumpSemis.hs:5:18-19 } + (UnchangedAnchor)) + (AnnList + (Nothing) + (Just + (AddEpAnn AnnOpenP (EpaSpan { DumpSemis.hs:5:18 }))) + (Just + (AddEpAnn AnnCloseP (EpaSpan { DumpSemis.hs:5:19 }))) + [] + []) + (EpaComments + [])) { DumpSemis.hs:5:18-19 }) + []))))) ,(L (SrcSpanAnn (EpAnn (Anchor |