[Issue 13084] ModuleInfo.opApply delegate expects immutable parameter

via Digitalmars-d-bugs digitalmars-d-bugs at puremagic.com
Wed Jul 16 21:20:52 PDT 2014


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

--- Comment #21 from Kenji Hara <k.hara.pg at gmail.com> ---
(In reply to Walter Bright from comment #15)
> (In reply to Kenji Hara from comment #13)
> > All D programmers would assume that unqualified type name T is a mutable
> > type,
> 
> There were some bumps in transitioning to the immutable alias 'string', 

Note that, string == immutable(char)[], it is _mutable_ array of immutable
elements. It's different.

--


More information about the Digitalmars-d-bugs mailing list