[Issue 5200] Call to immutable method during immutable construction

d-bugmail at puremagic.com d-bugmail at puremagic.com
Fri Mar 19 07:48:32 UTC 2021


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

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

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

--- Comment #3 from RazvanN <razvan.nitu1305 at gmail.com> ---
I don't have the book, so I don't know exactly what it says at page 294,
however the code posted here is perfectly legal. I assume that maybe the book
is referring to static constructors, in which case it makes sense.

Anyway, I'm closing this issue as invalid.

--


More information about the Digitalmars-d-bugs mailing list