http://d.puremagic.com/issues/show_bug.cgi?id=7726
Walter Bright changed:
What|Removed |Added
CC||bugzi...@digitalmars.com
Seve
http://d.puremagic.com/issues/show_bug.cgi?id=7726
Piotr Szturmaj changed:
What|Removed |Added
CC||psztur...@tlen.pl
--- Comment #1 from
http://d.puremagic.com/issues/show_bug.cgi?id=7726
--- Comment #2 from Manu 2012-03-19 04:09:50 PDT ---
Then I can't use private:, since that suffers from the same problem of not
having a corresponding 'public'.
{
[public virtual methods]
private:
[data members]
final:
[non-virtual met
http://d.puremagic.com/issues/show_bug.cgi?id=7726
--- Comment #3 from Piotr Szturmaj 2012-03-19 05:08:26 PDT
---
You can tag individual members with public/private and final. final: and final
{ } are just for convenience.
You can also try something like this:
{
void virtualMethod() {}
http://d.puremagic.com/issues/show_bug.cgi?id=7726
--- Comment #4 from Manu 2012-03-19 06:25:25 PDT ---
No actually, I want a 'virtual' keyword to write in front of virtual methods.
Not 'virtual:', I don't believe that would be very useful.
What I want is the ability to work exactly the same w
http://d.puremagic.com/issues/show_bug.cgi?id=7726
--- Comment #5 from Manu 2012-03-19 06:33:04 PDT ---
*crap, I tapped tab and the 'commit' button gained focus, and when I pressed
space bar, it posted.*
class MyClass
{
final:
this();
@property void property1(int t)
@property int proper
http://d.puremagic.com/issues/show_bug.cgi?id=7726
--- Comment #6 from Piotr Szturmaj 2012-03-19 07:00:07 PDT
---
You can write it like this:
class MyClass
{
final {
this();
@property void property1(int t)
@property int property1()
@property void thing(int t)
@property int thing()
http://d.puremagic.com/issues/show_bug.cgi?id=7726
--- Comment #7 from Manu 2012-03-19 10:02:13 PDT ---
Yeah, I'll do that in the mean time, but it's not a 'solution'.
I still can't grep for virtual (important). And it's really ugly; breaks
indentation policy, separates things in and out of br
http://d.puremagic.com/issues/show_bug.cgi?id=7726
timon.g...@gmx.ch changed:
What|Removed |Added
CC||timon.g...@gmx.ch
--- Comment #8 fr
https://d.puremagic.com/issues/show_bug.cgi?id=7726
Andrej Mitrovic changed:
What|Removed |Added
Status|NEW |RESOLVED
CC|
10 matches
Mail list logo