Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
endgame opened this issue Jun 27, 2023 · 0 comments
Open

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

endgame opened this issue Jun 27, 2023 · 0 comments

Comments

@endgame
Copy link
Collaborator

endgame commented Jun 27, 2023

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'),
    |     ^^^^^^^^^^^^^^^^^^^^
@endgame endgame added this to the 2.0 milestone Jun 27, 2023
@endgame endgame removed this from the 2.0 milestone Jul 16, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant