On Thursday, 30 May 2013 at 20:49:53 UTC, Steven Schveighoffer
wrote:
It's actually 4. separate compilation model.
If you are building a module, and it imports a d interface file
which has no function body, there is no conceivable way to tell
what the attributes should be.
For anonymous fu
On Thu, 30 May 2013 16:24:35 -0400, Sebastian Graf
wrote:
Hi,
I wonder if there are any plans to allow automatic inference of function
attributes. I think it's a big hassle having to pollute function
declarations with things like @safe, nothrow, pure, etc. let alone
rembering them all.
Hi,
I wonder if there are any plans to allow automatic inference of
function attributes. I think it's a big hassle having to pollute
function declarations with things like @safe, nothrow, pure, etc.
let alone rembering them all.
I know this is done for anonymous functions on a best effort
bas