https://issues.dlang.org/show_bug.cgi?id=20596
Walter Bright changed:
What|Removed |Added
Status|REOPENED|RESOLVED
Resolution|---
https://issues.dlang.org/show_bug.cgi?id=20596
--- Comment #8 from Walter Bright ---
Closed and new bug report created:
https://issues.dlang.org/show_bug.cgi?id=21140
--
https://issues.dlang.org/show_bug.cgi?id=20596
Walter Bright changed:
What|Removed |Added
See Also||https://issues.dlang.org/sh
https://issues.dlang.org/show_bug.cgi?id=20596
--- Comment #7 from johanenge...@weka.io ---
Another example that fails compilation:
```
struct S(T) {
void delegate() dg;
this(scope void delegate() dg)
{
this.dg = dg;
}
}
// The explicit `scope` here is not used in
https://issues.dlang.org/show_bug.cgi?id=20596
johanenge...@weka.io changed:
What|Removed |Added
Status|RESOLVED|REOPENED
Resolution|FIXED
https://issues.dlang.org/show_bug.cgi?id=20596
Dlang Bot changed:
What|Removed |Added
Status|NEW |RESOLVED
Resolution|---
https://issues.dlang.org/show_bug.cgi?id=20596
Walter Bright changed:
What|Removed |Added
See Also||https://issues.dlang.org/sh
https://issues.dlang.org/show_bug.cgi?id=20596
Dlang Bot changed:
What|Removed |Added
Keywords||pull
--- Comment #4 from Dlang Bot ---
https://issues.dlang.org/show_bug.cgi?id=20596
--- Comment #3 from Walter Bright ---
Here's the problem. There were two PRs:
https://github.com/dlang/dmd/pull/8504
which extended checking of addressing of delegates to constructor calls with
the line in expressionsem.d:
if
https://issues.dlang.org/show_bug.cgi?id=20596
Walter Bright changed:
What|Removed |Added
CC||bugzi...@digitalmars.com
--- Comment #2
https://issues.dlang.org/show_bug.cgi?id=20596
johanenge...@weka.io changed:
What|Removed |Added
Keywords||performance
--
https://issues.dlang.org/show_bug.cgi?id=20596
--- Comment #1 from johanenge...@weka.io ---
Extra note: the error is only triggered if the delegate is defined in an @nogc
function. Without @nogc, this is a silent performance regression (or worse).
--
https://issues.dlang.org/show_bug.cgi?id=20596
johanenge...@weka.io changed:
What|Removed |Added
Keywords||industry, rejects-valid
--
13 matches
Mail list logo