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
I had to disable a lot of the amazonka packages when upgrading Nightly to GHC 9.8.1 because all of them had errors similar to this one:
/home/curators/work/unpack-dir/unpacked/amazonka-devops-guru-2.0-9ed82fecbe49299e09b98b6af706ccbf342ca8ba08b152f5600b63a9f22e7a11/gen/Amazonka/DevOpsGuru/Types.hs:426:5: error: [GHC-97219]
Duplicate record field 'endTime' in export list:
'PredictionTimeRange(..)' exports the field 'endTime'
belonging to the constructor 'PredictionTimeRange'’
imported from 'Amazonka.DevOpsGuru.Types.PredictionTimeRange' at gen/Amazonka/DevOpsGuru/Types.hs:823:1-52
'AnomalyTimeRange(..)' exports the field 'endTime'
belonging to the constructor 'AnomalyTimeRange'’
imported from 'Amazonka.DevOpsGuru.Types.AnomalyTimeRange' at gen/Amazonka/DevOpsGuru/Types.hs:764:1-49
Suggested fix: Perhaps you intended to use DuplicateRecordFields
|
426 | PredictionTimeRange (..),
| ^^^^^^^^^^^^^^^^^^^^^^^^
If only curator supported assigning a revision that isn't necessarily the 0th (which it doesn't), then we could just take the revision that allows GHC 9.8 and use no-revisions to ignore the revision banning 9.8 and then use configure-args to set DuplicateRecordFields. But because nightly has crypton-1.0, which wasn't allowed in revision 0, it wouldn't work.
I had to disable a lot of the
amazonka
packages when upgrading Nightly to GHC 9.8.1 because all of them had errors similar to this one:cc @brendanhay
The text was updated successfully, but these errors were encountered: