https://issues.dlang.org/show_bug.cgi?id=16569
[email protected] changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |RESOLVED CC| |[email protected] Resolution|--- |INVALID --- Comment #1 from [email protected] --- It's not a bug. splitter returns a range, in your case this range is empty. The way of iterating/using a range is always to test for emptiness before using front/back or popFront/Back: auto rng = str.splitter('.'); if (!rng.empty) writeln(rng.back); --
