Skip to content

Foreign pointer declaration produces helper function without type signature, producing warning with -Wall #44

Closed
@ian-ross

Description

@ian-ross

Bug imported from C2HS Trac

Trac ticket created: 2012-07-04T00:07:26-0700


When given a pointer declaration for a foreign pointer, such as:

{# pointer *foo as ^ foreign newtype #}

c2hs produces a helper function withFoo, without a type signature. This causes GHC with -Wall to produce a warning message, "Warning: Top-level binding with no type signature".

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions