[Issue 20211] should be set appropriate version for enabled DIPs (in command lines)

d-bugmail at puremagic.com d-bugmail at puremagic.com
Mon Sep 16 09:11:17 UTC 2019


https://issues.dlang.org/show_bug.cgi?id=20211

--- Comment #1 from anonymous4 <dfj1esp02 at sneakemail.com> ---
Try this:

template A()
{
int[] f(scope int[] a) @safe
{
    return a;
}
}

static assert(!__traits(compiles,A!()));

--


More information about the Digitalmars-d-bugs mailing list