https://issues.dlang.org/show_bug.cgi?id=12616

--- Comment #3 from [email protected] ---
(In reply to Andrej Mitrovic from comment #1)
> Interesting problem. I think decode is wrong in using asserts here. asserts
> are for checking program state, enforce is for checking input. So I think
> the assert should be changed to:
> 
> enforceEx!UTFException(isValidDchar(result));
> 
> Or something similar. monarchdodra what do you think?

BTW: How did you tag me? Did you simply add my email to the cc list?

--

Reply via email to