[Dlang-internal] DIP1000 discussion and testing: RC pointer snippet

Walter Bright via Dlang-internal dlang-internal at puremagic.com
Sun Oct 16 12:53:26 PDT 2016


On 10/16/2016 6:55 AM, Dicebot wrote:
> This snippet currently compiles, failing to reject both "leak" lines.

It compiles because 'scope' is inferred for both leak1 and leak2.




More information about the Dlang-internal mailing list