[Issue 18007] Enforcing immutability

d-bugmail at puremagic.com d-bugmail at puremagic.com
Mon Nov 27 14:28:38 UTC 2017


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

Simen Kjaeraas <simen.kjaras at gmail.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |simen.kjaras at gmail.com

--- Comment #1 from Simen Kjaeraas <simen.kjaras at gmail.com> ---
This bug report confuses me, so please provide some more information. D already
has a mechanism for guaranteeing immutability for data structures and member
functions - it's called immutable. Are you suggesting we add some feature to D
that it doesn't already have? If so, explain how your suggestion differs from
'immutable'.

You mention 'scale' (which I take to be a misspelling of Scala?) and 'dotty',
which seems to be a Scala library[1]. Have you perhaps posted this in the wrong
Bugzilla?

[1]: https://github.com/lampepfl/dotty

--


More information about the Digitalmars-d-bugs mailing list