http://d.puremagic.com/issues/show_bug.cgi?id=2538
2kor...@gmail.com changed:
What|Removed |Added
Status|REOPENED|RESOLVED
Resolution|
http://d.puremagic.com/issues/show_bug.cgi?id=2524
2kor...@gmail.com changed:
What|Removed |Added
CC||2kor...@gmail.com
---
http://d.puremagic.com/issues/show_bug.cgi?id=1175
--- Comment #2 from helmutdureg...@gmx.at 2009-01-20 05:08 ---
Seems to be related to http://d.puremagic.com/issues/show_bug.cgi?id=2342
--
http://d.puremagic.com/issues/show_bug.cgi?id=2524
--- Comment #7 from schvei...@yahoo.com 2009-01-20 11:09 ---
In fact, private implies final (non-virtual), and does not put the function in
the vtable (meaning it cannot override a base function). From the spec: All
non-static
http://d.puremagic.com/issues/show_bug.cgi?id=2524
--- Comment #8 from s...@iname.com 2009-01-20 12:25 ---
(In reply to comment #7)
In fact, private implies final (non-virtual), and does not put the function in
the vtable (meaning it cannot override a base function). From the
http://d.puremagic.com/issues/show_bug.cgi?id=2538
s...@iname.com changed:
What|Removed |Added
CC||s...@iname.com
--- Comment #5
http://d.puremagic.com/issues/show_bug.cgi?id=2538
--- Comment #6 from schvei...@yahoo.com 2009-01-20 14:53 ---
(In reply to comment #5)
See issue 2524 comment 8. However, this brings us back to the problem of
inheritance protection, previously brought up in issue 177 and issue
http://d.puremagic.com/issues/show_bug.cgi?id=2538
--- Comment #7 from 2kor...@gmail.com 2009-01-20 16:57 ---
(In reply to comment #6)
I would propose that it should be an error to implement an interface with
private protection. It makes no sense, as an interface is used where you
http://d.puremagic.com/issues/show_bug.cgi?id=2524
--- Comment #10 from schvei...@yahoo.com 2009-01-20 17:15 ---
But I can still cast to the interface. Protection attributes are compile-time
entities, they are not flagged at runtime:
SoundManager s;
Object o = s;
INetworkListener
http://d.puremagic.com/issues/show_bug.cgi?id=2524
--- Comment #11 from 2kor...@gmail.com 2009-01-21 01:10 ---
(In reply to comment #10)
But I can still cast to the interface. Protection attributes are compile-time
entities, they are not flagged at runtime:
SoundManager s;
http://d.puremagic.com/issues/show_bug.cgi?id=2596
--- Comment #1 from 2kor...@gmail.com 2009-01-21 01:19 ---
S s = S();
What should be called - a default ctor or S.this() with empty tuple?
--
11 matches
Mail list logo