January 19, 2023 General » Re: Trying to use Mir ion, its a perfect example of the failure of D's attribute system | |||
|---|---|---|---|
| |||
void process()(void delegate() userData) {}
| |||
January 19, 2023 General » Re: Trying to use Mir ion, its a perfect example of the failure of D's attribute system | |||
|---|---|---|---|
| |||
...a @nogc delegate. But if the caller is GC allocating, then an allocating delegate is... | |||
January 19, 2023 General » Re: Trying to use Mir ion, its a perfect example of the failure of D's attribute system | |||
|---|---|---|---|
| |||
If a function takes a delegate, there is no way (outside of changing the type... | |||
January 16, 2023 Issues » [Issue 15129] std.parallelism.parallel doesn't enforce shared-correctness | |||
|---|---|---|---|
| |||
...delegate context parameter should require `shared` (which would allow `immutable` too). Unfortunately the opApply delegate... | |||
January 16, 2023 Issues » [Issue 23626] [REG2.096] Template deduction with auto const ref Args... and delegate | |||
|---|---|---|---|
| |||
https://issues.dlang.org/show_bug.cgi?id=23626 --- Comment #9 from Dlang Bot <dlang... | |||
January 16, 2023 Issues » [Issue 23633] New: allow pure functions to call impure functions passed as parameters | |||
|---|---|---|---|
| |||
...com
Basically, permit this:
```
void foo(void delegate() dg) pure {
dg();
}
```
Similarly to how you... | |||
January 15, 2023 Issues » [Issue 23626] [REG2.096] Template deduction with auto const ref Args... and delegate | |||
|---|---|---|---|
| |||
...deduction with auto const ref Args... and delegate https://github.com/dlang/dmd/pull/14823 -- | |||
January 15, 2023 Issues » [Issue 23626] [REG2.096] Template deduction with auto const ref Args... and delegate | |||
|---|---|---|---|
| |||
...deduction with auto const ref Args... and delegate" was merged into stable: - ca530908ce1ce07d52f0c90aaa5f3824cbc7816e by Iain... | |||
January 15, 2023 Issues » [Issue 11044] Escaping references to lazy argument are allowed and compile to wrong code | |||
|---|---|---|---|
| |||
...delegate, so it should be easy to just lower to the right kind of delegate... | |||
January 15, 2023 Issues » [Issue 23628] `@safe` prohibits capture of lazy delegate | |||
|---|---|---|---|
| |||
...Removed |Added
----------------------------------------------------------------------------
Summary|`@safe` prohibits capture |`@safe` prohibits capture
|if lazy delegate |of lazy delegate
-- | |||
Copyright © 1999-2021 by the D Language Foundation