January 10, 2011
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?
January 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?

Nope. Likely bug #2810[1].

[1]: http://d.puremagic.com/issues/show_bug.cgi?id=2810

-- 
Simen
January 10, 2011
I've repoted this a few days ago: http://d.puremagic.com/issues/show_bug.cgi?id=5433
Top | Discussion index | About this forum | D home