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
commit9bd9e001adff0e83ad4646cbd9ed51cc6dc391a9 (patch)
tree28e6968f01b549506f1a8add94f985528fd156a3 /iseq.c
parent8cb2f9c705e05db01ce998233d1e8e0ae7feb749 (diff)
downloadruby-9bd9e001adff0e83ad4646cbd9ed51cc6dc391a9.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);
}