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

d-bugmail at puremagic.com d-bugmail at puremagic.com
Sun Jan 10 13:27:19 UTC 2021


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

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

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |RESOLVED
         Resolution|---                         |FIXED

--- Comment #2 from Dlang Bot <dlang-bot at dlang.rocks> ---
dlang/dmd pull request #12117 "Fix 21534 - dtoh: Default params for default
ctor missing template args" was merged into master:

- 01231d1f07ce9484008d8ad4ed01f60ad12c0352 by MoonlightSentinel:
  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