Skip to content

[BUG] js_of_ocaml is not aware of the BigInt API #1168

Closed
ocaml/opam-repository
#20533
@msprotz

Description

@msprotz

Describe the bug
Spurious warnings about free variables in my overrides:

warning: free variables in primitive code "uint128_mul" (/Users/jonathan/Code/mls-proposals/_build/default/js/overrides.js:520)
vars: BigInt

Expected behavior
js_of_ocaml should have a built-in knowledge of the BigInt object, see https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/BigInt

Versions
3.9.1
4.11.1

Thanks,

Jonathan

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