[Issue 5171] @disable doesn't work on opEquals functions

d-bugmail at puremagic.com d-bugmail at puremagic.com
Fri Nov 5 11:16:43 PDT 2010


http://d.puremagic.com/issues/show_bug.cgi?id=5171


bearophile_hugs at eml.cc changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |bearophile_hugs at eml.cc


--- Comment #2 from bearophile_hugs at eml.cc 2010-11-05 11:15:45 PDT ---
(In reply to comment #1)
> This isn't actually possible.  What I would suggest is the compiler failing to
> compile your class instead, because you can't disable a base function.

I agree. Where possible a good compiler has to statically disallow impossible
code :-)

-- 
Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email
------- You are receiving this mail because: -------


More information about the Digitalmars-d-bugs mailing list