[Issue 7369] Inout constructor causes compiler to reject invariant
d-bugmail at puremagic.com
d-bugmail at puremagic.com
Fri Jan 27 20:10:49 PST 2012
http://d.puremagic.com/issues/show_bug.cgi?id=7369
yebblies <yebblies at gmail.com> changed:
What |Removed |Added
----------------------------------------------------------------------------
CC| |yebblies at gmail.com
--- Comment #1 from yebblies <yebblies at gmail.com> 2012-01-28 15:10:45 EST ---
Well, what should happen? You can't call a non-const invariant from a const
function (or immutable or inout). The same issue exists with shared
constructors.
If anyone has a solution, we can use it to solve issue 519 as well.
--
Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
More information about the Digitalmars-d-bugs
mailing list