Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

Fix signature for Array.splice#216

Open
bloodyowl wants to merge 1 commit intorescript-lang:mainrescript-lang/rescript-core:mainfrom
bloodyowl:splice-fix-signaturebloodyowl/rescript-core:splice-fix-signatureCopy head branch name to clipboard
Open

Fix signature for Array.splice#216
bloodyowl wants to merge 1 commit intorescript-lang:mainrescript-lang/rescript-core:mainfrom
bloodyowl:splice-fix-signaturebloodyowl/rescript-core:splice-fix-signatureCopy head branch name to clipboard

Conversation

@bloodyowl
Copy link
Contributor

No description provided.

@leoliu
Copy link

leoliu commented Feb 25, 2025

Consistency with JS would be nice.

@fhammerschmidt
Copy link
Member

Ah I think we tried to return unit for mutating methods, but splice is a bit special since it returns the other half of the array.
@zth WDYT?

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

Morty Proxy This is a proxified and sanitized view of the page, visit original site.