[Issue 9953] manifest constants of reference types should be illegal

d-bugmail at puremagic.com d-bugmail at puremagic.com
Thu Apr 18 07:15:54 PDT 2013


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


Andrej Mitrovic <andrej.mitrovich at gmail.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |andrej.mitrovich at gmail.com


--- Comment #2 from Andrej Mitrovic <andrej.mitrovich at gmail.com> 2013-04-18 07:15:52 PDT ---
If we're going to do this we might as well introduce it in 2.063, since this
release will have breaking changes related to this. 

For example const/immutable fields with initializers will no longer be
implicitly static, and people might end up changing them to manifest constants.
If they were l-value initializers it's going to cause further problems when
this issue is implemented (hence why it should be done sooner rather than later
to avoid fixing code two times).

-- 
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