[Issue 11848] Crash on 'enum factorial5=(a=>a==0?1:a*__traits(parent,{})(a-1))(5); '

d-bugmail at puremagic.com d-bugmail at puremagic.com
Sat Jan 4 23:27:38 PST 2014


https://d.puremagic.com/issues/show_bug.cgi?id=11848


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

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |RESOLVED
         Resolution|                            |DUPLICATE


--- Comment #1 from Kenji Hara <k.hara.pg at gmail.com> 2014-01-04 23:27:36 PST ---
With git head:

test.d(1): Error: forward reference to inferred return type of function call
__traits(parent, function ()
{
}
)(a - 1)

*** This issue has been marked as a duplicate of issue 10922 ***

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


More information about the Digitalmars-d-bugs mailing list