diff options
author | nobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2011-12-15 08:40:29 +0000 |
---|---|---|
committer | nobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2011-12-15 08:40:29 +0000 |
commit | 2a5ddef59feb5b79e097e8b9de1b1f2b3b37b887 (patch) | |
tree | 91c2101fe0b844a6c298e259fb58ed8e5d44b9b3 /error.c | |
parent | 00e6c80221738880477638fb3cae02ca63e4f5f3 (diff) | |
download | ruby-2a5ddef59feb5b79e097e8b9de1b1f2b3b37b887.tar.gz |
* error.c (rb_check_type): fix typo.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@34054 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'error.c')
-rw-r--r-- | error.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -420,7 +420,7 @@ rb_check_type(VALUE x, int t) if (type->type == t) { const char *etype; - etype = builtin_type_name(xt); + etype = builtin_type_name(x); rb_raise(rb_eTypeError, "wrong argument type %s (expected %s)", etype, type->name); } |