[Issue 8695] ParameterStorageClassTuple doesn't recognize 'in' parameters

d-bugmail at puremagic.com d-bugmail at puremagic.com
Mon Jan 14 07:47:03 PST 2013


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



--- Comment #5 from Kenji Hara <k.hara.pg at gmail.com> 2013-01-14 07:47:03 PST ---
(In reply to comment #4)
> (In reply to comment #3)
> > Comment#0 is a compiler issue.
> > 
> > In current, dmd converts 'in' storage class to 'const', not 'const scpope'.
> > But, I'm not sure which is correct, a wrong spec issue or compiler
> > implementation bug.
> 
> The spec page had not had 'in' documented for a long time, and we've discussed
> it many times where we said 'in' was 'const scope'. It's a compiler bug.

Even if it is correct, 'scope' storage class had not been discussed enough and
its semantics had not been defined deeply.

In recent Walter says about 'scope': "nobody has gotten around to it."
https://github.com/D-Programming-Language/phobos/commit/ef0bed7d157afe5be5a69e17d5f30ffd309be527#commitcomment-2352989

So it seems to me that is yet not _defined_.

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