[Bug 205] Add pragma(inline) to the grammar

via D.gnu d.gnu at puremagic.com
Fri Jan 29 11:23:28 PST 2016


http://bugzilla.gdcproject.org/show_bug.cgi?id=205

thomas.bockman at gmail.com changed:

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

--- Comment #1 from thomas.bockman at gmail.com ---
I figured out an acceptable workaround for this problem, although it is just a
little bit silly. This:

pragma(inline, true) {
}

Can be replaced with this:

redundant_attribute { pragma(inline, true);
}

Where redundant_attribute is some attribute that belongs on the contained
declarations anyway, such as `public` or `@safe`.

It doesn't look very nice, but it works. I presume the real fix will be added
naturally during the upgrade to 2.068, so I'm closing this as "RESOLVED -
INVALID".

Sorry for the noise.

-- 
You are receiving this mail because:
You are watching all bug changes.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.puremagic.com/pipermail/d.gnu/attachments/20160129/7a3480e6/attachment.html>


More information about the D.gnu mailing list