[Issue 21570] __traits(isStaticArray, ...) accepts enums with static array as base type
d-bugmail at puremagic.com
d-bugmail at puremagic.com
Thu Jan 21 23:21:22 UTC 2021
https://issues.dlang.org/show_bug.cgi?id=21570
--- Comment #2 from Dlang Bot <dlang-bot at dlang.rocks> ---
dlang/phobos pull request #7760 "Make isAutoDecodableString independent of
issue 21570" was merged into master:
- 7c13ddf8de6bbaf287a60ebac7e3f31acf45ecec by MoonlightSentinel:
Make isAutoDecodableString independent of issue 21570
The current implementation relies on issue 21570 to reject enums with
static arrays as their base type.
Use another is-expression instead of `isStaticArray` to detect types
that are (convertible to) static arrays.
See https://issues.dlang.org/show_bug.cgi?id=21570
https://github.com/dlang/phobos/pull/7760
--
More information about the Digitalmars-d-bugs
mailing list