summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorromes <rodrigo.m.mesquita@gmail.com>2022-07-05 22:04:43 +0200
committerMarge Bot <ben+marge-bot@smart-cactus.org>2022-07-06 01:36:23 -0400
commit86ced2ad8cf6fa1d829b2eea0d2dcbc049bc4a6d (patch)
tree29f5a9aa9d8927a2a26ea15cb574c9810557b045
parentc95c20267c54363751e03dfcbba2e4f5b1167572 (diff)
downloadhaskell-86ced2ad8cf6fa1d829b2eea0d2dcbc049bc4a6d.tar.gz
Restore Eq instance of ImportDeclQualifiedStyle
Fixes #21819
-rw-r--r--compiler/Language/Haskell/Syntax/ImpExp.hs2
1 files changed, 1 insertions, 1 deletions
diff --git a/compiler/Language/Haskell/Syntax/ImpExp.hs b/compiler/Language/Haskell/Syntax/ImpExp.hs
index b31c417936..fcb8ede0e7 100644
--- a/compiler/Language/Haskell/Syntax/ImpExp.hs
+++ b/compiler/Language/Haskell/Syntax/ImpExp.hs
@@ -39,7 +39,7 @@ data ImportDeclQualifiedStyle
= QualifiedPre -- ^ 'qualified' appears in prepositive position.
| QualifiedPost -- ^ 'qualified' appears in postpositive position.
| NotQualified -- ^ Not qualified.
- deriving Data
+ deriving (Eq, Data)
-- | Indicates whether a module name is referring to a boot interface (hs-boot
-- file) or regular module (hs file). We need to treat boot modules specially