aboutsummaryrefslogtreecommitdiffstats
path: root/iseq.c
diff options
context:
space:
mode:
authorko1 <ko1@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2015-05-20 19:11:47 +0000
committerko1 <ko1@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2015-05-20 19:11:47 +0000
commit08f923bdc16ae54dc01d421248f0d00e0ad27b7d (patch)
tree28e6968f01b549506f1a8add94f985528fd156a3 /iseq.c
parent7fc7651fc68e52401dee530defaf2dbcb434a7f1 (diff)
downloadruby-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.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/iseq.c b/iseq.c
index 367f8b3327..b4cdda3185 100644
--- a/iseq.c
+++ b/iseq.c
@@ -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);
}