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

Use is_prefix which is available in OCaml 4.10 #387

Merged

Conversation

Leonidas-from-XIV
Copy link
Member

#381 introduced an additional check, but unfortunately String.starts_with was only added in OCaml 4.13. This PR uses an equivalent function from Base that is available in OCaml 4.10.

@Leonidas-from-XIV Leonidas-from-XIV added the no changelog Add this label to PRs without user facing changes to disable CI changelog checks label Apr 28, 2023
@Leonidas-from-XIV
Copy link
Member Author

It's a bit sad the OCaml-CI either runs only a locked monorepo build but not the regular one in addition, which would make it easier to spot minor issues like this. Maybe worth raising an issue.

@Leonidas-from-XIV Leonidas-from-XIV merged commit fee4252 into tarides:main May 1, 2023
@Leonidas-from-XIV Leonidas-from-XIV deleted the backport-starts-with branch May 1, 2023 07:54
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
no changelog Add this label to PRs without user facing changes to disable CI changelog checks
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants