nqp icon indicating copy to clipboard operation
nqp copied to clipboard

nqp::split should allow for boxing type

Open lizmat opened this issue 4 years ago • 1 comments

Or is should just return an nqp::list_s rather than an nqp::list with boxed strings.

nqp::split is documented to take 2 parameters: the delimiter and the string. It can actually take a third parameter, of which the usage is undocumented (and I've not been able to find a usage of in the NQP code base).

lizmat avatar Apr 10 '21 20:04 lizmat

nqp::split is documented to take 2 parameters: the delimiter and the string. It can actually take a third parameter, of which the usage is undocumented (and I've not been able to find a usage of in the NQP code base).

If https://github.com/Raku/nqp/pull/714 is merged then nqp::split won't accept a third parameter anymore (in fact no ops will accept as a write destination, one more parameter than they're documented with).

MasterDuke17 avatar Apr 16 '21 19:04 MasterDuke17