On Monday, 2 February 2015 at 23:29:26 UTC, Walter Bright wrote:
Now, when it can't inline, do you expect the compiler to produce an error message?

Yes, this is the very point of such feature - telling that if code can't be inlined, it is effectively unusable.

If so, what corrective action is the user faced with:

pragma(inline, some expression that determines the compiler version and evaluates to true only if this particular function can be inlined);

Prohibit this generally useless misfeature and keep base semantics useful.

Reply via email to