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

Iain Buclaw <[email protected]> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |RESOLVED
                 CC|                            |[email protected]
         Resolution|---                         |WONTFIX

--- Comment #6 from Iain Buclaw <[email protected]> ---
Right, I think this should be wontfix also. Pragma just exposes low level
functionality that does not have any semantic guarantees in relation to the
rest of the language.

As per comment, you can use cast to write to immutable data, but you must
provide your own static (probably gshared) guard to prevent multiple
evaluation.

This has got nothing to do with "betterC", whatever that means.

--

Reply via email to