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

           Summary: [CTFE] Declaration static struct is not yet
                    implemented in CTFE
           Product: D
           Version: D2
          Platform: All
        OS/Version: All
            Status: NEW
          Keywords: rejects-valid
          Severity: normal
          Priority: P2
         Component: DMD
        AssignedTo: nob...@puremagic.com
        ReportedBy: kenn...@gmail.com


--- Comment #0 from kenn...@gmail.com 2011-07-31 06:44:34 PDT ---
Test case:

--------------------
static assert({
    static struct S {}
    return true;
}());
--------------------
x.d(2): Error: Declaration static struct S
{
}

 is not yet implemented in CTFE
...
--------------------

Declaring and using a normal inner struct is supported.

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

Reply via email to