[Issue 22146] New: std.algorithm.searching.findAdjacent() can fall off end of function
d-bugmail at puremagic.com
d-bugmail at puremagic.com
Mon Jul 26 04:00:33 UTC 2021
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 at puremagic.com
Reporter: bugzilla at 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
--
More information about the Digitalmars-d-bugs
mailing list