[DGD] Possible bug? Duplicate indices in mapping

Felix A. Croes felix at dworkin.nl
Fri Jan 20 12:43:03 CET 2012


On Fri, Jan 20, 2012 at 10:52:22AM +0100, Petter Nyström wrote:
> Hello list!
> 
> I just ran into a weird situation and would like to get a second
> opinion on what's going wrong.
> 
> The weird thing is best illustrated by this line of code that I just ran:
> 
> > eval map_indices("/src/sys/objectd"->get_c_to_p()) & ({"/world/area/portalzone/obj/portal"})
> $1 = ({"/world/area/portalzone/obj/portal",
> "/world/area/portalzone/obj/portal"})

What does

    eval "/src/sys/objectd"->get_c_to_p() & ({"/world/area/portalzone/obj/portal"})

return?

Regards,
Felix Croes



More information about the DGD mailing list