diff options
author | Koichi Sasada <[email protected]> | 2021-12-13 02:02:41 +0900 |
---|---|---|
committer | Koichi Sasada <[email protected]> | 2021-12-13 10:23:52 +0900 |
commit | fdfb43b2b129afb78c352c95776118eeceb245a2 (patch) | |
tree | 9b06149bb01316743f685936bc7905703e41059f /proc.c | |
parent | 6659253cc6c807641e23d469b425ddcf18de7af4 (diff) |
fix Struct's setter arity
https://github.com/ruby/ruby/pull/5131/files#diff-b2553d23e6b1fe76e20608d06c25f6acca06279100f1a9c24febcd79a82fac3cR2689
Notes
Notes:
Merged: https://github.com/ruby/ruby/pull/5252
Diffstat (limited to 'proc.c')
-rw-r--r-- | proc.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -2684,7 +2684,7 @@ method_def_min_max_arity(const rb_method_definition_t *def, int *max) return 0; case OPTIMIZED_METHOD_TYPE_STRUCT_ASET: *max = 1; - return 0; + return 1; default: break; } |