diff options
author | ko1 <ko1@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2015-05-20 19:11:47 +0000 |
---|---|---|
committer | ko1 <ko1@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2015-05-20 19:11:47 +0000 |
commit | 08f923bdc16ae54dc01d421248f0d00e0ad27b7d (patch) | |
tree | 28e6968f01b549506f1a8add94f985528fd156a3 /iseq.c | |
parent | 7fc7651fc68e52401dee530defaf2dbcb434a7f1 (diff) | |
download | ruby-08f923bdc16ae54dc01d421248f0d00e0ad27b7d.tar.gz |
* iseq.c (exception_type2symbol): show correct bug message.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@50566 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'iseq.c')
-rw-r--r-- | iseq.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -1623,7 +1623,7 @@ exception_type2symbol(VALUE type) case CATCH_TYPE_REDO: CONST_ID(id, "redo"); break; case CATCH_TYPE_NEXT: CONST_ID(id, "next"); break; default: - rb_bug("..."); + rb_bug("exception_type2symbol: unknown type %d", (int)type); } return ID2SYM(id); } |