Pike 7.8 currently does:
> ({"abc",({65,65,66}),"def"})*"x";
(1) Result: "abcxdef"
I have created a patch that makes it do:
> ({"abc",({65,65,66}),"def"})*"x";
(1) Result: "abcxAABxdef"
instead, and which also throws an error if any other types are inside
the array (the old code merely skipped them).
I'd consider the second behaviour (after my patch) more desirable and
in light of actually throwing errors on unsupported types, it is really
is a bugfix.
Any objections to this behaviour?
--
Sincerely,
Stephen R. van den Berg.
Auto repair rates: basic labor $40/hour; if you wait, $60; if you watch, $80;
if you ask questions, $100; if you help, $120; if you laugh, $140.