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

Fix max arity for methods and functions #141

Merged
merged 1 commit into from
Feb 23, 2025
Merged

Conversation

ankane
Copy link
Contributor

@ankane ankane commented Feb 18, 2025

Currently, Magnus compiles methods and functions with an arity of 16, but when the extension is loaded in Ruby, it errors with:

lib/ruby/3.4.0/bundled_gems.rb:82:in 'Kernel.require': arity out of range: 16 for -2..15 (ArgumentError)

@matsadler matsadler merged commit 548a394 into matsadler:main Feb 23, 2025
43 checks passed
@matsadler
Copy link
Owner

Oof, how did I miss this? Thanks for the fix.

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