ruby-deepclone
ruby-deepclone copied to clipboard
The signature of deep_clone is incorrect
https://github.com/gmodarelli/ruby-deepclone/blob/465162df3f89c816badec1a1a473e5b2da4c8ec8/ext/deep_clone/deep_clone.c#L34 https://github.com/gmodarelli/ruby-deepclone/blob/465162df3f89c816badec1a1a473e5b2da4c8ec8/ext/deep_clone/deep_clone.c#L176
So the signature of the function deep_clone doesn't match the arity given to rb_define_module_function.
It should be VALUE deep_clone(VALUE self, VALUE arg).
From https://github.com/oracle/truffleruby/issues/2073