Skip to content

Renamed ES exports aren't found by compiler #4264

@JordanMartinez

Description

@JordanMartinez

EDIT: false alarm. The FFI needed to be exported in a different manner due to the use of special keywords;

Description

The compiler seems to have an issue with the following ES module export:

export {NaN as nan};
export {Infinity as infinity};
foreign import nan :: Number
foreign import infinity :: Number

See:

PureScript version

0.15.0-alpha-02

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions