<div dir="ltr"><div class="gmail_extra"><div class="gmail_quote">On 23 February 2014 22:57, Walter Bright <span dir="ltr"><<a href="mailto:newshound2@digitalmars.com" target="_blank">newshound2@digitalmars.com</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left-width:1px;border-left-color:rgb(204,204,204);border-left-style:solid;padding-left:1ex"><div class="">On 2/23/2014 4:25 AM, Tove wrote:<br>
<blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left-width:1px;border-left-color:rgb(204,204,204);border-left-style:solid;padding-left:1ex">
The DIP should probably specify what happens if inlining fails,<br>
i.e. generate a compilation error.<br>
</blockquote>
<br></div>
I suspect that may cause problems, because different compilers will have different inlining capabilities. I think it should be a 'recommendation' to the compiler.<br>
</blockquote><div><br></div><div>Does this depend how it is implemented?</div><div>Will DMD just patch it directly into the AST like a mixin in the front end, or is it always left to the back end?</div></div></div></div>