Skip to content

Remove meth attribute #7684

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

Merged
merged 7 commits into from
Jul 25, 2025
Merged

Remove meth attribute #7684

merged 7 commits into from
Jul 25, 2025

Conversation

shulhi
Copy link
Member

@shulhi shulhi commented Jul 20, 2025

Remove @meth attribute and it will remove the usage automatically when the formatter is run.

@shulhi shulhi force-pushed the remove-meth branch 2 times, most recently from cd49ea0 to bd837e2 Compare July 20, 2025 12:06
@cristianoc
Copy link
Collaborator

This looks fine -- notice it will conflict a couple of lines with this commit that cleans up the arity inference, and uses the existing arity instead: 8a7ac4a

That's when I noticed that @method can probably removed entirely.

@shulhi shulhi force-pushed the remove-meth branch 5 times, most recently from 6a97c31 to 6ab595d Compare July 22, 2025 11:32
@cknitt
Copy link
Member

cknitt commented Jul 24, 2025

@shulhi Could you add a CHANGELOG entry and update the analysis test snapshots?
Then it should be good to go I think.

Copy link

pkg-pr-new bot commented Jul 25, 2025

Open in StackBlitz

rescript

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

@rescript/darwin-arm64

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

@rescript/darwin-x64

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

@rescript/linux-arm64

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

@rescript/linux-x64

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

@rescript/win32-x64

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

commit: 7795a47

@cknitt cknitt marked this pull request as ready for review July 25, 2025 12:27
@cknitt cknitt merged commit b3be9aa into rescript-lang:master Jul 25, 2025
27 checks passed
@shulhi shulhi deleted the remove-meth branch July 25, 2025 12: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.

3 participants