Fix Phobos dependencies on autodecoding

H. S. Teoh hsteoh at quickfur.ath.cx
Tue Aug 13 16:36:16 UTC 2019


On Tue, Aug 13, 2019 at 04:29:33PM +0000, jmh530 via Digitalmars-d wrote:
> On Tuesday, 13 August 2019 at 16:18:03 UTC, H. S. Teoh wrote:
> > [snip]
> > 
> > Because it *appears* to be right, but it's actually wrong. For example:
> > 
> > 	import std.range : retro;
> > 	import std.stdio;
> > 
> > 	void main() {
> > 		writeln("привет".retro);
> > 		writeln("приве́т".retro);
> > 	}
> > 
> > Expected output:
> > 	тевирп
> > 	те́вирп
> > 
> > Actual output:
> > 	тевирп
> > 	т́евирп
> > 
> 
> Huh, those two look the same.

The location of the acute accent on the second line is wrong.


T

-- 
GEEK = Gatherer of Extremely Enlightening Knowledge


More information about the Digitalmars-d mailing list