[Issue 9718] Circular reference with a simple Algebraic

d-bugmail at puremagic.com d-bugmail at puremagic.com
Mon Mar 27 12:46:24 UTC 2023


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

RazvanN <razvan.nitu1305 at gmail.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |RESOLVED
                 CC|                            |razvan.nitu1305 at gmail.com
         Resolution|---                         |WORKSFORME

--- Comment #3 from RazvanN <razvan.nitu1305 at gmail.com> ---
This now gives:

variable `test.Foo!(Bar).Foo` recursive initialization of constant

which makes sense because sizeof Bar is requested, which contains a Spam which
is defined as a function of Foo which requires sizeof Bar etc.

--


More information about the Digitalmars-d-bugs mailing list