aboutsummaryrefslogtreecommitdiffstats
path: root/iseq.c
diff options
context:
space:
mode:
Diffstat (limited to 'iseq.c')
-rw-r--r--iseq.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/iseq.c b/iseq.c
index abb0f37b98..873aeae864 100644
--- a/iseq.c
+++ b/iseq.c
@@ -2322,7 +2322,7 @@ iseqw_s_of(VALUE klass, VALUE body)
if (rb_obj_is_proc(body)) {
iseq = vm_proc_iseq(body);
- if (rb_obj_is_iseq((VALUE)iseq)) {
+ if (rb_obj_is_iseq((VALUE)iseq)) {
return iseqw_new(iseq);
}
else {