DMD 2.100, bring ont he attribute soup
Paul Backus
snarwin at gmail.com
Sat May 28 21:51:37 UTC 2022
On Saturday, 28 May 2022 at 21:22:37 UTC, Walter Bright wrote:
> On 5/27/2022 1:53 AM, Dukc wrote:
>> DIP1000 is sure a difficult concept to learn,
>
> It did until recently have a serious usability problem in that
> it was hard to discern what `ref return scope` did. That has
> been replaced with a simple rule.
The other big usability issue is the way `scope` works with `ref`
parameters. D programmers who haven't already learned DIP 1000's
rules generally expect the following two function declarations to
be equivalent:
void foo(scope int** p);
void bar(scope ref int* p);
More information about the Digitalmars-d
mailing list