summaryrefslogtreecommitdiff
path: root/proc.c
diff options
context:
space:
mode:
Diffstat (limited to 'proc.c')
-rw-r--r--proc.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/proc.c b/proc.c
index d0451244ce..cff8e9e7af 100644
--- a/proc.c
+++ b/proc.c
@@ -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;
}