Re: deSubgraphKit bug: unscope can specify temps (please confirm)

Mark Miller <[email protected]>
Newsgroups gmane.comp.lang.e.general
Message-ID <[email protected]>
On Sun, May 31, 2009 at 8:05 AM, Kevin Reid <[email protected]> wrote:
> On May 31, 2009, at 10:58, Kevin Reid wrote:
>
>> If the provided unscope contains an integer, it is interpreted as
>> specifying a temp in the graph being serialized. ... If it is agreed
>> that this is a bug, I will revise generate(obj) in deSubgraphKit to
>> throw if the unscope value is not a string.
>
> Also, the current implementation treats null values as equivalent to
> absent ones. Should this also be stopped?

Yes.


> (Note to self: Whatever the resolution, I should WRITE SPECIFICATION
> TESTS for them -- this is the kind of subtlety that is easily forgotten)

That'd be great!

-- 
Text by me above is hereby placed in the public domain

    Cheers,
    --MarkM
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.