[Issue 21534] dtoh: Default params for default ctor missing template args

d-bugmail at puremagic.com d-bugmail at puremagic.com
Sat Jan 9 21:36:46 UTC 2021


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

Dlang Bot <dlang-bot at dlang.rocks> changed:

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

--- Comment #1 from Dlang Bot <dlang-bot at dlang.rocks> ---
@MoonlightSentinel created dlang/dmd pull request #12117 "Fix 21534 - dtoh:
Default params for default ctor missing template args" fixing this issue:

- Fix 21534 - dtoh: Default params for default ctor missing template args

  `visit` the struct type instead of simply printing the identifier s.t.
  template arguments are printed (and possible forward references are
  resolved).

  Also required a slight adjustment for `CallExp` because `e.f` is null
  when calling a templated aggregate's ctor.

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

--


More information about the Digitalmars-d-bugs mailing list