brendanhay / amazonka

A comprehensive Amazon Web Services SDK for Haskell.
https://amazonka.brendanhay.nz
Other
605 stars 226 forks source link

amazonka-codeguru-security: Clash on type name `FilePath` #916

Open endgame opened 1 year ago

endgame commented 1 year ago
gen/Amazonka/CodeGuruSecurity.hs:174:5: error:
    • The type constructor ‘Prelude.FilePath’ is not the parent of the data constructor ‘FilePath'’.
      Data constructors can only be exported with their parent type constructor.
      Parent: Amazonka.CodeGuruSecurity.Types.FilePath
    • In the export: FilePath(FilePath')
    |
174 |     FilePath (FilePath'),
    |     ^^^^^^^^^^^^^^^^^^^^

gen/Amazonka/CodeGuruSecurity.hs:174:5: error:
    • Ambiguous occurrence ‘FilePath’
      It could refer to
         either ‘Prelude.FilePath’,
                imported from ‘Prelude’ at gen/Amazonka/CodeGuruSecurity.hs:24:8-32
                (and originally defined in ‘GHC.IO’)
             or ‘Amazonka.CodeGuruSecurity.Types.FilePath’,
                imported from ‘Amazonka.CodeGuruSecurity.Types’ at gen/Amazonka/CodeGuruSecurity.hs:239:1-38
                (and originally defined in ‘Amazonka.CodeGuruSecurity.Types.FilePath’
                   at gen/Amazonka/CodeGuruSecurity/Types/FilePath.hs:(32,1)-(47,68))
    • In the export: FilePath(FilePath')
    |
174 |     FilePath (FilePath'),
    |     ^^^^^^^^^^^^^^^^^^^^