Search

June 09, 2020
Learn »
...member, true).length == 0)
        {
            pragma(msg, "`", member, "` ", "is...break;
        }
    }
    return result;
}
static assert(onlyFuncs(), "this script...
May 08, 2020
Issues »
...dup;
}

pragma(msg, bug());
pragma(msg, bug());
pragma...main() {
        assert(bug == "5");
        assert(bug == "5");
        assert...
April 23, 2020
General »
...2, 3);
int[] myArr;
assert([ myArr[Tup + 1...AliasSeq!(int, short, float);
pragma(msg, cast(Types...
April 22, 2020
Announce »
...Parameter(int i)
    {
      // static assert(false);
    }

    template reflectFunction...2, 3));
    }

    void foo();
    pragma(msg, reflectFunction!(foo...
April 09, 2020
General »
...of actually statically recognizing ctfe-only code.

pragma(ctfe) looks like a promising candidate to...
April 09, 2020
General »
...examples are:

```
int ctfeOnly() {
    assert(__ctfe);
    return 3...as version(__ctfe) or pragma(ctfe). Johannes Pfau...
April 08, 2020
General »
...using pragma(ctfe) here:
https://github.com/dlang/dmd/pull/11014

Unlike the `assert(__ctfe...
April 08, 2020
General »
The detection of assert __ctfe in the function...want to introduce a pragma or magic annotatation...
April 08, 2020
General »
...generateMixin(T)(string b)
 {
      assert(__ctfe);
      return "auto...mixin(generateMixin!string("b"));
      pragma(msg, generateMixin!string...
April 07, 2020
Issues »
...struct Struct'.
        // evidence:
        pragma(msg, isMutable!Struct.stringof ~ " - " ~ isMutable!U.stringof);
        static assert(is(U...
11 12 13 14 15 16 17 18 19 20 21 22
Next ›   Last »