ruby-changes:38485
From: ko1 <ko1@a...>
Date: Thu, 21 May 2015 04:12:06 +0900 (JST)
Subject: [ruby-changes:38485] ko1:r50566 (trunk): * iseq.c (exception_type2symbol): show correct bug message.
ko1 2015-05-21 04:11:47 +0900 (Thu, 21 May 2015) New Revision: 50566 http://svn.ruby-lang.org/cgi-bin/viewvc.cgi?view=revision&revision=50566 Log: * iseq.c (exception_type2symbol): show correct bug message. Modified files: trunk/ChangeLog trunk/iseq.c Index: ChangeLog =================================================================== --- ChangeLog (revision 50565) +++ ChangeLog (revision 50566) @@ -1,3 +1,7 @@ https://github.com/ruby/ruby/blob/trunk/ChangeLog#L1 +Thu May 21 04:11:03 2015 Koichi Sasada <ko1@a...> + + * iseq.c (exception_type2symbol): show correct bug message. + Wed May 20 23:19:05 2015 Yusuke Endoh <mame@r...> * lib/base64.rb: Fix rdoc-formatting for padding argument. Index: iseq.c =================================================================== --- iseq.c (revision 50565) +++ iseq.c (revision 50566) @@ -1623,7 +1623,7 @@ exception_type2symbol(VALUE type) https://github.com/ruby/ruby/blob/trunk/iseq.c#L1623 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); } -- ML: ruby-changes@q... Info: http://www.atdot.net/~ko1/quickml/