Error when used [?n] with undefined identifier

Jakub Krajewski <[email protected]>
Newsgroups gmane.comp.lang.pike.user
Message-ID <CAJM35122SbUVwUQXQB=gusphzdE3uw727uSM3cRMx0iHakomNA@mail.gmail.com>
Hello,

Found this accidentally (latest 8.0 upstream):

Pike v8.0 release 35 running Hilfe v3.5 (Incremental Pike Frontend)
> array a = ({ 1,2,3 });
> array b;
> a[?2];
(1) Result: 3
> b[?2];
(2) Result: 0
> c[?2];
Segmentation fault (core dumped)

I assume that this was not expected, and it segfaults also without Hilfe.

-- 
Best regards,
Jakub Krajewski
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.