Issue #17286 has been reported by marcandre (Marc-Andre Lafortune).

----------------------------------------
Feature #17286: `Ractor.new` should accept `move: true`
https://bugs.ruby-lang.org/issues/17286

* Author: marcandre (Marc-Andre Lafortune)
* Status: Open
* Priority: Normal
----------------------------------------
Another surprise when writing my backport is that `Ractor.new` does not accept `move:` keyword argument.

```ruby
Ractor.new(val, move: true) { |data| ... }
# equivalent to
Ractor.new { data = Ractor.receive; ... }.tap { |r| r.send(val, move: true) }
```




-- 
https://bugs.ruby-lang.org/

Unsubscribe: <mailto:ruby-core-request / ruby-lang.org?subject=unsubscribe>
<http://lists.ruby-lang.org/cgi-bin/mailman/options/ruby-core>