[Issue 21205] Struct comparison does not follow spec

d-bugmail at puremagic.com d-bugmail at puremagic.com
Tue Sep 15 04:11:42 UTC 2020


https://issues.dlang.org/show_bug.cgi?id=21205

RazvanN <razvan.nitu1305 at gmail.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |razvan.nitu1305 at gmail.com

--- Comment #1 from RazvanN <razvan.nitu1305 at gmail.com> ---
Hmmm...here we have equal match for both functions therefore, according to the
spec, we should have an error, however, the compiler chooses the first function
that. I'm not sure if this is a feature or a bug (should we change the spec or
modify the behavior of the compiler?).

--


More information about the Digitalmars-d-bugs mailing list