https://issues.dlang.org/show_bug.cgi?id=19303

--- Comment #2 from Eduard Staniloiu <[email protected]> ---
What is even weirder, if you define your own `hasMember` wrapper, that works
just fine with the initial definition of Port

```
enum hasM(T, string name) = __traits(hasMember, T, name);

static assert(hasM!(P, "ElementType")); // ok
```

As reflected by https://run.dlang.io/is/pKYL9B

--

Reply via email to