Skip to content

[fork-ffi] purescript-lua-numbers: Format.lua uses unbound number instead of n #58

@Unisay

Description

@Unisay

Tracking entry (detail in the package repo).

Data/Number/Format.lua passed an unbound number to string.format while the bound arg is n, so toPrecision/toFixed/toExponential resolved to a nil global and broke all toStringWith-based formatting. Caught by luacheck --std min src/.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions