digitalmars.D.learn - Inherit of attributes
Hi ! http://dpaste.dzfl.pl/2fa3dd2ea834 Why S.init not pure ? Is it expected behavior or bug ? Thanks!
Apr 25 2014
On Friday, 25 April 2014 at 07:59:29 UTC, Temtaime wrote:Hi ! http://dpaste.dzfl.pl/2fa3dd2ea834 Why S.init not pure ? Is it expected behavior or bug ? Thanks!Fix http://dpaste.dzfl.pl/03f73cd958f4
Apr 25 2014
Hi, MrSmith ! Yes, i know that, but my question isn't about it. I want to type `pure:` at module's beginning and have all function(in classes, too) declared as pure. I think `pure:` should do it. But it doesn't.
Apr 25 2014
On Friday, 25 April 2014 at 09:08:50 UTC, Temtaime wrote:Hi, MrSmith ! Yes, i know that, but my question isn't about it. I want to type `pure:` at module's beginning and have all function(in classes, too) declared as pure. I think `pure:` should do it. But it doesn't.pure is not a transitive attribute and when applied to aggregates gets ignored, not applied to all of their members
Apr 25 2014
Hi ! Thanks for reply. Why so ? And why nogc not transitive too ?
Apr 25 2014