digitalmars.D.bugs - [Issue 22146] New: std.algorithm.searching.findAdjacent() can fall
- d-bugmail puremagic.com (22/22) Jul 25 2021 https://issues.dlang.org/show_bug.cgi?id=22146
https://issues.dlang.org/show_bug.cgi?id=22146 Issue ID: 22146 Summary: std.algorithm.searching.findAdjacent() can fall off end of function Product: D Version: D2 Hardware: All OS: All Status: NEW Severity: normal Priority: P1 Component: phobos Assignee: nobody puremagic.com Reporter: bugzilla digitalmars.com with: std/algorithm/searching.d(2620): Error: function `std.algorithm.searching.findAdjacent!("a == b", Repeat!int).findAdjacent` no `return exp;` or `assert(0);` at end of function std/algorithm/searching.d(2671): Error: template instance `std.algorithm.searching.findAdjacent!("a == b", Repeat!int)` error instantiating --
Jul 25 2021