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: [email protected]
Reporter: [email protected]
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
--