[Issue 13084] ModuleInfo.opApply delegate expects immutable parameter

via Digitalmars-d-bugs digitalmars-d-bugs at puremagic.com
Sat Jul 12 05:42:22 PDT 2014


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

--- Comment #6 from Jacob Carlborg <doob at me.com> ---
(In reply to Kenji Hara from comment #3)

> And compiler already place all ModuleInfo in read-only section. So modifying
> ModuleInfo will cause segfault in some platforms. It's more worse.

How can you modify ModuleInfo when all its members (methods and fields) are
const?

--


More information about the Digitalmars-d-bugs mailing list