www.digitalmars.com         C & C++   DMDScript  

digitalmars.D.bugs - [Issue 21532] New: dtoh: Forward-referencing issues for type aliases

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

          Issue ID: 21532
           Summary: dtoh: Forward-referencing issues for type aliases and
                    templates
           Product: D
           Version: D2
          Hardware: All
                OS: All
            Status: NEW
          Severity: normal
          Priority: P1
         Component: dmd
          Assignee: nobody puremagic.com
          Reporter: kinke gmx.net

In current frontend.h, we have methods using the `d_uns64` type alias before
the corresponding `typedef`. The common `struct Array` template is also used
before being declared (a fwd declaration might suffice, but there isn't any
either).

--
Jan 09 2021