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

Compilation failure with aeson-2 #5593

Closed
andreasabel opened this issue Oct 11, 2021 · 0 comments · Fixed by #5595
Closed

Compilation failure with aeson-2 #5593

andreasabel opened this issue Oct 11, 2021 · 0 comments · Fixed by #5595
Assignees
Labels
build-failure Failures while compiling Agda itself with a specific configuration
Milestone

Comments

@andreasabel
Copy link
Member

To stay in Stackage, we need to upgrade to aeson-2.
Currently, this produces a build failure, so we cannot simply relax the upper bound.

[332 of 404] Compiling Agda.Interaction.JSON ( src/full/Agda/Interaction/JSON.hs, /Users/abel/agda-erasure/dist-newstyle/build/x86_64-osx/ghc-9.0.1/Agda-2.6.3/build/Agda/Interaction/JSON.o, /Users/abel/agda-erasure/dist-newstyle/build/x86_64-osx/ghc-9.0.1/Agda-2.6.3/build/Agda/Interaction/JSON.dyn_o ) [Data.Aeson.Types changed]

src/full/Agda/Interaction/JSON.hs:47:10: error:
    • Couldn't match expected type ‘Key’ with actual type ‘Text’
    • In the first argument of ‘(.=)’, namely ‘key’
      In the second argument of ‘($)’, namely ‘key .= toJSON value’
      In a stmt of a 'do' block: pure $ key .= toJSON value
   |
47 |   pure $ key .= toJSON value
   |          ^^^
@andreasabel andreasabel added the build-failure Failures while compiling Agda itself with a specific configuration label Oct 11, 2021
@andreasabel andreasabel added this to the 2.6.2.1 milestone Oct 11, 2021
@andreasabel andreasabel mentioned this issue Oct 11, 2021
5 tasks
@andreasabel andreasabel self-assigned this Oct 11, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
build-failure Failures while compiling Agda itself with a specific configuration
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant