summaryrefslogtreecommitdiff
path: root/eval.c
diff options
context:
space:
mode:
Diffstat (limited to 'eval.c')
-rw-r--r--eval.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/eval.c b/eval.c
index 0a0eb12f02..498182de1d 100644
--- a/eval.c
+++ b/eval.c
@@ -4029,7 +4029,7 @@ massign(self, node, val, pcall)
len = RARRAY(val)->len;
list = node->nd_head;
- if (len == 1 && list && (!pcall || list->nd_next || node->nd_args)) {
+ if (len == 1 && list) {
VALUE v = RARRAY(val)->ptr[0];
tmp = rb_check_array_type(v);