https://issues.dlang.org/show_bug.cgi?id=2270
Iain Buclaw changed:
What|Removed |Added
Priority|P2 |P4
--
https://issues.dlang.org/show_bug.cgi?id=2270
anonymous4 changed:
What|Removed |Added
Severity|normal |enhancement
--- Comment #17 from anonymous4 ---
https://issues.dlang.org/show_bug.cgi?id=2270
Steven Schveighoffer changed:
What|Removed |Added
Version|D1 (retired)|D2
Severity|enhancement
https://issues.dlang.org/show_bug.cgi?id=2270
Steven Schveighoffer changed:
What|Removed |Added
Status|RESOLVED|REOPENED
Resolution|WORKSFORME
https://issues.dlang.org/show_bug.cgi?id=2270
RazvanN changed:
What|Removed |Added
Status|NEW |RESOLVED
CC|
http://d.puremagic.com/issues/show_bug.cgi?id=2270
bearophile_h...@eml.cc changed:
What|Removed |Added
CC||bearophile_h...@eml.cc
--- Com
http://d.puremagic.com/issues/show_bug.cgi?id=2270
--- Comment #12 from Stewart Gordon 2011-07-11 14:41:54 PDT ---
(In reply to comment #8)
> IMO, cast should be reserved for specifically "I know what I'm
> doing" stuff. dynamic cast (casting from a base to derived class)
> should really be h
http://d.puremagic.com/issues/show_bug.cgi?id=2270
--- Comment #11 from Steven Schveighoffer 2011-07-11
10:20:10 PDT ---
(In reply to comment #10)
> Actually, I'm looking at std.conv.to in that pull request and see a
> significant
> bug, because cast is so dangerous! (will file in a minute)
http://d.puremagic.com/issues/show_bug.cgi?id=2270
--- Comment #10 from Steven Schveighoffer 2011-07-11
09:08:48 PDT ---
(In reply to comment #9)
> On a semi-related but not all that related note
Interesting :)
> I would point out to Steven
> that Kenji has made pull requests related to std.
http://d.puremagic.com/issues/show_bug.cgi?id=2270
Jonathan M Davis changed:
What|Removed |Added
CC||jmdavisp...@gmx.com
--- Comment #9
http://d.puremagic.com/issues/show_bug.cgi?id=2270
Steven Schveighoffer changed:
What|Removed |Added
Keywords|wrong-code |
CC|
http://d.puremagic.com/issues/show_bug.cgi?id=2270
--- Comment #7 from yebblies 2011-07-12 00:38:32 EST ---
(In reply to comment #6)
> (In reply to comment #5)
> > I do understand, but nothing you've said changes the fact that the behavior
> > is
> > completely intentional.
>
> What is your
http://d.puremagic.com/issues/show_bug.cgi?id=2270
--- Comment #6 from Stewart Gordon 2011-07-11 06:45:20 PDT ---
(In reply to comment #5)
> I do understand, but nothing you've said changes the fact that the behavior is
> completely intentional.
What is your source for this "fact"?
> Cast is
http://d.puremagic.com/issues/show_bug.cgi?id=2270
--- Comment #5 from yebblies 2011-07-11 23:36:00 EST ---
I do understand, but nothing you've said changes the fact that the behavior is
completely intentional. Cast is, as always, a blunt instrument that bypasses
the type system. Another exam
http://d.puremagic.com/issues/show_bug.cgi?id=2270
--- Comment #4 from Stewart Gordon 2011-07-11 04:28:28 PDT ---
> On the other hand, I can't see anybody wanting what actually happens when you
> try casting an object array to an interface array. And it's an easy mistake
> to
> make, either
>
http://d.puremagic.com/issues/show_bug.cgi?id=2270
--- Comment #3 from Stewart Gordon 2011-07-11 04:21:01 PDT ---
I disagree. The primary purpose of casting is simply to force an expression to
a specified type. This cast may or may not be legal. For example, you can't
cast between different
http://d.puremagic.com/issues/show_bug.cgi?id=2270
yebblies changed:
What|Removed |Added
CC||yebbl...@gmail.com
--- Comment #2 from yebb
http://d.puremagic.com/issues/show_bug.cgi?id=2270
s...@iname.com changed:
What|Removed |Added
CC||s...@iname.com
Keywords|
18 matches
Mail list logo