Needed to apply block from safe-navigation operators; fix #3310

This commit is contained in:
Yukihiro "Matz" Matsumoto
2016-12-03 16:38:43 +09:00
parent 6b84ff4a44
commit f6d199919d
+1
View File
@@ -871,6 +871,7 @@ call_with_block(parser_state *p, node *a, node *b)
break;
case NODE_CALL:
case NODE_FCALL:
case NODE_SCALL:
n = a->cdr->cdr->cdr;
if (!n->car) n->car = cons(0, b);
else {