aboutsummaryrefslogtreecommitdiffstats
path: root/iseq.c
diff options
context:
space:
mode:
Diffstat (limited to 'iseq.c')
-rw-r--r--iseq.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/iseq.c b/iseq.c
index 28c1a39f98..967b142425 100644
--- a/iseq.c
+++ b/iseq.c
@@ -1285,6 +1285,9 @@ simple_default_value(const VALUE *seq, const VALUE *eseq)
case BIN(putnil):
val = Qnil;
goto got;
+ case BIN(putstring):
+ val = rb_str_new3(*seq++);
+ goto got;
case BIN(putobject):
val = *seq++;
got: