summaryrefslogtreecommitdiffhomepage
path: root/src/class.c
diff options
context:
space:
mode:
authorYukihiro Matz Matsumoto <[email protected]>2013-02-18 09:11:54 +0900
committerYukihiro Matz Matsumoto <[email protected]>2013-02-18 09:11:54 +0900
commit5568df5efee7a7220008227ea622121320c2b49b (patch)
tree729ae20519f664d2150900e6efbb6ae63fae7626 /src/class.c
parentdf38a31d3438284ff73fa691b13cb4d0a77e6520 (diff)
parentb04183fd9cc0297005fbe378d2c136516999b82a (diff)
downloadmruby-5568df5efee7a7220008227ea622121320c2b49b.tar.gz
mruby-5568df5efee7a7220008227ea622121320c2b49b.zip
:Merge branch 'master' of github.com:mruby/mruby
Conflicts: src/class.c
Diffstat (limited to 'src/class.c')
-rw-r--r--src/class.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/class.c b/src/class.c
index 779078cce..7d99da56a 100644
--- a/src/class.c
+++ b/src/class.c
@@ -1737,7 +1737,7 @@ mrb_mod_remove_const(mrb_state *mrb, mrb_value mod)
check_const_name(mrb, id);
val = mrb_iv_remove(mrb, mod, id);
if (mrb_undef_p(val)) {
- mrb_name_error(mrb, id, "instance variable %s not defined", mrb_sym2name(mrb, id));
+ mrb_name_error(mrb, sym, "constant %s not defined", mrb_sym2name(mrb, sym));
}
return val;
}