On Fri, Jan 16, 2009 at 01:43:11AM -0800, I Sop wrote:
> With r35615.
>
> Following script to perl6 segfaults:
> sub yum() { }
> sub callit(&x) { x; }
> callit yum;
This now responds with an appropriate exception:
$ cat x.pl
sub yum() { }
sub callit(&x) { x; }
callit yum;
$ ./parrot perl6.pbc x.pl
Non-Callable argument for x in call to callit
current instr.: 'die' pc 15989 (src/builtins/control.pir:204)
[...]
$
Handing ticket over to moritz++ so we can get a spectest for it.
Thanks!
Pm
