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

Dlang Bot <[email protected]> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
           Keywords|                            |pull

--- Comment #6 from Dlang Bot <[email protected]> ---
@SixthDot created dlang/dmd pull request #14778 "fix issue 23279 - `hasMember`
should not gag sema of forward references" fixing this issue:

- fix issue 23279 - `hasMember` should not gag sema of forward references

  `__traits(hasMember, e1, "e2")` works by looking if `e1.e2` is a valid
expression,
  gagging the semantic errors of the whole expression, however that should just
be done
  while `e2` is being analyzed.

https://github.com/dlang/dmd/pull/14778

--

Reply via email to