http://d.puremagic.com/issues/show_bug.cgi?id=6930
Kenji Hara <[email protected]> changed: What |Removed |Added ---------------------------------------------------------------------------- Severity|normal |enhancement --- Comment #6 from Kenji Hara <[email protected]> 2011-11-10 12:22:18 PST --- I think this issue is an enhancement. With current dmd implementation, the result type of an inout function has *always* four possibilities, they are mutable, const, and immutable, and inout. The implementation of this enhancement will restrict the possibilities. inout(const(T)) foo(...) { ... } // can return only const(T), immutable(T), or inout(const(T)). It seems to be usable a little, but I'm not seeing a use case of that. -- Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email ------- You are receiving this mail because: -------
