Skip to content

Missing Js.Null.to_opt breaks backwards compatibility in 2.2 #2518

@stroiman

Description

@stroiman

After upgrading to bucklescript 2.2, I get compile errors where I use Js.Null.to_opt.

From the docs, I can see that from_opt still exists (for backwards compatibility?), https://bucklescript.github.io/bucklescript/api/Js.Null.html

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