[Issue 2810] Forward reference to an auto function

d-bugmail at puremagic.com d-bugmail at puremagic.com
Tue Sep 29 02:05:31 PDT 2009


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


Sobirari Muhomori <maxmo at pochta.ru> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
            Summary|Nonsensical forward         |Forward reference to an
                   |reference error - stringof  |auto function
                   |an auto function            |


--- Comment #3 from Sobirari Muhomori <maxmo at pochta.ru> 2009-09-29 02:05:31 PDT ---
Seems like this is a general forward reference bug, not specific to stringof.
----
void fun()
{
    gun(); //Error: forward reference to gun
}
auto gun()
{
    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