https://issues.dlang.org/show_bug.cgi?id=19560
Issue ID: 19560
Summary: 2.084.0 staticIndexOf behavior change missing from
changelog
Product: D
Version: D2
Hardware: All
OS: All
Status: NEW
Severity: normal
Priority: P1
Component: phobos
Assignee: [email protected]
Reporter: [email protected]
import std.meta;
struct Something(T) { T field; }
pragma(msg, staticIndexOf!(immutable int, AliasSeq!(int)));
pragma(msg, staticIndexOf!(immutable Something!int, AliasSeq!(Something!int)));
With 2.083.0 this would print:
-1
0
With 2.084.0 it prints:
-1
-1
--