Summary: symbols used in CTFE affect the function literal type
           Product: D
           Version: D2
          Platform: All
        OS/Version: All
            Status: NEW
          Severity: normal
          Priority: P2
         Component: DMD

--- Comment #0 from 2012-06-13 07:33:14 PDT ---
DMD 2.059:

void foo(){
    immutable int x = 0;
    static assert(is(typeof(*(){enum e=x;return e;})==function)); // fail

The static assertion should pass.

Configure issuemail:
------- You are receiving this mail because: -------

Reply via email to