D - BUG: Cannot return property
- Russ Lewis (12/12) Feb 05 2004 DMD 0.79 (linux)
-
Manfred Nowak
(4/5)
Feb 05 2004
This is already reported in
.
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>