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


Maksim Zholudev <[email protected]> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |[email protected]


--- Comment #5 from Maksim Zholudev <[email protected]> 2013-03-04 08:57:00 
PST ---
Now this doesn't work even if lines 3 and 5 go in reverse order:
--------------------
auto x(int z) {
    if (z == 1) {
        return z;
    } else {
        return x(z);
    }
}
void main() {}
--------------------
test.d(6): Error: forward reference to x
--------------------

DMD from Git head:
https://github.com/D-Programming-Language/dmd/commit/13b3bdbf3819fec810ebfb077957510612dfa815

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

Reply via email to