dmd
dmd copied to clipboard
dmd D Programming Language compiler
## Luís Marques (@luismarques) reported this on 2013-04-25T19:54:34Z ### Transferred from https://issues.dlang.org/show_bug.cgi?id=9992 ### CC List * * yebblies ### Description In DMD64 v2.062, if you define a method with a...
## andy-hanson reported this on 2023-11-19T21:55:59Z ### Transferred from https://issues.dlang.org/show_bug.cgi?id=24251 ### Description ```d struct A { B b; } struct B { struct Inner { C c; } } struct...
## Abscissa (@Abscissa) reported this on 2018-08-27T04:39:36Z ### Transferred from https://issues.dlang.org/show_bug.cgi?id=19196 ### CC List * Neia Neutuladh ### Description ````markdown struct Foo(T) { import std.traits: hasElaborateDestructor; static if(hasElaborateDestructor!A) {} }...
While trying test cases from bug reports regarding AA initialization, I noticed that #21773 caused the code in #20542 to no longer compile. Better coercing array initializer types by forwarding...
Trying to compile sljit: ``` C:\Tools\cygwin\tmp\sljitretry\sljit-master\sljit_src\sljitNativeX86_common.c(4568): Error: found `|` when expecting `)` byte = ((sljit_u8)(byte | (byte
In sljitMain.c: ```c union executable_code { void* code; sljit_sw (SLJIT_FUNC *func)(sljit_sw* a); }; typedef union executable_code executable_code; ``` In sljitTest.c: ```c union executable_code { void* code; sljit_sw (SLJIT_FUNC *func0)(void); sljit_sw...
## Walter Bright (@WalterBright) reported this on 2014-03-16T16:48:55Z ### Transferred from https://issues.dlang.org/show_bug.cgi?id=12384 ### Description ````markdown Consider: ---------------------------- import core.stdc.stdlib; void fun() nothrow; struct B { int* p; size_t x; }...
The following code works in full D, but not in -betterC. ```d void func() nothrow { if (0) { throw new Exception(""); // Error: cannot use `throw` statements with -betterC...
This compiles on 2.110, but not on 2.111: ```d alias foo = printf; import core.stdc.stdio; ``` ``` testme.d(1): Error: `printf` is not defined, perhaps `import core.stdc.stdio;` ? alias foo =...