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

d-bugmail at puremagic.com d-bugmail at puremagic.com
Wed Jun 22 09:28:11 UTC 2022


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

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

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

--- Comment #2 from Dlang Bot <dlang-bot at dlang.rocks> ---
@BorisCarvajal created dlang/dmd pull request #14237 "Fix Issue 23010 - mixed
in aliaseqs used as type don't initialize" fixing this issue:

- 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