[Issue 14145] opDispatch should be considered over UFCS
via Digitalmars-d-bugs
digitalmars-d-bugs at puremagic.com
Sat Feb 7 18:43:23 PST 2015
https://issues.dlang.org/show_bug.cgi?id=14145
--- Comment #3 from Adam D. Ruppe <destructionator at gmail.com> ---
Yeah, I agree that would be nice. And actually the docs don't say what should
happen when opDispatch fails to compile
http://dlang.org/operatoroverloading.html#dispatch
so ok, now I agree with you, but I think it should be retitled to focus on just
the opDispatch, the ufcs is unrelated. If it fails to compile it will say "no
such property" which has the same root cause and is equally unhelpful.
--
More information about the Digitalmars-d-bugs
mailing list