diff options
author | nobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2015-10-23 04:51:35 +0000 |
---|---|---|
committer | nobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2015-10-23 04:51:35 +0000 |
commit | f245026a81117f62581dce71c85fc5533a4fb536 (patch) | |
tree | 0339fba8927ffd5457fa1c69329ea7cb4101493f /ChangeLog | |
parent | df56684bb6f595e5c2bd7cc6eec0c4026534640f (diff) | |
download | ruby-f245026a81117f62581dce71c85fc5533a4fb536.tar.gz |
test_call.rb: add tests
* test_call.rb (test_safe_call): Add test cases for safe
navigation operator assignment. [Fix GH-1064]
Validate:
* can assign an attribute which is `nil`
* can "or assign" an attribute which is `nil`
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@52238 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'ChangeLog')
-rw-r--r-- | ChangeLog | 8 |
1 files changed, 8 insertions, 0 deletions
@@ -1,3 +1,11 @@ +Fri Oct 23 13:51:33 2015 yui-knk <spiketeika@gmail.com> + + * test_call.rb (test_safe_call): Add test cases for safe + navigation operator assignment. [Fix GH-1064] + Validate: + * can assign an attribute which is `nil` + * can "or assign" an attribute which is `nil` + Fri Oct 23 11:58:21 2015 Nobuyoshi Nakada <nobu@ruby-lang.org> * compile.c (iseq_peephole_optimize): optimize lengthy safe |