Re: Call on void target in {DS_SPARSE_TABLE_KEYS}.twin

Eric Bezault <[email protected]> Thu, 25 Sep 2008 14:24:14 +0200
Newsgroups gmane.comp.lang.eiffel.gobo.devel
Message-ID <[email protected]>
Arno Fiva wrote:
> By calling `twin' on the keys of a hash table, following exception occurs:

You should realize that `keys' is just another view on the same table.
So, cloning `keys' will clone the table. Therefore it is recommended
to call:

    l_table.twin.keys

instead of:

    l_table.keys.twin

I now fixed the call-on-void-target in the version in Subversion, but
I just wanted to warn you that the behavior might not be the one that
you expect.

-- 
Eric Bezault
mailto:[email protected]
http://www.gobosoft.com


-------------------------------------------------------------------------
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK & win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100&url=/