Re: The new (non) optional arg to gc()

Chris Angelico <[email protected]>
Newsgroups gmane.comp.lang.pike.user
Message-ID <CAPTjJmrK+D-KdEiyHrkWAyBc5Wfnui3pTQQXoADba8rgpED8MA@mail.gmail.com>
On Tue, Mar 1, 2016 at 6:47 AM, Jeff Hungerford
<[email protected]> wrote:
> It looks like the new argument for gc() to clean up members
> of a weak mapping is not actually optional:
>
> Pike v8.0 release 181 running Hilfe v3.5 (Incremental Pike Frontend)
>> gc();
> Compiler Error: 1: Too few arguments to gc (got 0).
> Compiler Error: 1: Expected: mixed.
> Compiler Error: 1: Function type:
> Compiler Error: 1: Got     : function(mixed : int).

Looks like a type declaration problem. Want me to take care of it, Grubba?

ChrisA
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.