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

Only allow to join actual strings with Array.joinWith #157

Merged
merged 4 commits into from
Nov 3, 2023

Conversation

fhammerschmidt
Copy link
Member

The old joinWith binding sometimes led me to write code that resulted in [object Object] which cannot happen with this stricter signature. Not sure if the unsafe variant is really needed.

@zth
Copy link
Collaborator

zth commented Nov 3, 2023

Great! Changelog and then we're good to go.

@zth zth merged commit 0e88d7e into rescript-lang:main Nov 3, 2023
3 checks passed
@fhammerschmidt fhammerschmidt deleted the join-with-unsafe branch November 3, 2023 13:29
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