Thread overview | |||||
---|---|---|---|---|---|
|
November 25, 2006 [Issue 594] New: can't cast arrayliteral statically | ||||
---|---|---|---|---|
| ||||
http://d.puremagic.com/issues/show_bug.cgi?id=594 Summary: can't cast arrayliteral statically Product: D Version: unspecified Platform: All OS/Version: All Status: NEW Severity: normal Priority: P2 Component: DMD AssignedTo: bugzilla@digitalmars.com ReportedBy: lovesyao@hotmail.com void main(){ const char[] t="abcd"; const ubyte[] t2=cast(ubyte[])t;//ok const char[] t3=['a','b','c','d']; const ubyte[] t4=cast(ubyte[])t3;//error } -- |
November 25, 2006 Re: [Issue 594] New: can't cast arrayliteral statically | ||||
---|---|---|---|---|
| ||||
Posted in reply to d-bugmail Attachments: | d-bugmail@puremagic.com schrieb am 2006-11-25: > http://d.puremagic.com/issues/show_bug.cgi?id=594 > void main(){ > const char[] t="abcd"; > const ubyte[] t2=cast(ubyte[])t;//ok > const char[] t3=['a','b','c','d']; > const ubyte[] t4=cast(ubyte[])t3;//error > } Added to DStress as http://dstress.kuehne.cn/compile/c/cast_33_A.d http://dstress.kuehne.cn/compile/c/cast_33_B.d Thomas |
April 20, 2007 [Issue 594] can't cast arrayliteral statically | ||||
---|---|---|---|---|
| ||||
Posted in reply to d-bugmail | http://d.puremagic.com/issues/show_bug.cgi?id=594 bugzilla@digitalmars.com changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |RESOLVED Resolution| |FIXED ------- Comment #2 from bugzilla@digitalmars.com 2007-04-20 13:16 ------- Fixed DMD 1.013 -- |
Copyright © 1999-2021 by the D Language Foundation