[Issue 9498] Rang violation using AA

d-bugmail at puremagic.com d-bugmail at puremagic.com
Sat Jun 29 23:49:41 PDT 2013


http://d.puremagic.com/issues/show_bug.cgi?id=9498



--- Comment #8 from yebblies <yebblies at gmail.com> 2013-06-30 16:49:40 EST ---
(In reply to comment #7)
> Than you should read again if you don't see the relevance. Function returning
> AA value as discussed here is a case which should throw according to TDPL (spec
> is silent unfortunately) and current D implementation in case of non-ref
> functions. Presence of ref attribute does not matter because function performs
> read operation in the first place. How value is returned (by ref or not) is of
> secondary importance.

TDPL is not an authoritative specification, so the fact this is in line with
the way TDPL presents AAs does not conclusively prove this is correct behavior.

-- 
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