On 23 February 2014 22:57, Walter Bright <newshound2@digitalmars.com> wrote:
On 2/23/2014 4:25 AM, Tove wrote:
The DIP should probably specify what happens if inlining fails,
i.e. generate a compilation error.

I suspect that may cause problems, because different compilers will have different inlining capabilities. I think it should be a 'recommendation' to the compiler.

Does this depend how it is implemented?
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?