Skip to content
This repository was archived by the owner on Feb 1, 2022. It is now read-only.
This repository was archived by the owner on Feb 1, 2022. It is now read-only.

The signature of deep_clone is incorrect #19

@eregon

Description

@eregon

rb_define_module_function(DeepClone, "clone", deep_clone, 1);

VALUE deep_clone(int argc, VALUE argv)

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 truffleruby/truffleruby#2073

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions