February 05, 2004 BUG: Cannot return property | ||||
---|---|---|---|---|
| ||||
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. |
February 06, 2004 Re: BUG: Cannot return property | ||||
---|---|---|---|---|
| ||||
Posted in reply to Russ Lewis | Russ Lewis wrote: [...] > with the error "cannot implicitly convert int() to int". This is already reported in <bv182e$fka$1@digitaldaemon.com>. So long. |
Copyright © 1999-2021 by the D Language Foundation