summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorromes <rodrigo.m.mesquita@gmail.com>2022-07-05 22:04:43 +0200
committerromes <rodrigo.m.mesquita@gmail.com>2022-07-05 22:04:45 +0200
commitda2300693bb04c81fa68afe57d8a69a30b43397e (patch)
tree21ce126560795bd03ca0ea322d9f5d5755960093
parent620ee7edc931dc5273dd04880059cc9ec8d41528 (diff)
downloadhaskell-wip/romes/restore-eq-importdeclqualifiedstyle.tar.gz
Restore Eq instance of ImportDeclQualifiedStylewip/romes/restore-eq-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