[Issue 2486] taking address of slice rvalue is valid
d-bugmail at puremagic.com
d-bugmail at puremagic.com
Sun Jan 22 20:13:34 PST 2012
http://d.puremagic.com/issues/show_bug.cgi?id=2486
Walter Bright <bugzilla at digitalmars.com> changed:
What |Removed |Added
----------------------------------------------------------------------------
Keywords|spec |
CC| |bugzilla at digitalmars.com
--- Comment #2 from Walter Bright <bugzilla at digitalmars.com> 2012-01-22 20:13:33 PST ---
I agree, and will fix the spec. So it's a compiler bug that this code is
accepted. It should only work for const references. Changing to a compiler bug.
--
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