Search

February 01, 2019
Learn »
...i, int j);
static assert(is(typeof(add...Weirdly enough, if you pragma(msg) a function...
January 05, 2019
Issues »
...ELF library when using pragma(crt_constructor)
           Product...import lib18456;

void main()
{
    assert(initVar == 42);
}

via...
January 03, 2019
Learn »
...T, field);
>          }
>          else
>          {
>              pragma(msg, "no");
>          }
>      }
>      import std.string : format;
>      static assert(0,
>          format!"no...
January 03, 2019
Learn »
...T, field);
		}
		else
		{
			pragma(msg, "no");
		}
	}
	import std.string : format;
	static assert(0,
		format!"no...
January 03, 2019
Issues »
...std.regex;
void main()
{
    //pragma(msg, __traits(compiles...d(2023): Error:
static assert:  "Cannot move front...
December 14, 2018
Issues »
...pragma(inline, false);
        buf = 0;
    }

    ubyte buf;
}

void bar(ubyte* v) {
    pragma(inline, true);
    assert...
December 08, 2018
General »
...some stdlib math tests assert when cross-compiling...with ldc, `void main() { pragma(msg, "precision is...
December 06, 2018
General »
...enum z = myTpl!"blah";
		pragma(msg, z);	// prints...if with a static assert that says "symbol...
November 28, 2018
Issues »
...from comment #5)

Adding -dip1000, the pragma line does error, but the static assert passes.

--
November 28, 2018
Issues »
...message:

enum x1 = 1;
pragma(msg, mixin('x...0], args[1], "`");
static assert(ctText!(5, " bottles...
17 18 19 20 21 22 23 24 25 26 27 28
Next ›   Last »