https://issues.dlang.org/show_bug.cgi?id=3345
--- Comment #23 from Max Samukha <maxsamu...@gmail.com> --- (In reply to Walter Bright from comment #17) > > But having different error messages depending on the order of declarations > > is definitely wrong. > > Probably, but it's a minor issue, as both messages are correct. If there is a matching static overload, "need 'this'" without "matches both" is misleading. I've filed https://issues.dlang.org/show_bug.cgi?id=22157 for that. --