[Issue 23279] Segmentation fault on mixin template + using unknown type
d-bugmail at puremagic.com
d-bugmail at puremagic.com
Tue Jan 3 07:17:37 UTC 2023
https://issues.dlang.org/show_bug.cgi?id=23279
Dlang Bot <dlang-bot at dlang.rocks> changed:
What |Removed |Added
----------------------------------------------------------------------------
Keywords| |pull
--- Comment #6 from Dlang Bot <dlang-bot at dlang.rocks> ---
@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
--
More information about the Digitalmars-d-bugs
mailing list