Page 1 of 1

set-nth trouble?

Posted: Thu Aug 17, 2006 2:45 pm
by Dmi
Hi, Lutz!

This looks like a list boundary crossing in set-nth:

Code: Select all

newLISP v.8.9.3 on Linux, execute 'newlisp -h' for more info.

> (string? '())
nil
> (set-nth -1 '() 2)
()
> (string? '())
2
> 

Posted: Thu Aug 17, 2006 3:40 pm
by Lutz
Thanks DMI, this is a dangerous one introduced in 8.8.0 with, this will be fixed shortly.

Lutz