[Issue 12529] Function/delegate type alias picks up @safe attribute from surrounding scope

via Digitalmars-d-bugs digitalmars-d-bugs at puremagic.com
Tue Jun 14 16:14:30 PDT 2016


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

Walter Bright <bugzilla at digitalmars.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |RESOLVED
         Resolution|---                         |WONTFIX

--- Comment #5 from Walter Bright <bugzilla at digitalmars.com> ---
This is operating correctly. An alias should not be able to override the safety
of the type, as in https://issues.dlang.org/show_bug.cgi?id=12527, but if it is
the default it should be settable.

--


More information about the Digitalmars-d-bugs mailing list