Skip to content

fix JSBigInt payload type #6911

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

Merged
merged 3 commits into from
Jul 25, 2024

Conversation

cometkim
Copy link
Member

Currently its payload isn't useful, because the bigint_val is opaque (by resi)

@cometkim cometkim requested review from cristianoc and mununki July 24, 2024 19:34
Copy link
Collaborator

@cristianoc cristianoc left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Are there any possible breaking changes here?

@cometkim
Copy link
Member Author

cometkim commented Jul 24, 2024

Are there any possible breaking changes here?

Only if someone is directly reference the Js.bigint_val type. but I don't think there's any case...

It was introduced directly by myself in #5351 , and as far as I know I am the only user. This is not very practical since there was no bigint support, and always involves a coercion to %identity.

@cometkim
Copy link
Member Author

Or we can just leave type bigint_val = bigint there without any references

Copy link
Collaborator

@cristianoc cristianoc left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Go ahead once CI is fixed.

Copy link
Member

@mununki mununki left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looking great.

@cometkim cometkim force-pushed the classify-bigint-value branch from a4dd3f6 to 8322b2b Compare July 25, 2024 00:51
@cometkim cometkim enabled auto-merge (squash) July 25, 2024 00:56
@cometkim cometkim merged commit 44c0c27 into rescript-lang:master Jul 25, 2024
18 checks passed
@cometkim cometkim deleted the classify-bigint-value branch July 25, 2024 00:59
cknitt pushed a commit to cknitt/rescript that referenced this pull request Jul 26, 2024
cknitt pushed a commit to cknitt/rescript that referenced this pull request Jul 26, 2024
cknitt pushed a commit to cknitt/rescript that referenced this pull request Jul 26, 2024
cknitt pushed a commit to cknitt/rescript that referenced this pull request Jul 26, 2024
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 this pull request may close these issues.

3 participants