Ticket #737 (closed bug: fixed)
imcc segfault when assigning to undefined retval
|Reported by:||cotto||Owned by:|
The following snipped of code kills imcc with a segfault.
.sub main (foo) = baz() .end
This obviously shouldn't compile, but a more graceful failure is probably appropriate. The following code works as expected, so I'd guess this has to do with foo not being defined.
.sub main .local pmc foo (foo) = baz() .end .sub baz .return(1) .end