https://issues.dlang.org/show_bug.cgi?id=3720
Walter Bright <bugzi...@digitalmars.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |RESOLVED Resolution|--- |INVALID --- Comment #16 from Walter Bright <bugzi...@digitalmars.com> --- If `@safe` is added, the example fails to compile with: test.d(9): Error: `this` reference necessary to take address of member `fun` in `@safe` function `main` which is expected behavior. --