first draft Reducing the legal permutations of ref-return-scope

Quirin Schroll qs.il.paperinik at gmail.com
Thu Jun 26 13:08:35 UTC 2025


On Tuesday, 13 May 2025 at 04:23:05 UTC, Walter Bright wrote:
> https://github.com/WalterBright/documents/blob/master/ReturnRefScope.md

I wouldn’t use a preview switch. Just issue a deprecation 
warning. The fix is reordering the attributes correctly, that is 
a simple fix that is completely local and has no semantic 
ramifications. It’s in the same spirit as requiring `auto` and 
`ref` to be adjacent.


More information about the dip.development mailing list