Skip to content

Conversation

cknitt
Copy link
Member

@cknitt cknitt commented Sep 10, 2025

Removes Ocaml_* compatibility modules used in tests, replacing their usage with equivalent stdlib calls.


function fff(x) {
return true;
return x.length >= 0;
Copy link
Member Author

Choose a reason for hiding this comment

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

This change is interesting. Will make a separate PR regarding that.


function fff3(x) {
return 1;
if (x.length >= 0) {
Copy link
Member Author

Choose a reason for hiding this comment

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

Same here

Copy link

pkg-pr-new bot commented Sep 10, 2025

Open in StackBlitz

rescript

npm i https://pkg.pr.new/rescript-lang/rescript@7871

@rescript/darwin-arm64

npm i https://pkg.pr.new/rescript-lang/rescript/@rescript/darwin-arm64@7871

@rescript/darwin-x64

npm i https://pkg.pr.new/rescript-lang/rescript/@rescript/darwin-x64@7871

@rescript/linux-arm64

npm i https://pkg.pr.new/rescript-lang/rescript/@rescript/linux-arm64@7871

@rescript/linux-x64

npm i https://pkg.pr.new/rescript-lang/rescript/@rescript/linux-x64@7871

@rescript/runtime

npm i https://pkg.pr.new/rescript-lang/rescript/@rescript/runtime@7871

@rescript/win32-x64

npm i https://pkg.pr.new/rescript-lang/rescript/@rescript/win32-x64@7871

commit: f1b2c99

@cknitt cknitt merged commit 6f423e4 into rescript-lang:master Sep 10, 2025
25 checks passed
@cknitt cknitt deleted the no-ocaml-compat branch September 10, 2025 15:49
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.

2 participants