diff options
author | David Feuer <david.feuer@gmail.com> | 2017-04-01 11:12:31 -0400 |
---|---|---|
committer | David Feuer <David.Feuer@gmail.com> | 2017-04-01 11:20:49 -0400 |
commit | 83ac462449d9365ebd8b51f252f9cf81b35f119d (patch) | |
tree | be3b6cf4743fa9b6a93eebc0438dff0fb0963218 /testsuite | |
parent | 616a3b49f085c01ff676424a1c3297ce0888e7ae (diff) | |
download | haskell-83ac462449d9365ebd8b51f252f9cf81b35f119d.tar.gz |
Don't derive showList
There's no obvious reason to derive the definition of `showList`,
manually inlining the default definition. Let's just use
the default definition in the usual manner.
Garbage collect a few unused `RdrNames` from `PrelNames`:
`showList`, `showList__`, and `/=`.
Reviewers: austin, bgamari
Reviewed By: bgamari
Subscribers: RyanGlScott, rwbarton, thomie
Differential Revision: https://phabricator.haskell.org/D3403
Diffstat (limited to 'testsuite')
-rw-r--r-- | testsuite/tests/deriving/should_compile/drv-empty-data.stderr | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/testsuite/tests/deriving/should_compile/drv-empty-data.stderr b/testsuite/tests/deriving/should_compile/drv-empty-data.stderr index 502ba6c572..47d5a984ab 100644 --- a/testsuite/tests/deriving/should_compile/drv-empty-data.stderr +++ b/testsuite/tests/deriving/should_compile/drv-empty-data.stderr @@ -9,7 +9,6 @@ Derived class instances: instance GHC.Show.Show (DrvEmptyData.Void a) where GHC.Show.showsPrec _ = GHC.Err.error "Void showsPrec" - GHC.Show.showList = GHC.Show.showList__ (GHC.Show.showsPrec 0) instance GHC.Classes.Ord (DrvEmptyData.Void a) where GHC.Classes.compare _ _ = GHC.Err.error "Void compare" |