[Issue 23010] mixed in aliaseqs used as type dont initualize

d-bugmail at puremagic.com d-bugmail at puremagic.com
Fri Jun 24 13:47:08 UTC 2022


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

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

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

--- Comment #3 from Dlang Bot <dlang-bot at dlang.rocks> ---
dlang/dmd pull request #14237 "Fix Issue 23010 - mixed in aliaseqs used as type
don't initialize" was merged into master:

- 5105b067bccb90399b183ec32c7b399c144d47aa by Boris Carvajal:
  Fix Issue 23010 - mixed in aliaseqs used as type don't initialize

  `TupleDeclaration` elements were inserted to the `members` array of
  current `ScopeDsymbol` but `TemplateMixin` declarations are already
  expanded in statement level and this confused DMD backend.
  After adding some code to insert tuple elements to
`AggregateDeclaration.fields`
  and for parsing tuples in `toObjFile`, the code in question can be removed.
  No more hidden symbols (like `__tuple_field_0`) inside any `members` field.

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

--


More information about the Digitalmars-d-bugs mailing list