copying const struct

Maxim Fomin maxim at maxim-fomin.ru
Mon Oct 14 11:35:58 PDT 2013


On Monday, 14 October 2013 at 17:38:22 UTC, Ali Çehreli wrote:
> On 10/14/2013 10:33 AM, Kenji Hara wrote:
>
> > On Monday, 14 October 2013 at 14:18:10 UTC, Maxim Fomin wrote:
>
> >> This is compilable using git head.
>
> When I read that line ...
>
> > Kenji Hara
>
> ... I was thinking about that person. :)
>
> Thank you Kenji!
>
> Ali

Right. Kenji is true D celebrity. Funniest thing happen in cases 
like this when he reports the bug himself and soon fixes it, 
later bug is hit by someone else but during reporting it is 
realized that bug is already fixed, pull is pushed to master and 
everyone salutes Kenji.

What bothers me is that some (in fact, probably many) delicate 
language cases are silently fixed by Kenji without proper 
documentation so D language has some sparse and obsolete spec, 
even more obsolete book and sporadic patches - just couple of 
developers are aware about each of them. When someone hits corner 
language case - weird compiler behavior it is general unknown 
what should compiler do, whether current behavior is bug or a fix 
for some other previous bug about which you are unaware of. When 
different parts of language interact, problem becomes even more 
complicated.


More information about the Digitalmars-d-learn mailing list