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