Actions
Bug #19365
openRactors 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) 5 months ago
- Status changed from Open to Assigned
- Assignee set to ko1 (Koichi Sasada)
Updated by luke-gru (Luke Gruber) 5 months ago
Or rather, maybe they should be allowed to be passed but the deep clone logic should change? Not sure.
Actions
Like0
Like0Like0