http://d.puremagic.com/issues/show_bug.cgi?id=8040
Kenji Hara changed:
What|Removed |Added
Status|NEW |RESOLVED
Resolution|
http://d.puremagic.com/issues/show_bug.cgi?id=8040
--- Comment #5 from Kenji Hara 2012-05-29 00:55:57 PDT ---
*** Issue 7866 has been marked as a duplicate of this issue. ***
--
Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email
--- You are receiving this mail beca
http://d.puremagic.com/issues/show_bug.cgi?id=8040
--- Comment #4 from bearophile_h...@eml.cc 2012-05-23 04:07:37 PDT ---
(In reply to comment #3)
> writeln(1); // prints "1", not "cast(int)1"
> writeln(1L); // prints "1", not "cast(long)1"
> writeln(1f); // prints "1", not "cast(float)1"
In
http://d.puremagic.com/issues/show_bug.cgi?id=8040
--- Comment #3 from Kenji Hara 2012-05-23 03:26:04 PDT ---
(In reply to comment #2)
> (In reply to comment #1)
> But isn't it better to add types (as in cast(Foo) or cast(Bar*)) to better
> tell
> apart the three kinds of null in that example?
http://d.puremagic.com/issues/show_bug.cgi?id=8040
--- Comment #2 from bearophile_h...@eml.cc 2012-05-23 03:01:57 PDT ---
(In reply to comment #1)
> https://github.com/D-Programming-Language/phobos/pull/599
>
> With my pull, original code output is:
>
> null
> null
> null
Thank you Kenji
http://d.puremagic.com/issues/show_bug.cgi?id=8040
Kenji Hara changed:
What|Removed |Added
Keywords||pull
--- Comment #1 from Kenji Hara 2012