http://d.puremagic.com/issues/show_bug.cgi?id=9350
Summary: std.algorithm.findAdjacent unreachable code warning with infinite ranges Product: D Version: D2 Platform: All OS/Version: All Status: NEW Severity: normal Priority: P2 Component: DMD AssignedTo: nob...@puremagic.com ReportedBy: peter.alexander...@gmail.com --- Comment #0 from Peter Alexander <peter.alexander...@gmail.com> 2013-01-18 10:12:34 PST --- import std.algorithm; import std.range; void main() { assert(!repeat(1).findAdjacent().empty); } -------- $ dmd -w bug.d std/algorithm.d(5178): Warning: statement is not reachable -- Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email ------- You are receiving this mail because: -------