[Issue 5288] auto return: forward ref error when using it with recursive functions

d-bugmail at puremagic.com d-bugmail at puremagic.com
Fri Nov 25 11:13:06 PST 2011


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


Kenji Hara <k.hara.pg at gmail.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
           Platform|Other                       |All
         OS/Version|Linux                       |All


--- Comment #3 from Kenji Hara <k.hara.pg at gmail.com> 2011-11-25 11:12:06 PST ---
There is mutually recursive call as a slightly more complex case.

>From http://d.puremagic.com/issues/show_bug.cgi?id=2810#c8

auto foo()
{
    bar();
    return 1;
}

auto bar()
{
    foo();
    return 1;
}

-- 
Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email
------- You are receiving this mail because: -------


More information about the Digitalmars-d-bugs mailing list