fmidue / haskell-template-task

Other
0 stars 0 forks source link

cannot build with ghc-9: Couldn't match type: b0 -> M b0 ... #3

Closed jwaldmann closed 1 year ago

jwaldmann commented 2 years ago
haskell-template-task                 > /tmp/stack-226ad14f88690e22/haskell-template-task-0.1.0.0/src/Haskell/Template/Match.hs:287:27: error:
haskell-template-task                 >     • Couldn't match type: b0 -> M b0
haskell-template-task                 >                      with: forall a2. Data a2 => a2 -> M a2
haskell-template-task                 >       Expected: a1 -> GenericM M
haskell-template-task                 >         Actual: a1 -> b0 -> M b0

the declared type of match needs to be changed, see https://gitlab.imn.htwk-leipzig.de/waldmann/cyp/-/commit/8ac70c386076c129eaaa4e969aac2024ddd57f53#f89954718b651acc4db64c0b7136d0febd6c068f

marcellussiegburg commented 1 year ago

Fixed by 2f485ea0f144844777688adc85aa846307ee0935