------- Comment #1 from  2009-03-28 23:53 -------
Created an attachment (id=296)
 --> (
Fix e1->type when clearing this->type within CallExp.

This is crashing within CallExp::canThrow(), since e1->type is NULL.  I assume
checkSideAffect() might have this happen too.

As I read the code, e1->type hasn't been properly set yet where I've patched. 
Since we don't have f anyway, I think Type::terror is the right thing to set it
to.  This does fix the crash, and doesn't spit out any confusing error messages
(other than before.)

I am concerned there may be other places (other Expression's canThrow/etc.?)
that have this same issue.  My understanding of the code is probably to limited
to evaluate that.



Reply via email to