https://issues.dlang.org/show_bug.cgi?id=5747
Basile-z changed:
What|Removed |Added
Status|REOPENED|RESOLVED
CC|
https://issues.dlang.org/show_bug.cgi?id=5747
Basile-z changed:
What|Removed |Added
CC|b2.t...@gmx.com |
--
http://d.puremagic.com/issues/show_bug.cgi?id=5747
Jonathan M Davis changed:
What|Removed |Added
CC||jmdavisp...@gmx.com
--- Comment #1
http://d.puremagic.com/issues/show_bug.cgi?id=5747
Nick Treleaven changed:
What|Removed |Added
Status|NEW |RESOLVED
Resolution|
http://d.puremagic.com/issues/show_bug.cgi?id=5747
Jonathan M Davis changed:
What|Removed |Added
Status|RESOLVED|REOPENED
Platform|Other
http://d.puremagic.com/issues/show_bug.cgi?id=5747
monarchdo...@gmail.com changed:
What|Removed |Added
CC||monarchdo...@gmail.com
--- Com
https://d.puremagic.com/issues/show_bug.cgi?id=5747
--- Comment #5 from Kenji Hara 2013-12-10 17:34:52 PST ---
I'm still not sure about this bug, because special handling for the
_qualifier-only-different cast_ could cause opposite problem in generic code.
template X(T, U) {
...
T foo() {
https://d.puremagic.com/issues/show_bug.cgi?id=5747
Max Samukha changed:
What|Removed |Added
CC||samu...@voliacable.com
--- Comment #6 f
https://d.puremagic.com/issues/show_bug.cgi?id=5747
--- Comment #7 from monarchdo...@gmail.com 2013-12-11 12:38:23 PST ---
(In reply to comment #6)
> (In reply to comment #4)
>
> > {
> > return this; //This fails
> > return cast(T) this; //This overflows
> > }
>
> That'
https://d.puremagic.com/issues/show_bug.cgi?id=5747
--- Comment #8 from Jonathan M Davis 2013-12-11 22:19:54
PST ---
Like monarchdodra, I question the wisdom in overloading the cast operator for
type qualifiers. Maybe it's useful and needed, but 99.99% of the time, having
to have overloads to
https://d.puremagic.com/issues/show_bug.cgi?id=5747
--- Comment #9 from Max Samukha 2013-12-12 14:08:45
PST ---
(In reply to comment #7)
> (In reply to comment #6)
> > (In reply to comment #4)
> >
> > > {
> > > return this; //This fails
> > > return cast(T) this; //This ov
https://d.puremagic.com/issues/show_bug.cgi?id=5747
--- Comment #10 from monarchdo...@gmail.com 2013-12-12 23:35:57 PST ---
(In reply to comment #9)
> (In reply to comment #7)
> >
> > Your example snippet still overflows for me for the initial use case:
>
> It doesn't with dmd 2.064.
Are you
12 matches
Mail list logo