[Issue 6415] Placement of pure and nothrow for invariant()

d-bugmail at puremagic.com d-bugmail at puremagic.com
Mon Jun 10 14:49:40 PDT 2013


http://d.puremagic.com/issues/show_bug.cgi?id=6415


bearophile_hugs at eml.cc changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |RESOLVED
         Resolution|                            |WONTFIX


--- Comment #6 from bearophile_hugs at eml.cc 2013-06-10 14:49:39 PDT ---
(In reply to comment #1)
> https://github.com/D-Programming-Language/dmd/pull/2156

Given the recent comments by Walter and Kenji, the two years of Walter's total
silence passed since this proposal, and the changes proposed in Issue 10326 ,
then maybe this whole issue becomes useless.

Do we want to write code like this?


class Foo {
    invariant pure nothrow {}
}
unittest pure nothrow {}
void main() {}


It's not a good change. So please let me close this issue down. If someone
wants to press the issue further then please reopen this issue.

-- 
Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email
------- You are receiving this mail because: -------


More information about the Digitalmars-d-bugs mailing list