[Issue 20316] New: array properties fail hasMember
d-bugmail at puremagic.com
d-bugmail at puremagic.com
Thu Oct 24 16:39:01 UTC 2019
https://issues.dlang.org/show_bug.cgi?id=20316
Issue ID: 20316
Summary: array properties fail hasMember
Product: D
Version: D2
Hardware: All
OS: All
Status: NEW
Severity: major
Priority: P1
Component: dmd
Assignee: nobody at puremagic.com
Reporter: john.loughran.colvin at gmail.com
pragma(msg, __traits(hasMember, int[], "length")); // false
pragma(msg, __traits(hasMember, int[], "ptr")); // false
pragma(msg, __traits(hasMember, int[], "capacity")); // false
pragma(msg, __traits(hasMember, int[], "sizeof")); // true
pragma(msg, __traits(hasMember, int[], "alignof")); // true
--
More information about the Digitalmars-d-bugs
mailing list