[Issue 13589] [git-head] Asm statement could be assumed to nothrow, safe, pure by the enclosing function attribute

via Digitalmars-d-bugs digitalmars-d-bugs at puremagic.com
Wed Oct 8 10:27:37 PDT 2014


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

--- Comment #10 from Kenji Hara <k.hara.pg at gmail.com> ---
(In reply to yebblies from comment #9)
> That's certainly better, but overall I still don't think this is worthwhile.

In this case we can reduce amount of attributes. Isn't it a benefit?

Moreover, issue 12979 had accepted following code.

  void foo() nothrow { asm{...}; }

It was accidental behavior, but this enhancement will accept it properly and
will reduce code breaking with the next release.

--


More information about the Digitalmars-d-bugs mailing list