Search

October 11, 2020
General »
...void;
}

pragma(msg, is(ElementType!(__type[]) == void));
pragma...out to avoid deps
{
    assert(a.length, "Attempting...
October 09, 2020
Learn »
...stdio;

void do_assert() { assert(false); }

void stackFrame()
{
    //pragma(inline, false);
    do_assert();
}

void main...
October 08, 2020
General »
...alias;

type TaliasInit()
{
    type x;
    assert(!is(x));
    return x;
}

pragma(msg, TaliasInit()); // prints ∅...
October 08, 2020
General »
...static assert(equal!((type a, type b) => is(a == b)) (size4, makeTypeArray(int, uint)));
pragma...
October 07, 2020
General »
...PKG == package))
        static assert(0); // NOT TRIGGERED!
```

Yet:

// this prints "package wtf"
pragma(msg, __traits...
October 05, 2020
General »
...length = basic_types.length;
    assert(isBasicType(T), "You...including whitespace and comments

pragma(msg, convTargets(long...
October 02, 2020
General »
...length = basic_types.length;
    assert(isBasicType(T), "You...0 .. n], n, T);
}

pragma(msg, convTargets(Long...
October 01, 2020
General »
...return result[];
		}
	} else static assert(0, "mistake in...MyTypeInfoImpl_Class!T;
	else {
		//pragma(msg, "generic " ~ T...
September 20, 2020
General »
On Fri, Sep 18, 2020 at 8:05 PM Nicholas Wilson via Digitalmars-d < digitalmars...
September 18, 2020
General »
Haha. Heres an initial implementation for you: https://github.com/dlang/dmd/pull/11757
7 8 9 10 11 12 13 14 15 16 17 18
Next ›   Last »