https://issues.dlang.org/show_bug.cgi?id=22785
Issue ID: 22785
Summary: joiner does not support range over immutable
Product: D
Version: D2
Hardware: x86_64
OS: Linux
Status: NEW
Severity: minor
Priority: P1
Component: dmd
Assignee: [email protected]
Reporter: [email protected]
import std;
void main() {
struct S { immutable int value; }
assert(chain([S(5)], [S(6)]).joiner.same([S(5), S(6)]));
}
--
