<html><head></head><body style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space; "><br><div><div>22 jan 2010 kl. 07.08 skrev Douglas Gregor:</div><blockquote type="cite"><div><font class="Apple-style-span" color="#000000"><br></font>I find this code a bit strange... why is it mapping down to the canonical type then using dyn_cast? It would be simpler just to keep the original source types and use getAs<> rather than dyn_cast. Then we'll get better typedef information in the diagnostics, and I won't have to panic every time I see dyn_cast<> on types.<br><br></div></blockquote><div><br></div>Yeah, that was just a premature optimization done by me :) I'll fix it.</div><div><br></div><div>Anders</div><div><br></div></body></html>