digitalmars.D - "Forward declaration" error with auto
- Sean Eskapp (4/4) Jan 10 2011 Referring to functions declared later inside a module with return type a...
- Simen kjaeraas (5/11) Jan 10 2011 Nope. Likely bug #2810[1].
- Andrej Mitrovic (2/2) Jan 10 2011 I've repoted this a few days ago:
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?
Jan 10 2011
Sean Eskapp <eatingstaples 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?[1]: http://d.puremagic.com/issues/show_bug.cgi?id=2810 -- Simen
Jan 10 2011
I've repoted this a few days ago: http://d.puremagic.com/issues/show_bug.cgi?id=5433
Jan 10 2011