June 26, 2017 [Issue 7841] Better error message for wrong template argument with ref | ||||
---|---|---|---|---|
| ||||
https://issues.dlang.org/show_bug.cgi?id=7841 Vladimir Panteleev <dlang-bugzilla@thecybershadow.net> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |RESOLVED CC| |dlang-bugzilla@thecybershad | |ow.net Resolution|--- |WORKSFORME --- Comment #1 from Vladimir Panteleev <dlang-bugzilla@thecybershadow.net> --- Error message now looks like: test.d(3,8): Error: template test.foo cannot deduce function from argument types !()(const(int[])), candidates are: test.d(1,6): test.foo(T)(ref T[] a) Hopefully that qualifies as an improvement! -- |
Copyright © 1999-2021 by the D Language Foundation