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

Refactor TYPEOF to enum-style #224

Merged
merged 7 commits into from
Apr 22, 2024
Merged

Refactor TYPEOF to enum-style #224

merged 7 commits into from
Apr 22, 2024

Conversation

CGMossa
Copy link
Member

@CGMossa CGMossa commented Apr 21, 2024

Replacing #210, #211 and #207. The git churn was getting out of hand.

This PR unifies TYPEOF output to a SEXTYPE, where now, SEXPTYPE is an enum.
Furthermore

  • Update bindings
  • Update test.yml's download-action (download-artifact) to use latest version

@CGMossa CGMossa changed the title Refactor typeof Refactor TYPEOF to enum-style Apr 21, 2024
@yutannihilation
Copy link
Contributor

Shouldn't this be #[non_exhaustive]?

@CGMossa
Copy link
Member Author

CGMossa commented Apr 22, 2024

Shouldn't this be #[non_exhaustive]?

I never know. I can make it so 😂

@CGMossa CGMossa requested a review from Ilia-Kosenkov April 22, 2024 05:33
@CGMossa
Copy link
Member Author

CGMossa commented Apr 22, 2024

Shouldn't this be #[non_exhaustive]?

Done! Feel free to review this PR, as that would be very good for me 😆

Copy link
Member

@Ilia-Kosenkov Ilia-Kosenkov left a comment

Choose a reason for hiding this comment

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

LGTM, makes API much easier to understand & handle!

@CGMossa CGMossa merged commit 0ccbfec into master Apr 22, 2024
@yutannihilation
Copy link
Contributor

I think this is a breaking change. Do you have any plan to reflect the necessary changes to extendr?

@CGMossa CGMossa deleted the refactor_typeof branch April 22, 2024 12:05
@CGMossa
Copy link
Member Author

CGMossa commented Apr 22, 2024

Yes! And I'm going to do it very soon.

@yutannihilation
Copy link
Contributor

Great.

@CGMossa CGMossa mentioned this pull request May 10, 2024
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