"Forward declaration" error with auto
Simen kjaeraas
simen.kjaras at gmail.com
Mon Jan 10 08:47:14 PST 2011
Sean Eskapp <eatingstaples at gmail.com> wrote:
> Referring to functions declared later inside a module with return type
> auto
> causes an error, but not when the return type is explicitly declared.
>
> The same goes for calling functions in other modules with return type
> auto. Is
> this supposed to happen?
Nope. Likely bug #2810[1].
[1]: http://d.puremagic.com/issues/show_bug.cgi?id=2810
--
Simen
More information about the Digitalmars-d
mailing list