When making other changes to the compiler, I managed to trigger a crash at<div><br></div><div><a href="https://github.com/D-Programming-Language/dmd/blob/master/src/func.c#L476">https://github.com/D-Programming-Language/dmd/blob/master/src/func.c#L476</a></div>
<div><br></div><div>The line above calls isFuncDeclaration, then there is no check before using the result.</div><div><br></div><div>Is it valid to assume baseClass->search will always return either null or a FuncDeclaration?</div>
<div><br></div><div>I think I'm missing something here.</div><div><br></div><div>Thanks,</div><div>Daniel.</div>