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

Richard Cattermole <alphaglosi...@gmail.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |alphaglosi...@gmail.com

--- Comment #13 from Richard Cattermole <alphaglosi...@gmail.com> ---
Add @safe to your main function.

onlineapp.d(11): Error: `this` reference necessary to take address of member
`foo` in `@safe` function `main`
onlineapp.d(12): Error: `@safe` function `D main` cannot call `@system`
function pointer `f`

--

Reply via email to