On Thursday, 6 August 2015 at 21:16:20 UTC, Steven Schveighoffer
wrote:
On 8/6/15 4:24 PM, "Per =?UTF-8?B?Tm9yZGzDtnci?=
<[email protected]>" wrote:
On Tuesday, 4 August 2015 at 20:54:43 UTC, Steven
Schveighoffer wrote:
How complete is the dip25 implementation?
For example, should this be expected to be an error?
struct S
{
int[5] x;
auto foo() { return x[];}
}
You need to (at least) qualify `foo` as @safe.
According to 2.067.0 it was an error without annotating as
@safe if you use -dip25. I don't understand the "relaxing" of
it in the latest version, but maybe I'm missing something.
auto functions now trigger inferance