[Bug 176] New: __ctfe variable should not be readable in CTFE

via D.gnu d.gnu at puremagic.com
Tue Feb 10 09:52:19 PST 2015


http://bugzilla.gdcproject.org/show_bug.cgi?id=176

            Bug ID: 176
           Summary: __ctfe variable should not be readable in CTFE
           Product: GDC
           Version: development
          Hardware: All
                OS: All
            Status: NEW
          Severity: normal
          Priority: Normal
         Component: gdc
          Assignee: ibuclaw at gdcproject.org
          Reporter: ketmar at ketmar.no-ip.org

Created attachment 82
  --> http://bugzilla.gdcproject.org/attachment.cgi?id=82&action=edit
__ctfe ctfe fix

yes, this is a bug (that solved in upcoming 2.067). this code must trigger
compilation error:

  static if (__ctfe) {}

i attached a fix, backported from dmd.

-- 
You are receiving this mail because:
You are watching all bug changes.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.puremagic.com/pipermail/d.gnu/attachments/20150210/e627f481/attachment.html>


More information about the D.gnu mailing list