Skip to content

with ghc-9.10: Couldn't match expected type ‘ArgPat’ with actual type ‘Pat’ #56

@jwaldmann

Description

@jwaldmann
fast/Data/Reflection.hs:419:15: error: [GHC-83865]
    • Couldn't match expected type ‘ArgPat’ with actual type ‘Pat’
    • In the expression: SigP WildP na
      In the first argument of ‘LamE’, namely ‘[SigP WildP na]’
      In the first argument of ‘AppE’, namely ‘LamE [SigP WildP na] body’
    |
419 |         LamE [SigP WildP na] body `AppE` a
    |               ^^^^^^^^^^^^^

see https://gitlab.haskell.org/ghc/ghc/-/blob/master/libraries/template-haskell/changelog.md?ref_type=heads#anchor-22200 ("Added new data type ArgPat with two constructors")

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions