Broken?
Walter Bright
newshound2 at digitalmars.com
Wed Mar 12 14:38:10 PDT 2014
On 3/11/2014 2:28 PM, Michel Fortin wrote:
> class Foo
> {
> final:
> void bar();
> void baz();
>
> virtual:
> void crack();
> void crunch();
>
> final:
> void dodge();
> void damp();
> virtual void divert();
> void doh();
> }
class Foo
{
final
{
void bar();
void baz();
}
void crack();
void crunch();
final
{
void dodge();
void damp();
void divert();
void doh();
}
}
That said, there's still a case for !final.
More information about the Digitalmars-d
mailing list