[Issue 24013] [REG 2.103.0] taking address of an __traits(getOverloads) items is not converted to a delegate anymore
d-bugmail at puremagic.com
d-bugmail at puremagic.com
Sun Jun 25 09:08:11 UTC 2023
https://issues.dlang.org/show_bug.cgi?id=24013
--- Comment #1 from Basile-z <b2.temp at gmx.com> ---
Fully nailed, problem is the type inferred for dg:
```
descriptor.define(descriptor.setter, &overload, member); // OK
auto dg = &overload;
descriptor.define(descriptor.setter, dg, member); // NG
```
--
More information about the Digitalmars-d-bugs
mailing list