[Issue 9317] ParameterStorageClassTuple reports errors for inout function

d-bugmail at puremagic.com d-bugmail at puremagic.com
Mon Jan 14 07:02:55 PST 2013


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



--- Comment #2 from Kenji Hara <k.hara.pg at gmail.com> 2013-01-14 07:02:54 PST ---
(In reply to comment #1)
> Quick investigation: this is actually more related to demangleXXX family of
> functions in std.traits
> Their type system awareness seems a bit out of date :)

As far as I see, demangleParameterStorageClass has no problem.
In current, the set of valid parameter storage classes is (scope, out ref,
lazy).
And `inout` is always treated as a type qualifier, so is not contained the set.

On the other hand, demangleFunctionAttributes has the problem that just
reported here.

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