[Issue 19618] Incorrect conversion of function returning `typeof(null)` to function returning an associative array

d-bugmail at puremagic.com d-bugmail at puremagic.com
Sun Mar 10 19:01:11 UTC 2019


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

--- Comment #2 from Dlang Bot <dlang-bot at dlang.rocks> ---
dlang/dmd pull request #9435 "[dmd-cxx] fix Issue 19618 - Associative arrays
are not covariant with typeof(null)" was merged into dmd-cxx:

- c9d1c94080a5fc233ce4bdf9ebd3f07ba224e9dd by Iain Buclaw:
  fix Issue 19618 - Associative arrays are not covariant with typeof(null)

  As associative arrays are value types (`struct {void*}`), which are
  passed and returned differently to the void pointer typeof(null).

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

--


More information about the Digitalmars-d-bugs mailing list