Thread overview | |||||
---|---|---|---|---|---|
|
April 06, 2021 [Issue 21804] Type list (tuple) not expanded in delegate during IFTI | ||||
---|---|---|---|---|
| ||||
https://issues.dlang.org/show_bug.cgi?id=21804 --- Comment #1 from Vladimir Panteleev <dlang-bugzilla@thecybershadow.net> --- Found a really weird workaround: fun ((result) { }); // OK fun ((result) { result.m(); }); // OK ????? Looks like we can trick the compiler into doing the right thing by first making a dummy instantiation which does not access `result`. -- |
December 17, 2022 [Issue 21804] Type list (tuple) not expanded in delegate during IFTI | ||||
---|---|---|---|---|
| ||||
https://issues.dlang.org/show_bug.cgi?id=21804 Iain Buclaw <ibuclaw@gdcproject.org> changed: What |Removed |Added ---------------------------------------------------------------------------- Priority|P1 |P3 -- |
July 13 [Issue 21804] Type list (tuple) not expanded in delegate during IFTI | ||||
---|---|---|---|---|
| ||||
https://issues.dlang.org/show_bug.cgi?id=21804 Nick Treleaven <nick@geany.org> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |nick@geany.org --- Comment #2 from Nick Treleaven <nick@geany.org> --- Using: fun ((result) { pragma(msg, typeof(result)); }); The pragma fires twice: (S) S -- |
Copyright © 1999-2021 by the D Language Foundation