From 27a6da70c241d07b7a64ae862e8955739b1ee9ea Mon Sep 17 00:00:00 2001 From: matz Date: Mon, 11 Mar 2002 08:02:04 +0000 Subject: * marshal.c (w_object): module inclusion using extend() should also be detected. * eval.c (rb_eval_cmd): cbase should not be NULL; it should be either ruby_wrapper or Object. * enum.c (enum_each_with_index): should return self. * process.c (proc_setpgrp): should return value for non-void function. * process.c (proc_getpgid): should raise exception if getpgid() return -1. * string.c (rb_str_ljust): should return a duplicated string. * string.c (rb_str_rjust): ditto. * string.c (rb_str_center): ditto. git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@2172 b2dd03c8-39d4-4d8f-98ff-823fe69b080e --- variable.c | 1 + 1 file changed, 1 insertion(+) (limited to 'variable.c') diff --git a/variable.c b/variable.c index c63fd573f..86a26103a 100644 --- a/variable.c +++ b/variable.c @@ -1148,6 +1148,7 @@ rb_const_get(klass, id) RSTRING(rb_class_path(klass))->ptr); } else { + global_uninitialized: rb_name_error(id, "uninitialized constant %s",rb_id2name(id)); } return Qnil; /* not reached */ -- cgit