Skip to content

Unnecessary constraint in generated SafeCopy instance #46

@ddssff

Description

@ddssff

The Proxy type in Data.Proxy looks like

data Proxy t = Proxy

It has a type parameter t, but no actual data of that type. However, the SafeCopy instance that deriveSafeCopy generates has the unnecessary constraint

instance SafeCopy t => SafeCopy (Proxy t) where...

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions