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



--- Comment #2 from Vladimir Panteleev <[email protected]> 2014-02-03 
16:08:25 EET ---
Sorry, that's not right. I forgot the parens.

enum x = { return 5; }(); // allowed

struct S
{
    enum y = { return 5; }(); // forbidden
}

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

Reply via email to