On 6/7/16 7:05 PM, Walter Bright wrote:
On 6/7/2016 2:28 PM, Steven Schveighoffer wrote:
I can attest that figuring out why something isn't inferred @safe
isn't always
easy, and the "slap a @safe: tag at the top" isn't always going to help.

Having a -safe compiler switch to make @safe the default won't improve
that in the slightest.


No, of course not. I don't think anyone has said this.

In my experience, finding the reasons something isn't inferred safe is an iterative process with the compiler and temporarily marking targeted code. I don't think grep helps here at all, and neither do global safe attributes.

-Steve

Reply via email to