November 25 Issues » [Issue 19348] Struct casts should be better documented. | |||
|---|---|---|---|
| |||
...this error:
struct S {
int[2] i;
}
void main()
{
S s;
s = cast(S) cast... | |||
November 25 Issues » [Issue 24881] New: ICE on attempt to compare deref of two functions ptr | |||
|---|---|---|---|
| |||
...The following input
```
void function(int) a;
void function(int) b;
void main()
{
const c... | |||
November 25 Issues » [Issue 4152] Function alias forward reference error | |||
|---|---|---|---|
| |||
...code should work:
```d
void f(char){}
void f(double){}
void main()
{
auto badAddrOfOverSet = &f... | |||
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 24 Issues » [Issue 15241] struct literal implicitly converts void* to size_t | |||
|---|---|---|---|
| |||
...expression `cast(const(void*))cast(size_t)1LU` of type `const(void*)` to `ulong` Server... | |||
November 24 Issues » [Issue 24876] New: Undocumented cast from slice to static array | |||
|---|---|---|---|
| |||
...com
Reporter: nick@geany.org
E.g.:
void f(int[] b)
{
char[4] a;
a... | |||
November 23 DIP Ideas » Query Expression Sequence (QES) | |||
|---|---|---|---|
| |||
...ParameterizedVariableTypes parameterizedVariables;
void opIndexAssign(PType)(PType value, string parameterizedVariable);
static if (is(ResultType == void) {
} else... | |||
November 23 Issues » [Issue 24873] dmd v2.109.1: static foreach over tuple: segfault | |||
|---|---|---|---|
| |||
...Tuple(T...)
{
T fields;
alias fields this;
}
void main ()
{
Tuple!(string) tup;
static foreach (j... | |||
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 | |||
|---|---|---|---|
| |||
...jmdavisProg.com
This code compiles just fine
---
void main() @safe
{
Foo foo;
auto foo2 = foo... | |||
November 23 Issues » [Issue 24873] New: dmd v2.109.1: static foreach over tuple: segfault | |||
|---|---|---|---|
| |||
...kdevel@vogtner.de
crash.d:
```
import std;
void main ()
{
auto tup = tuple!(string, string, string... | |||
Copyright © 1999-2021 by the D Language Foundation