D - bug: final
- Carlos Santander B. (13/13) Aug 22 2003 What's the purpose of 'final' in D?
- Walter (3/16) Aug 23 2003 Looks like a compiler bug.
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
Aug 22 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
Aug 23 2003








"Walter" <walter digitalmars.com>