This patch fixes PR8755, a bug where we give a worse diagnostic when templates are involved than when they aren't. In the case of "class T<A>::iterator" we look up tag types only then error out when one isn't found. The patch works by extended the error path to do a second lookup and report a more informative error when a non-tag type is found.<div>
<br></div><div>Please review!</div><div><br></div><div>Nick</div><div><br></div>