How Nested Functions Work, part 1

Walter Bright newshound1 at digitalmars.com
Mon Aug 31 12:17:28 PDT 2009


language_fan wrote:
> For what it's worth, they also seem somewhat buggy in D. Hopefully 
> writing the articles motivates fixing those issues :) For example one 
> can't call symbols before their declaration on non-global scope.

That's actually not a bug. In function scopes, you can't reference a 
variable before use, either.



More information about the Digitalmars-d mailing list