Bug 1390501 - Ruby 2.2.2 function argument bug fixed in 2.2.3 [rhscl-2.3]
Summary: Ruby 2.2.2 function argument bug fixed in 2.2.3 [rhscl-2.3]
Keywords:
Status: CLOSED CURRENTRELEASE
Alias: None
Product: Red Hat Software Collections
Classification: Red Hat
Component: ruby
Version: rh-ruby22
Hardware: x86_64
OS: Linux
unspecified
unspecified
Target Milestone: ---
: 2.4
Assignee: Vít Ondruch
QA Contact: BaseOS QE - Apps
URL:
Whiteboard:
Depends On:
Blocks: 1369090
TreeView+ depends on / blocked
 
Reported: 2016-11-01 09:14 UTC by Vít Ondruch
Modified: 2019-12-16 07:16 UTC (History)
9 users (show)

Fixed In Version: rh-ruby22-ruby-2.2.2-16.el6, rh-ruby22-ruby-2.2.2-16.el7
Doc Type: Bug Fix
Doc Text:
Keyword arguments previously did not work correctly if hash keys contained a dynamically created symbol. Consequently, when a method with keyword arguments was used with such a hash, the values could have been incorrectly assigned to the method arguments. A patch has been applied, which protects value stack from calling other methods during the complex parameter setting process. As a result, assigning named arguments from a hash works as expected in the described scenario.
Clone Of: 1369090
Environment:
Last Closed: 2018-01-31 14:33:19 UTC
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Ruby 11027 0 None None None 2016-11-01 09:14:30 UTC


Note You need to log in before you can comment on or make changes to this bug.