dscanner and ref parameters
Jacob Carlborg
doob at me.com
Sun Feb 23 14:32:23 UTC 2020
On 2020-02-23 13:28, mark wrote:
> Just realised that the arg is 'out' not 'ref'; don't know if that makes
> a difference to dscanner. Anyway, I've made a bug report:
> https://github.com/dlang-community/D-Scanner/issues/793
Same idea applies. dscanner should look at the signature. In the case of
`out`, the compiler will also set the value of the argument to its .init
value before calling the function.
--
/Jacob Carlborg
More information about the Digitalmars-d-learn
mailing list