[Issue 19560] New: 2.084.0 staticIndexOf behavior change missing from changelog

d-bugmail at puremagic.com d-bugmail at puremagic.com
Tue Jan 8 22:21:08 UTC 2019


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: nobody at puremagic.com
          Reporter: briancschott at gmail.com

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

--


More information about the Digitalmars-d-bugs mailing list