July 26, 2021 [Issue 22146] New: std.algorithm.searching.findAdjacent() can fall off end of function | ||||
|---|---|---|---|---|
| ||||
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 -- | ||||
Copyright © 1999-2021 by the D Language Foundation
Permalink
Reply