[DGD] Possible bug? Duplicate indices in mapping

Petter Nyström jimorie at gmail.com
Fri Jan 20 12:30:52 CET 2012


Hi Felix!

On Fri, Jan 20, 2012 at 12:43 PM, Felix A. Croes <felix at dworkin.nl> wrote:
> What does
>
>    eval "/src/sys/objectd"->get_c_to_p() & ({"/world/area/portalzone/obj/portal"})
>
> return?

This:

> eval "/src/sys/objectd"->get_c_to_p() & ({"/world/area/portalzone/obj/portal"})
$2 = (["/world/area/portalzone/obj/portal":({"/src/lib/thing"})])

And then this:

> eval "/src/sys/objectd"->get_c_to_p()["/world"..]
$3 = (["/world/area/portalzone/obj/button":({"/src/lib/thing"}),
"/world/area/portalzone/obj/portal":({"/src/lib/thing"}),
"/world/area/portalzone/obj/portal":({})])

Regards,
Jimorie



More information about the DGD mailing list