November 26 Issues » [Issue 24884] New: backend generates wrong 32-bit code after inlining math with double[4] | |||
|---|---|---|---|
| |||
...0)
{
abcd[0] = innerproduct(abcd, point1);
}
}
void main()
{
double[4] a = 0.0;
inlinebug(a... | |||
November 25 Issues » [Issue 19348] Struct casts should be better documented. | |||
|---|---|---|---|
| |||
...error:
struct S {
int[2] i;
}
void main()
{
S s;
s = cast(S) cast(short... | |||
November 25 Issues » [Issue 24881] New: ICE on attempt to compare deref of two functions ptr | |||
|---|---|---|---|
| |||
...int) a;
void function(int) b;
void main()
{
const c = *a == *b;
// assert(*a); // rejected... | |||
November 25 Issues » [Issue 4152] Function alias forward reference error | |||
|---|---|---|---|
| |||
...void f(char){}
void f(double){}
void main()
{
auto badAddrOfOverSet = &f;
f(0.0);
}
```
and... | |||
November 25 Learn » only parameters or stack-based variables can be `inout` | |||
|---|---|---|---|
| |||
...E)e).to!string); // OK
return e;
}
void main()
{
fun(1);
gun(E.One);
}
```
-- Bastiaan | |||
November 25 Issues » [Issue 24878] New: Forward referencing issue | |||
|---|---|---|---|
| |||
...error : struct `main.Test` no size because of forward reference error : template instance `main.Container... | |||
November 23 Issues » [Issue 24873] dmd v2.109.1: static foreach over tuple: segfault | |||
|---|---|---|---|
| |||
...T...)
{
T fields;
alias fields this;
}
void main ()
{
Tuple!(string) tup;
static foreach (j, t... | |||
November 23 Issues » [Issue 24874] New: Copying, assigning to, and destroying a struct with a union that contains a non-POD struct should be @system | |||
|---|---|---|---|
| |||
...com
This code compiles just fine
---
void main() @safe
{
Foo foo;
auto foo2 = foo;
foo... | |||
November 23 Issues » [Issue 24873] New: dmd v2.109.1: static foreach over tuple: segfault | |||
|---|---|---|---|
| |||
...vogtner.de
crash.d:
```
import std;
void main ()
{
auto tup = tuple!(string, string, string);
static... | |||
November 22 Issues » [Issue 24872] New: Assigning non-copyable value to array has no effect | |||
|---|---|---|---|
| |||
...S
{
int n;
@disable this(this);
}
void main()
{
import std.stdio;
S[1] arr = [S... | |||
Copyright © 1999-2021 by the D Language Foundation