[Issue 13084] ModuleInfo.opApply delegate expects immutable parameter

via Digitalmars-d-bugs digitalmars-d-bugs at puremagic.com
Sun Jul 13 12:09:46 PDT 2014


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

--- Comment #15 from Walter Bright <bugzilla at digitalmars.com> ---
(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', but it
all turned out for the best. The compiler complains if you do anything wrong,
and this proposal fixes the breaking code issue.

--


More information about the Digitalmars-d-bugs mailing list