diff options
Diffstat (limited to 'variable.c')
-rw-r--r-- | variable.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/variable.c b/variable.c index c63fd573f0..86a26103a5 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 */ |