We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent be45825 commit a658ebdCopy full SHA for a658ebd
ChangeLog
@@ -1,3 +1,7 @@
1
+Wed Mar 16 22:20:25 2005 Hirokazu Yamamoto <ocean@m2.ccsnet.ne.jp>
2
+
3
+ * object.c (str_to_id): fixed typo.
4
5
Wed Mar 16 18:08:32 2005 Yukihiro Matsumoto <matz@ruby-lang.org>
6
7
* eval.c (rb_call0): reorganize "return" event post.
object.c
@@ -1644,7 +1644,7 @@ str_to_id(str)
1644
rb_raise(rb_eArgError, "empty symbol string");
1645
}
1646
if (RSTRING(str)->len != strlen(RSTRING(str)->ptr)) {
1647
- warn("Symbols should not contain NUL (\\0)");
+ rb_warn("Symbols should not contain NUL (\\0)");
1648
1649
return rb_intern(RSTRING(str)->ptr);
1650
0 commit comments