Issue #6724 has been updated by nobu (Nobuyoshi Nakada).

Tracker changed from Feature to Bug
Subject changed from waaaaaaant! ( to waaaaaaant! (ISeq.load)


----------------------------------------
Bug #6724: waaaaaaant! (ISeq.load)
https://bugs.ruby-lang.org/issues/6724#change-27964

Author: zenspider (Ryan Davis)
Status: Open
Priority: Normal
Assignee: ko1 (Koichi Sasada)
Category: 
Target version: 
ruby -v: 


GIMME GIMME GIMME! waaaaaant... We don't _need_ a verifier. User responsibility... etc etc.


Can I commit this??? PLEEEEEEASE???

Index: iseq.c
===================================================================
--- iseq.c	(revision 36369)
+++ iseq.c	(working copy)
@@ -1585,9 +1585,7 @@
     rb_define_method(rb_cISeq, "marshal_load", iseq_marshal_load, 1);
 #endif
 
-    /* disable this feature because there is no verifier. */
-    /* rb_define_singleton_method(rb_cISeq, "load", iseq_s_load, -1); */
-    (void)iseq_s_load;
+    rb_define_singleton_method(rb_cISeq, "load", iseq_s_load, -1);
 
     rb_define_singleton_method(rb_cISeq, "compile", iseq_s_compile, -1);
     rb_define_singleton_method(rb_cISeq, "new", iseq_s_compile, -1);



-- 
http://bugs.ruby-lang.org/