Thread overview | |||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|
|
July 21, 2017 [Issue 10602] Better error message for wrong template lambda given to function | ||||
---|---|---|---|---|
| ||||
https://issues.dlang.org/show_bug.cgi?id=10602 Vladimir Panteleev <dlang-bugzilla@thecybershadow.net> changed: What |Removed |Added ---------------------------------------------------------------------------- See Also| |https://issues.dlang.org/sh | |ow_bug.cgi?id=17477, | |https://issues.dlang.org/sh | |ow_bug.cgi?id=9423 -- |
December 17, 2022 [Issue 10602] Better error message for wrong template lambda given to function | ||||
---|---|---|---|---|
| ||||
https://issues.dlang.org/show_bug.cgi?id=10602 Iain Buclaw <ibuclaw@gdcproject.org> changed: What |Removed |Added ---------------------------------------------------------------------------- Priority|P2 |P3 -- |
February 01, 2023 [Issue 10602] Better error message for wrong template lambda given to function | ||||
---|---|---|---|---|
| ||||
https://issues.dlang.org/show_bug.cgi?id=10602 Nick Treleaven <nick@geany.org> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |nick@geany.org --- Comment #1 from Nick Treleaven <nick@geany.org> --- It now also prints e.g.: badlambda.d(4): cannot pass argument `__lambda2` of type `void` to parameter `int function(int) f` It would be nice if it said: (4): Error: lambda returns `double`, expected `int` (5): Error: lambda does not accept arguments `(int)` -- |
February 02, 2023 [Issue 10602] Better error message for wrong template lambda given to function | ||||
---|---|---|---|---|
| ||||
https://issues.dlang.org/show_bug.cgi?id=10602 andy.pj.hanson@gmail.com changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |andy.pj.hanson@gmail.com -- |
February 03, 2023 [Issue 10602] Error should state why wrong template lambda cannot be passed to function | ||||
---|---|---|---|---|
| ||||
https://issues.dlang.org/show_bug.cgi?id=10602 Nick Treleaven <nick@geany.org> changed: What |Removed |Added ---------------------------------------------------------------------------- Summary|Better error message for |Error should state why |wrong template lambda given |wrong template lambda |to function |cannot be passed to | |function -- |
February 03, 2023 [Issue 10602] Error should state why wrong template lambda doesn't match expected function type | ||||
---|---|---|---|---|
| ||||
https://issues.dlang.org/show_bug.cgi?id=10602 Nick Treleaven <nick@geany.org> changed: What |Removed |Added ---------------------------------------------------------------------------- Summary|Error should state why |Error should state why |wrong template lambda |wrong template lambda |cannot be passed to |doesn't match expected |function |function type -- |
August 19, 2023 [Issue 10602] Error should state why wrong template lambda doesn't match expected function type | ||||
---|---|---|---|---|
| ||||
https://issues.dlang.org/show_bug.cgi?id=10602 Dlang Bot <dlang-bot@dlang.rocks> changed: What |Removed |Added ---------------------------------------------------------------------------- Keywords| |pull --- Comment #2 from Dlang Bot <dlang-bot@dlang.rocks> --- @ntrel created dlang/dmd pull request #15544 "Fix Issue 10602 - Error should state why wrong template lambda doesn'…" fixing this issue: - Fix Issue 10602 - Error should state why wrong template lambda doesn't match expected function type https://github.com/dlang/dmd/pull/15544 -- |
Copyright © 1999-2021 by the D Language Foundation