Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Support native BigInt in ReScript v11.1.0 #3

Open
dsiu opened this issue Apr 21, 2024 · 0 comments · May be fixed by #4
Open

Support native BigInt in ReScript v11.1.0 #3

dsiu opened this issue Apr 21, 2024 · 0 comments · May be fixed by #4

Comments

@dsiu
Copy link

dsiu commented Apr 21, 2024

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.
@dsiu dsiu linked a pull request Apr 21, 2024 that will close this issue
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant