[Issue 7534] Allow attribute-overloading of an overridden method

d-bugmail at puremagic.com d-bugmail at puremagic.com
Sat Feb 18 01:36:07 PST 2012


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


yebblies <yebblies at gmail.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |yebblies at gmail.com


--- Comment #1 from yebblies <yebblies at gmail.com> 2012-02-18 20:36:00 EST ---
I assume this is what Walter meant when he said contravariance causes problem
with overloading.

Are you sure it's a good idea to have the first overload selected?  This would
mean removing it would make the second overload the overrider.  While it will
be different once omitting 'override' is an error, override does not change
semantics in any other case, it just confirms and enforces what the compiler
determines anyway.

-- 
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