digitalmars.D.bugs - [Issue 4229] New: cast spec
- d-bugmail puremagic.com (22/22) May 23 2010 http://d.puremagic.com/issues/show_bug.cgi?id=4229
- d-bugmail puremagic.com (11/11) Nov 24 2010 http://d.puremagic.com/issues/show_bug.cgi?id=4229
- d-bugmail puremagic.com (12/12) Jan 23 2012 http://d.puremagic.com/issues/show_bug.cgi?id=4229
http://d.puremagic.com/issues/show_bug.cgi?id=4229 Summary: cast spec Product: D Version: unspecified Platform: Other OS/Version: Linux Status: NEW Severity: normal Priority: P2 Component: www.digitalmars.com AssignedTo: nobody puremagic.com ReportedBy: ellery-newcomer utulsa.edu 21:39:25 PDT --- for D2, the spec is missing description of the following: auto i = cast(const) 1; auto i = cast(const shared) 1; {etc} auto i = cast() 1; Love that last one. -- Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email ------- You are receiving this mail because: -------
May 23 2010
http://d.puremagic.com/issues/show_bug.cgi?id=4229 14:20:49 PST --- surprised to find out that the last one actually does something: const(uint) i; const(uint[]) j; assert(is(typeof( cast() i) == uint)); assert(is(typeof( cast() j) == const(uint)[])); and here I was assuming it was a typo. -- Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email ------- You are receiving this mail because: -------
Nov 24 2010
http://d.puremagic.com/issues/show_bug.cgi?id=4229 Walter Bright <bugzilla digitalmars.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |RESOLVED CC| |bugzilla digitalmars.com Resolution| |WORKSFORME 17:50:43 PST --- This is already fixed. -- Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email ------- You are receiving this mail because: -------
Jan 23 2012