On Wednesday, 17 October 2012 at 19:46:51 UTC, bearophile wrote:
sclytrack:

It doesn't give an error when marking the function with safe.

@safe
int[] create()
{
}

I think marking it @safe is not relevant. In theory a good type system should give an error message on similar code. I don't know if D is supposed to spot similar error situations.

Bye,
bearophile

If that's the case then they should call it safeR D instead of safe D.

Reply via email to