June 16, 2023 General » D’s delegates — The good, the bad, and the ugly | |||
|---|---|---|---|
| |||
...function()` → `void delegate() immutable` → `void delegate() const` → `void delegate()` The first is... | |||
June 15, 2023 Issues » [Issue 23994] New: Compiler fails to derive lambda to be const | |||
|---|---|---|---|
| |||
...102.0
-----
module test;
void call(void delegate(int i) const cb) {
cb(42);
}
struct... | |||
June 09, 2023 Learn » Problem with dmd-2.104.0 -dip1000 & @safe | |||
|---|---|---|---|
| |||
...A(S = string)
{
@safe:
S s;
void delegate() c;
}
struct B(S = string)
{
@safe:
@disable... | |||
June 07, 2023 Issues » [Issue 23978] [REG 2.103.0] ICE: Segmentation fault in dmd.root.aav.dmd_aaGetRvalue at src/dmd/root/aav.d:127 | |||
|---|---|---|---|
| |||
...C) int(char[][]) function).tryExec(scope void() delegate) () #31 0x00005644ce1dda43 in rt.dmain2._d_run... | |||
June 04, 2023 Issues » [Issue 23963] Illegal instruction / segfalult with -preview=dip1021 | |||
|---|---|---|---|
| |||
...dmd.mtype.Parameter, ulong, dmd.mtype.Parameter) delegate, ulong, dmd.mtype.Parameter, ref ulong, dmd... | |||
June 04, 2023 Issues » [Issue 23960] New: opApply and opApplyReverse should work with named mixin templates in aggregates | |||
|---|---|---|---|
| |||
...M(int value) {
int opApply(scope int delegate(ref int i) dg) {
int v = value... | |||
June 02, 2023 Issues » [Issue 23956] New: [REG2.099.0] Can't decide between const and non-const overload with lambda | |||
|---|---|---|---|
| |||
...void fun(scope void delegate( int [])) {}
void fun(scope void delegate(const(int)[])) const {}
}
unittest... | |||
June 02, 2023 Issues » [Issue 23955] New: Can't access non-eponymous members in IFTI template | |||
|---|---|---|---|
| |||
...getArr(scope void delegate(int[]) fn) { fn(arr); }
void getArr(scope void delegate(const(int... | |||
June 01, 2023 Issues » [Issue 23952] New: Cannot declare pointer to function with linkage | |||
|---|---|---|---|
| |||
...f)); // extern (C) int delegate()
//void h(extern (C) int delegate() dg) { } // does not parse
```
-- | |||
May 26, 2023 Issues » [Issue 23939] New: trace handler showing incorrect stack frames | |||
|---|---|---|---|
| |||
...scope int delegate(immutable(object.ModuleInfo*))) [0x102cf5507] ??:? int object.ModuleInfo.opApply(scope int delegate(object... | |||
Copyright © 1999-2021 by the D Language Foundation