Skip to content

Support native BigInt in ReScript v11.1.0 #3

@dsiu

Description

@dsiu

BigInt.t should be bigint in ReScript v11.1.0.

see: https://rescript-lang.org/blog/release-11-1-0
also: https://rescript-lang.org/docs/manual/latest/primitive-types#big-integers-experimental

rescript: [77/103] src/Extras__Unknown.cmi
FAILED: src/Extras__Unknown.cmi

  We've found a bug for you!
  /Users/dsiu/code/playground/rescript-extras/src/Extras__Unknown.resi:44:15-22

  42type object
  43type function
  44type bigInt = BigInt.t
  45type symbol = Symbol.t
  46This type constructor, `BigInt.t`, can't be found.
  If you wanted to write a recursive type, don't forget the `rec` in `type rec`

rescript: [93/103] tests/Extras__NonEmptyArrayTests.cmj
FAILED: cannot make progress due to previous errors.
>>>> Finish compiling (exit: 1)
error Command failed with exit code 1.
info Visit https://yarnpkg.com/en/docs/cli/run for documentation about this command.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions