Summary: Easy bug fix available for disabled unit test code in
Bug: unittest line 55 in std.encoding was disabled by version(none)
Rationale: Re-enabling unittest at line 55 results in failure.
Fix: At line 1059 inside template EncoderInstance(CharType : char).
auto c = read;
dchar c = read;
Its obvious after failure point is pinned, even if not knowing the exact specs,
as decodeReverseViaRead must return a dchar, and variable c accumulates left
shifted bits in the loop, same as the nearby safeDecodeViaRead method. In
UTF-8,the auto c = read makes a char type only (thank you zerobugs debugger),
so high bits put in c are thrown away, and function may return character 0.
Re-enabled unittest code ran succesfully after above fix.
Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email
------- You are receiving this mail because: -------