[Issue 3835] ref foreach does not work in CTFE

d-bugmail at puremagic.com d-bugmail at puremagic.com
Mon Feb 7 00:59:48 PST 2011


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


Don <clugdbug at yahoo.com.au> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
           Keywords|                            |wrong-code


--- Comment #12 from Don <clugdbug at yahoo.com.au> 2011-02-07 00:57:25 PST ---
(In reply to comment #11)
> This bug is worse than it might seem from reading the »rejects-valid« keyword –
> DMD 2.051 happily executes ref foreach during compile-time, but generates wrong
> results silently.
> 
> Should we add a »wrong-ctfe« tag or something like that?

No, incorrect CTFE should just be marked as wrong-code. Yup, this one's
important.

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


More information about the Digitalmars-d-bugs mailing list