[Issue 24891] Two scope attributes emitted as part of .di generation

d-bugmail at puremagic.com d-bugmail at puremagic.com
Thu Dec 5 11:28:15 UTC 2024


https://issues.dlang.org/show_bug.cgi?id=24891

--- Comment #1 from Richard (Rikki) Andrew Cattermole <alphaglosined at gmail.com> ---
Another example:

```d
@disable this(ref return scope const typeof(this) other) scope const;
```

Into:

```d
scope @disable const scope this(ref return scope const typeof(this) other);
```

And:

```d
export:
nothrow @safe:
@disable this(ref return scope typeof(this) other) @safe scope const;
```

Into:

```d
export
{
    nothrow @safe
    {
        scope @nogc scope @trusted this(ref return scope typeof(this) other);
    }
}
```

--


More information about the Digitalmars-d-bugs mailing list