[Issue 2810] Bogus forward reference error with auto function

d-bugmail at puremagic.com d-bugmail at puremagic.com
Wed Jan 26 13:27:45 PST 2011


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


Andrei Alexandrescu <andrei at metalanguage.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |andrei at metalanguage.com


--- Comment #11 from Andrei Alexandrescu <andrei at metalanguage.com> 2011-01-26 13:25:36 PST ---
Occurs also when using with typeof:

auto fun() { return 1; }
int gun(typeof(fun()) x) { return 2 + x; }

void main()
{
    gun(3);
}

-- 
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