<html><head><meta http-equiv="Content-Type" content="text/html charset=windows-1252"></head><body style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space;"><br><div><div>On May 21, 2014, at 5:19 PM, Richard Smith <<a href="mailto:richard@metafoo.co.uk">richard@metafoo.co.uk</a>> wrote:</div><br class="Apple-interchange-newline"><blockquote type="cite"><div dir="ltr"><div class="gmail_extra"><div class="gmail_quote"><div><br></div><div>How about this: drop the setInvalidDecl() call. In its place, when we get a type mismatch between two function declarations, if Old is implicit then check whether it used to be a builtin. If so, check the type against the most recent declaration instead.</div>
</div></div></div>
</blockquote><br></div><div>Without adding an extra flag to FunctionDecl, I am not sure how I can check that an implicit Old used to be a “builtin”?</div><div>I don’t thing that checking for <span style="font-family: Menlo; font-size: 11px; color: rgb(79, 129, 135);">Builtin</span><span style="font-family: Menlo; font-size: 11px;">::</span><font color="#31595d" face="Menlo"><span style="font-size: 11px;">NotBuiltin means this as it is a value of 0. Are you proposing</span></font></div><div><font color="#31595d" face="Menlo"><span style="font-size: 11px;">addition of a new flag? Or a special BID?</span></font></div><div><font color="#31595d" face="Menlo"><span style="font-size: 11px;"><br></span></font></div><div><font color="#31595d" face="Menlo"><span style="font-size: 11px;">- fariborz</span></font></div><div><font color="#31595d" face="Menlo"><span style="font-size: 11px;"><br></span></font></div><br></body></html>