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.
  • Support for array(str... Stephen R. van den Berg
    • Support for arra... Martin Stjernholm, Roxen IS @ Pike developers forum
      • Support for ... Peter Bortas @ Pike developers forum
        • Re: Supp... Stephen R. van den Berg
          • Re: ... Per Hedbor () @ Pike (-) developers forum
            • ... Stephen R. van den Berg
              • ... Marc Dirix
                • ... Stephen R. van den Berg
              • ... Mirar @ Pike developers forum
                • ... Marc Dirix
                • ... Mirar @ Pike developers forum

Reply via email to