Bug 19114 – cannot uniquely infer foreach argument types is not a descriptive message

Status
NEW
Severity
enhancement
Priority
P4
Component
dmd
Product
D
Version
D2
Platform
All
OS
All
Creation time
2018-07-24T07:39:47Z
Last change time
2024-12-13T18:59:49Z
Assigned to
No Owner
Creator
Mathias LANG
Moved to GitHub: dmd#19465 →

Comments

Comment #0 by pro.mathias.lang — 2018-07-24T07:39:47Z
When `opApply` cannot infer the arguments, it gives this very obscure error message, leaving the developer with little to no idea as to what went wrong. It should be improved to show why the inference was not possible.
Comment #1 by robert.schadek — 2024-12-13T18:59:49Z
THIS ISSUE HAS BEEN MOVED TO GITHUB https://github.com/dlang/dmd/issues/19465 DO NOT COMMENT HERE ANYMORE, NOBODY WILL SEE IT, THIS ISSUE HAS BEEN MOVED TO GITHUB