Skip to content

Remove unnecessary deriving Typeable from generated Haskell code #503

@MatthewDaggitt

Description

@MatthewDaggitt

BNFC currently generates deriving (C.Typeable) clauses, but since GHC 7.10 all instances of Typeable are autoderived.

Recent versions of GHC have now started warning about this.

It looks like BNFC only supports GHC 8.10 and later so these deriving statements should probably be removed?

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions