shared and getParameterStorageClasses bug?

Jean-Louis Leroy jl at leroy.nyc
Sat Aug 22 18:34:21 UTC 2020


void foo(lazy shared Object);
pragma(msg, __traits(getParameterStorageClasses, foo, 0)); // 
tuple("lazy")

Shouldn't this return a tuple("lazy", "shared)? Given that 
`shared` is documented as a parameter storage class?




More information about the Digitalmars-d mailing list