diff options
author | nobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2015-11-11 09:30:31 +0000 |
---|---|---|
committer | nobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2015-11-11 09:30:31 +0000 |
commit | 4d57720d1a8f8bdc492e6988bb01a716c814cbbd (patch) | |
tree | fa88b2cc3b0305c9a4808925566af5416e610482 /ChangeLog | |
parent | 19294fbb8d2cb8ce23d45a0af927c9d5df65f60d (diff) | |
download | ruby-4d57720d1a8f8bdc492e6988bb01a716c814cbbd.tar.gz |
sprintf.c: nil value is valid
* sprintf.c (rb_str_format): look up the key, then get default
value and raise KeyError if the returned value is nil.
[ruby-dev:49338] [Ruby trunk - Bug #11677]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@52537 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'ChangeLog')
-rw-r--r-- | ChangeLog | 6 |
1 files changed, 6 insertions, 0 deletions
@@ -1,3 +1,9 @@ +Wed Nov 11 18:30:28 2015 Nobuyoshi Nakada <nobu@ruby-lang.org> + + * sprintf.c (rb_str_format): look up the key, then get default + value and raise KeyError if the returned value is nil. + [ruby-dev:49338] [Ruby trunk - Bug #11677] + Wed Nov 11 17:38:24 2015 Nobuyoshi Nakada <nobu@ruby-lang.org> * vm_eval.c (local_var_list_add): skip internal local variable |