| 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@gdcproject.org |
| Reporter | ketmar@ketmar.no-ip.org |
Created attachment 82 [details]
__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.