August 22, 2003
What's the purpose of 'final' in D?
This code compiles just fine:
final class A {}
class B:A { }
void main() {
 B b=new B();
}

-------------------------
Carlos Santander


---
Outgoing mail is certified Virus Free.
Checked by AVG anti-virus system (http://www.grisoft.com).
Version: 6.0.512 / Virus Database: 309 - Release Date: 2003-08-19


August 23, 2003
Looks like a compiler bug.

"Carlos Santander B." <carlos8294@msn.com> wrote in message news:bi65mo$2a9n$1@digitaldaemon.com...
> What's the purpose of 'final' in D?
> This code compiles just fine:
> final class A {}
> class B:A { }
> void main() {
>  B b=new B();
> }
>
> -------------------------
> Carlos Santander
>
>
> ---
> Outgoing mail is certified Virus Free.
> Checked by AVG anti-virus system (http://www.grisoft.com).
> Version: 6.0.512 / Virus Database: 309 - Release Date: 2003-08-19
>
>