[Issue 8649] Not accepted "const ref Type" in foreach

d-bugmail at puremagic.com d-bugmail at puremagic.com
Thu Sep 13 04:55:34 PDT 2012


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



--- Comment #2 from bearophile_hugs at eml.cc 2012-09-13 04:55:51 PDT ---
(In reply to comment #1)
> This is a dup of issue 4090.

At first sight it doesn't look like the same issue, because here I am listing
all the types and modifiers. "const ref int" is refused, while "ref const int"
is accepted. In both cases no type inferencing is required.

While in issue 4090 I put "const ref" so some type inferencing was required.

In the end if you think it's the same issue feel free to close this issue as a
duplicated. Thank you.

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