D - problem with property..
- "Lloyd Dupont" <lloyd galador.net> Nov 23 2002
- "Walter" <walter digitalmars.com> Nov 23 2002
the following simple code doesn't compile.
dmd (v0.50) pretend uu is not a field
//=========
class CLS
{
void uu(int i) {}
int uu() { return 4; }
}
int main() {
CLS c = new CLS();
printf("%d\n\0", c.uu);
return 0;
}
//=========
Nov 23 2002
The property function stuff isn't implemented yet. Sorry. -Walter "Lloyd Dupont" <lloyd galador.net> wrote in message news:arno4p$8ia$1 digitaldaemon.com...the following simple code doesn't compile. dmd (v0.50) pretend uu is not a field //========= class CLS { void uu(int i) {} int uu() { return 4; } } int main() { CLS c = new CLS(); printf("%d\n\0", c.uu); return 0; } //=========
Nov 23 2002








"Walter" <walter digitalmars.com>