https://issues.dlang.org/show_bug.cgi?id=13084
--- Comment #11 from Kenji Hara <k.hara...@gmail.com> --- (In reply to Walter Bright from comment #9) > (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. I don't think it's good idea. It would introduce confusing than benefits. --