Broken?
Steven Schveighoffer
schveiguy at yahoo.com
Thu Mar 13 06:25:46 PDT 2014
On Wed, 12 Mar 2014 17:38:10 -0400, Walter Bright
<newshound2 at digitalmars.com> wrote:
> 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.
Fixed it for you.
class Foo
{
final
{
void bar();
void baz();
}
void crack();
void crunch();
final
{
void dodge();
void damp();
}
void divert();
final void doh();
}
-Steve
More information about the Digitalmars-d
mailing list