View mode: basic / threaded / horizontal-split · Log in · Help
April 03, 2012
Nested functions should be exempt from sequential visibility rules
Regarding this:

http://d.puremagic.com/issues/show_bug.cgi?id=790

I submit that nested functions should be exempt from the usual sequential 
visibility rules. (Therefore, mutually recursive nested functions would 
become possible.)

Or at the very *least*, this horrific C-like workaround should be possible:

void foo()
{
   void b();
   void a() {...};
   void b() {...};
}

...Flame away! ;)
April 03, 2012
Re: Nested functions should be exempt from sequential visibility rules
Sorry, I didn't mean this to go into "D.announce". Reposting in the proper 
place... Can this one be deleted?
Top | Discussion index | About this forum | D home