Skip to content

Update Js.String[2].match_ return type #559

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

Conversation

weakish
Copy link
Contributor

@weakish weakish commented Sep 18, 2022

Also update test example script to test against rescript 10.0.0.
Otherwise, npm test will not pass since updated code samples require rescript 10.0.0.

close #551

`Js.String2.match_` and `Js.String.match_` return type was changed
in rescript-lang/rescript#5070 and released on 10.0.0.

This commit updates the API documentation.

close rescript-lang#551
`/** */` is considered as doc comment now.
The old example just uses it as multi-line comments for print output.
Thus, I change it to `/* */` instead.
Copy link
Contributor

@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.

Thanks!

@cristianoc cristianoc merged commit 494ac01 into rescript-lang:master Sep 18, 2022
@weakish weakish deleted the doc-js-string2-match-return-type-update branch September 18, 2022 10:55
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.

Document API change in ReScript 10.0.0
2 participants