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

Change Fusion.doCleanup to no longer be variadic #333

Merged
merged 3 commits into from
May 12, 2024
Merged

Conversation

4812571
Copy link
Contributor

@4812571 4812571 commented May 12, 2024

There is no need for Fusion.doCleanup to accept variadic arguments anymore, as one could simply pass in a table (scope) anyways.

Fusion.doCleanup(a, b, c)

Can now be expressed as:

Fusion.doCleanup({a, b, c})

This makes the implementation and especially the typing of Fusion.doCleanup much simpler.

@dphfox
Copy link
Owner

dphfox commented May 12, 2024

Thanks for updating the docs too!

@dphfox dphfox merged commit 4bff72b into dphfox:main May 12, 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.

2 participants