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

RazvanN <[email protected]> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |[email protected]

--- Comment #1 from RazvanN <[email protected]> ---
The scope analysis is done only for @safe functions. Annotating scoped and
non-scoped with @safe is going to trigger the error: 'scope variable `dg`
assigned to non-scope parameter `dg` calling test.nonScoped'.

So the actual error is that `dgs ~= dg` triggers an error in unsafe code.

--

Reply via email to