Actions
Bug #19365
closedRactors can access non-shareable values through enumerators
Description
I don't think enumerators should be able to be passed to Ractor.new
obj = Object.new # unshareable value
p obj
Ractor.new([obj].each) {|f| p f.first }.take
Updated by hsbt (Hiroshi SHIBATA) over 1 year ago
- Status changed from Open to Assigned
- Assignee set to ko1 (Koichi Sasada)
Updated by luke-gru (Luke Gruber) over 1 year ago
Or rather, maybe they should be allowed to be passed but the deep clone logic should change? Not sure.
Updated by luke-gru (Luke Gruber) 6 months ago
This has since been fixed, please close. Thanks.
Updated by byroot (Jean Boussier) 6 months ago
- Status changed from Assigned to Closed
Actions
Like0
Like0Like0Like0Like0