Better HN
top
new
best
ask
show
jobs
Log in
Sign up
Better HN
Comment
by
anticensor
· 8y ago · 0 comments
They do not want to break single-pass compilers. Nested functions with no forward declarations will require a multi-pass compiler. I think your D compiler is multi-pass already.
Comments
[–]
naasking
8y ago
> They do not want to break single-pass compilers. Nested functions with no forward declarations will require a multi-pass compiler.
Why is that exactly?
[–]
WalterBright
8y ago
Nested functions are done in one pass. As you might infer, they cannot be forward referenced within the function.