Skip to content

8.0.0-dev.1: bs.inline for floats #4426

@cknitt

Description

@cknitt

@bobzhang In BS7, the following worked:

[@bs.inline]
let x = 42.;

In BS8, it does not work anymore, I get the error message

  invalid payload in bs.inline

Revisiting the original issue, I found that you were saying "currently support bs.inline for boolean/int/string" (#3472 (comment)).

So it seems this was only working for floats "by coincidence" in BS7. Still, would be nice to have it in BS8.

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