[Issue 7492] [CTFE] Error at assign to immutable character array

d-bugmail at puremagic.com d-bugmail at puremagic.com
Thu Feb 23 02:07:15 PST 2012


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


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

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |clugdbug at yahoo.com.au


--- Comment #1 from Don <clugdbug at yahoo.com.au> 2012-02-23 02:06:22 PST ---
I'm not sure about this. The int[] case may be an accepts-invalid bug.

If you move the declaration of 's' into the inside of a function, you get the
same error message, even though CTFE is not involved. And when you do that, if
it's an int[] instead of char[], you get the same error.

In any case the error is not generated by CTFE.

-- 
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