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

RazvanN <[email protected]> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |RESOLVED
                 CC|                            |[email protected]
         Resolution|---                         |WORKSFORME

--- Comment #1 from RazvanN <[email protected]> ---
Both cases seem to have been fixed.

For 1) I get:

test.d(2): Error: cast from `const(int)*` to `int*` not allowed in safe code

For 2) I get:

test.d(4): Error: `@safe` variable `y` cannot be initialized by calling
`@system` function `f`

Closing as WORKSFORME.

--

Reply via email to