[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 15:29:45 UTC 2021


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

--- Comment #1 from Dlang Bot <dlang-bot at dlang.rocks> ---
@MoonlightSentinel created dlang/phobos pull request #7760 "Make
isAutoDecodableString independent of issue 21570" mentioning this issue:

- 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