November 23, 2002 problem with property.. | ||||
---|---|---|---|---|
| ||||
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; } //========= |
November 23, 2002 Re: problem with property.. | ||||
---|---|---|---|---|
| ||||
Posted in reply to Lloyd Dupont | 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; > } > //========= > > |
Copyright © 1999-2021 by the D Language Foundation