You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
My approach to try to split args and use **kwargs for delegation is incorrect and needs to be phased out in 3.x and this module removed in 4.x. The problem is that arguments that implement to_hash are wrongly detected (with no way to know they are not) and converted. Only ruby2_keywords delegation is safe.
My approach to try to split args and use
**kwargs
for delegation is incorrect and needs to be phased out in 3.x and this module removed in 4.x. The problem is that arguments that implementto_hash
are wrongly detected (with no way to know they are not) and converted. Onlyruby2_keywords
delegation is safe.See rspec/rspec-expectations#1241 as an example of this issue.
The text was updated successfully, but these errors were encountered: