[Issue 12477] std.bitmanip should emit informative diagnostics

d-bugmail at puremagic.com d-bugmail at puremagic.com
Thu Mar 27 04:13:06 PDT 2014


https://d.puremagic.com/issues/show_bug.cgi?id=12477



--- Comment #3 from Andrej Mitrovic <andrej.mitrovich at gmail.com> 2014-03-27 12:12:59 CET ---
(In reply to comment #2)
> (In reply to comment #1)
> > It's not easy to work on the implementation of std.bitmanip.bitfields. The code
> > is not simple.
> 
> It's not that bad,
> https://github.com/D-Programming-Language/phobos/blob/master/std/bitmanip.d#L116
> just need to have error messages added to them.

I don't know when that code was written, but maybe we can replace it with
templates nowadays instead of using string mixins. It would make things much
more readable (and probably faster to compile).

-- 
Configure issuemail: https://d.puremagic.com/issues/userprefs.cgi?tab=email
------- You are receiving this mail because: -------


More information about the Digitalmars-d-bugs mailing list