November 10 LDC » Re: ASM: Loading address of label truncates to 32 bits on x64 | |||
|---|---|---|---|
| |||
Ok apparently... lea RCX,[RIP+LABEL] works. | |||
November 10 LDC » ASM: Loading address of label truncates to 32 bits on x64 | |||
|---|---|---|---|
| |||
...a bug to me as it works OK on DMD. At least I compiled a... | |||
November 08 General » Report: Analysis of survey: Memory safety in D, what is your view? | |||
|---|---|---|---|
| |||
...While a good portion of respondants are ok with the memory safety features of D... | |||
November 01 DIP Ideas » Re: Allow designated initialization of struct | |||
|---|---|---|---|
| |||
...data)
{
}
void main()
{
// THIS OK
Data data = {
other: { a: 42 }
};
// THIS OK
pass( Data(other... | |||
October 31 Learn » Re: Do not able to install DMD Compiler with curl | |||
|---|---|---|---|
| |||
...connected. HTTP request sent, awaiting response... 200 OK Length: 38449 (38K) [application/x-sh] Saving... | |||
October 24 Issues » [Issue 24831] New: IFTI fails for a function template with a default function argument | |||
|---|---|---|---|
| |||
...v = T.init)
{
}
void main()
{
foo!int(); // ok
foo!int("x"); // fail
}
Error: function `foo... | |||
October 23 Learn » Re: std.algorithm.countUntil and alias | |||
|---|---|---|---|
| |||
...In my book it should be perfectly ok and inability to do so looks like... | |||
October 23 Issues » [Issue 21917] Unused default values for IFTI parameters should not be typechecked against the IFTI-inferred type | |||
|---|---|---|---|
| |||
...maxsamukha@gmail.com> --- Unfortunately, no. This compiles ok: void foo(T = int)(T a = T... | |||
October 23 Issues » [Issue 21917] Unused default values for IFTI parameters should not be typechecked against the IFTI-inferred type | |||
|---|---|---|---|
| |||
...foo(T = int)(T a = T.init); // ok I'd be absolutely happy if this... | |||
October 23 Issues » [Issue 24828] New: Generic parameter type is constrained by the type of the default value | |||
|---|---|---|---|
| |||
...T v = 0)
{
}
void main()
{
foo(); // ok
foo(1); // ok
foo("x"); // fail
}
Error: cannot... | |||
Copyright © 1999-2021 by the D Language Foundation