Summary: [CTFE] CTFE return values should be allowed in
                    compile-time expressions
           Product: D
           Version: D1 & D2
          Platform: All
        OS/Version: All
            Status: NEW
          Severity: normal
          Priority: P2
         Component: DMD

--- Comment #0 from Don <> 2012-04-26 01:19:17 PDT ---
Things like this should work. It currently doesn't because CTFE ends when the
function finishes.

class X7988 { int y; this() { y = 2; }}
static assert( (new X7988).y == 2);

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

Reply via email to