[Issue 12578] Allow local function overloading

via Digitalmars-d-bugs digitalmars-d-bugs at puremagic.com
Wed Apr 23 05:15:41 PDT 2014


https://issues.dlang.org/show_bug.cgi?id=12578

--- Comment #7 from Kenji Hara <k.hara.pg at gmail.com> ---
One more issue which has same root is a mutual call of local functions.

void test() {
  void foo() { bar(); } // error, bar not defined
  void bar() { foo(); } // ok
}

My proposal in comment#5 could resolve the case with same way.

--


More information about the Digitalmars-d-bugs mailing list