[Issue 13084] ModuleInfo.opApply delegate expects immutable parameter

via Digitalmars-d-bugs digitalmars-d-bugs at puremagic.com
Sat Jul 12 23:09:45 PDT 2014


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

--- Comment #9 from Walter Bright <bugzilla at digitalmars.com> ---
(In reply to Jacob Carlborg from comment #8)
> If I understand you correctly the current ModuleInfo would be renamed to
> _ModuleInfo and a new immutable alias would be added, named ModuleInfo?

Yes.

> The ModuleInfo I have declared would be immutable?

Yes.

> That could work. I will
> work for the function where I found the problem but it returns the module
> info and I have not looked yet how the returned value is used.

--


More information about the Digitalmars-d-bugs mailing list