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
changed the title [-]undefined method `compute_if_absent' for {}:Concurrent::Hash (NoMethodError)[/-][+]The Concurrent::Map default_proc is passed a Concurrent::Hash instead of the Concurrent::Map[/+]on Feb 24, 2023
Activity
dentarg commentedon Feb 24, 2023
A regression from #989? Yeah: https://github.com/ruby-concurrency/concurrent-ruby/pull/989/files#diff-205e0f04e361a0beb29983f5bfba8710659e00eed759c0f556881fa23ac8540d
9mm commentedon Feb 24, 2023
Yikes this will teach me to update minor libs before deploying
eregon commentedon Feb 24, 2023
Sorry about this bug, I'll make a release with the fix ASAP.
misdoro commentedon Feb 24, 2023
Same for
fetch_or_store
method on the Hash:Fix Concurrent::Map default_proc arguments
Fix Concurrent::Map default_proc arguments
[-]undefined method `compute_if_absent' for {}:Concurrent::Hash (NoMethodError)[/-][+]The Concurrent::Map default_proc is passed a Concurrent::Hash instead of the Concurrent::Map[/+]eregon commentedon Feb 24, 2023
Fixed in f2985bd
Released as https://github.com/ruby-concurrency/concurrent-ruby/releases/tag/v1.2.2
mensfeld commentedon Feb 24, 2023
Thank you for such fast turnaround!
nijikon commentedon Feb 25, 2023
That was super quick, thanks!
jcoyne commentedon Feb 28, 2023
Thank you for the fix. ❤️