Tim Schendekehl
Tim Schendekehl
Using a struct instead of Tuple works around an issue with sorting at compile time (https://issues.dlang.org/show_bug.cgi?id=21429).
This changes the C++ mangling of const(Class) from "Class const * const" to "Class const *" for Windows, but only if the class type is used at the top of...
Types for bindings of C libraries in druntime need to match the C headers. Small differences can result in hard to debug problems. This test tries to automatically find types...
The following expressions are accepted by DMD, but not allowed by the grammar: ``` const e1 = int*.init; const e2 = int[1].init; const e3 = int*[0].init; ``` The [grammar for...
Using variables declared in loops from a closure can have unexpected results and be unsafe (issue #19929). Fixing the problem would silently change the behaviour of code and result in...
``` class A { final void f(){} } class B : A { final void f(int){} alias f = A.f; static foreach (i; 0..2) static if (!__traits(isTemplate, __traits(getMember, typeof(this), "f")))...
``` struct A { void f(int){} } struct B { void f(float){} alias f = A.f; mixin("void f()(){}"); } ``` DMD does not finish compiling this code. It seems to...
The following code compiled with DMD 2.111: ```D inout(int[]) test1(inout(int[]) a, int b) { return a ~ b; } inout(int[]) test2(inout(int[]) a, inout(int[]) b) { return a ~ b; }...