the following code: $ cat foo.pike mixed __initstuff=lambda() { foobar=foobar->gazong; }();
void main() { return 0; } $ pike7.6 foo.pike foo.pike:3:Undefined identifier "foobar". foo.pike:3:Undefined identifier "foobar". foo.pike:3:Indexing a void expression. Segmentation fault
fails without main() too.
$ pike7.6 --dumpversion 7.6.33
i don't have a newer pike available at the moment. can anyone test this with the latest?
greetings, martin.