https://issues.dlang.org/show_bug.cgi?id=5200
RazvanN <razvan.nitu1...@gmail.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |RESOLVED CC| |razvan.nitu1...@gmail.com Resolution|--- |INVALID --- Comment #3 from RazvanN <razvan.nitu1...@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. --