Don <> changed:

           What    |Removed                     |Added
             Status|NEW                         |RESOLVED
         Resolution|                            |FIXED

--- Comment #1 from Don <> 2011-11-08 02:43:00 PST ---
This test case generated wrong code in 2.053 and earlier, but it actually
should have been accepts-invalid.

Since 2.054 it generates

test.d(3): Error: array cast from string to uint[] is not supported at compile
test.d(8): Error: cannot evaluate toArray("\xdd\xcc\xbb\xaa") at compile time
test.d(8): Error: static assert  (toArray("\xdd\xcc\xbb\xaa")[0u] ==
u) is not evaluatable at compile time

Also the spec now states that such casts are not legal in CTFE.

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

Reply via email to