Branch: Tag:

2017-01-06

2017-01-06 16:09:41 by Martin Nilsson <nilsson@fastmail.com>

Operator LFUNs now get consistent number of arguments.

102:    return values(joined);    }    -  protected mixed `+(mixed ... args) +  protected mixed `+(mixed arg)    {    update_joined(); -  return predef::`+(joined, @args); +  return predef::`+(joined, arg);    }    -  protected mixed ``+(mixed ... args) +  protected mixed ``+(mixed arg)    {    update_joined(); -  return predef::`+(@args, joined); +  return predef::`+(arg, joined);    }    -  protected mixed `-(mixed ... args) +  protected mixed `-(mixed arg)    {    update_joined(); -  return predef::`-(joined, @args); +  return predef::`-(joined, arg);    }    -  protected mixed ``-(mixed ... args) +  protected mixed ``-(mixed arg)    {    update_joined(); -  return predef::`-(@args, joined); +  return predef::`-(arg, joined);    }    -  protected mixed `|(mixed ... args) +  protected mixed `|(mixed arg)    {    update_joined(); -  return predef::`|(joined, @args); +  return predef::`|(joined, [mapping|object]arg);    }    -  protected mixed ``|(mixed ... args) +  protected mixed ``|(mixed arg)    {    update_joined(); -  return predef::`|(@args, joined); +  return predef::`|(arg, joined);    }    -  protected mixed `&(mixed ... args) +  protected mixed `&(mixed arg)    {    update_joined(); -  return predef::`&(joined, @args); +  return predef::`&(joined, [array|mapping|multiset|object]arg);    }    -  protected mixed ``&(mixed ... args) +  protected mixed ``&(mixed arg)    {    update_joined(); -  return predef::`&(@args, joined); +  return predef::`&(arg, joined);    }    -  protected mixed `^(mixed ... args) +  protected mixed `^(mixed arg)    {    update_joined(); -  return predef::`^(joined, @args); +  return predef::`^(joined, [mapping|object]arg);    }    -  protected mixed ``^(mixed ... args) +  protected mixed ``^(mixed arg)    {    update_joined(); -  return predef::`^(@args, joined); +  return predef::`^(arg, joined);    }       protected mixed cast(string type)