http://d.puremagic.com/issues/show_bug.cgi?id=7534
SomeDude lovelyd...@mailmetrash.com changed:
What|Removed |Added
CC|
http://d.puremagic.com/issues/show_bug.cgi?id=7534
Kenji Hara k.hara...@gmail.com changed:
What|Removed |Added
Status|NEW |RESOLVED
/12885a6cc408bfca83a89b99030697a187860781
Merge pull request #779 from 9rnsr/fix7534
Issue 7534 - Allow attribute-overloading of an overridden method
--
Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email
--- You are receiving this mail because: ---
http://d.puremagic.com/issues/show_bug.cgi?id=7534
--- Comment #6 from Kenji Hara k.hara...@gmail.com 2012-03-03 07:01:05 PST ---
I think this is almost same as issue 3757, and I think additional overload in
derived class is useful and should work.
Example:
// after fixing object const
http://d.puremagic.com/issues/show_bug.cgi?id=7534
Kenji Hara k.hara...@gmail.com changed:
What|Removed |Added
Keywords||pull
--- Comment #7
http://d.puremagic.com/issues/show_bug.cgi?id=7534
deadalnix deadal...@gmail.com changed:
What|Removed |Added
CC||deadal...@gmail.com
http://d.puremagic.com/issues/show_bug.cgi?id=7534
yebblies yebbl...@gmail.com changed:
What|Removed |Added
CC||yebbl...@gmail.com
---
http://d.puremagic.com/issues/show_bug.cgi?id=7534
--- Comment #2 from timon.g...@gmx.ch 2012-02-18 03:26:40 PST ---
The idea is that code like this would be allowed too:
class C{
void foo(){}
}
class D : C {
alias C.foo foo; // inherit from super class
void foo()const{} //
http://d.puremagic.com/issues/show_bug.cgi?id=7534
--- Comment #3 from timon.g...@gmx.ch 2012-02-18 03:33:58 PST ---
NVM, that would break code like the following:
class C{
void foo(){writeln(1);}
void foo()immutable{writeln(2);}
}
class D : C {
alias C.foo foo;
void
http://d.puremagic.com/issues/show_bug.cgi?id=7534
--- Comment #4 from yebblies yebbl...@gmail.com 2012-02-18 23:02:42 EST ---
Heh, that last example should either override both or be an ambiguity error.
--
Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email
--- You
10 matches
Mail list logo