Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

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.


> 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?


Nested functions are done in one pass. As you might infer, they cannot be forward referenced within the function.




Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: