You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
We are trying to upgrade our Haskell project from GHC 9.6.4 to GHC 9.8.2 and we are currently facing this error:
gen/Amazonka/SSO/Types.hs:42:5: error: [GHC-97219]
Duplicate record field ‘accountId’ in export list:
‘RoleInfo(..)’ exports the field ‘accountId’
belonging to the constructor ‘RoleInfo'’
imported from ‘Amazonka.SSO.Types.RoleInfo’ at gen/Amazonka/SSO/Types.hs:54:1-34
(and originally defined
at gen/Amazonka/SSO/Types/RoleInfo.hs:32:5-13)
‘AccountInfo(..)’ exports the field ‘accountId’
belonging to the constructor ‘AccountInfo'’
imported from ‘Amazonka.SSO.Types.AccountInfo’ at gen/Amazonka/SSO/Types.hs:52:1-37
(and originally defined
at gen/Amazonka/SSO/Types/AccountInfo.hs:32:5-13)
Suggested fix: Perhaps you intended to use DuplicateRecordFields
|
42 | RoleInfo (..),
| ^^^^^^^^^^^^^
I have tested both with amazonka versions 2.0 and the current master (85e0289).
I have found #969 which may or may not be related.
In doubt, I preferred creating another issue.
In case it is relevant:
the build uses Nix and Cabal2nix
we use Nixpkgs at revision cfd6b5fc90b15709b780a5a1619695a88505a176
the Nix overrides to build against the master branch are:
Thank you for your report. Yes, this is a duplicate of #969 - GHC 9.8 changed where you have to put the {-# LANGUAGE DuplicateRecordFields #-} pragmas. PR #973 has a regeneration of all services which does not have this problem. I haven't yet got to merging it because I have to revise the upper bounds on all currently release packages on Hackage first.
Hello,
We are trying to upgrade our Haskell project from GHC 9.6.4 to GHC 9.8.2 and we are currently facing this error:
I have tested both with amazonka versions
2.0
and the currentmaster
(85e0289).I have found #969 which may or may not be related.
In doubt, I preferred creating another issue.
In case it is relevant:
cfd6b5fc90b15709b780a5a1619695a88505a176
master
branch are:The text was updated successfully, but these errors were encountered: