[Issue 2542] array casts behave differently at compile and runtime

d-bugmail at puremagic.com d-bugmail at puremagic.com
Tue Jan 6 04:53:28 PST 2009


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


smjg at iname.com changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |smjg at iname.com




------- Comment #3 from smjg at iname.com  2009-01-06 06:53 -------
So [cast(byte)1, 1] isn't a byte[], an int[] or anything like that, but of an
internal 'array literal' type.

Then why is [cast(byte)1, 1].dup not also of this internal 'array literal'
type?


-- 



More information about the Digitalmars-d-bugs mailing list