D - BUG: Cannot return property
- Russ Lewis <spamhole-2001-07-16 deming-os.org> Feb 05 2004
- Manfred Nowak <svv1999 hotmail.com> Feb 05 2004
DMD 0.79 (linux)
This code fails:
class A {
int foo() { return 0; }
}
int bar(A a) {
return a.foo;
}
with the error "cannot implicitly convert int() to int". Converting the
function to
return a.foo+0;
works.
Feb 05 2004
Russ Lewis wrote: [...]with the error "cannot implicitly convert int() to int".
This is already reported in <bv182e$fka$1 digitaldaemon.com>. So long.
Feb 05 2004








Manfred Nowak <svv1999 hotmail.com>