https://issues.dlang.org/show_bug.cgi?id=22046
Issue ID: 22046
Summary: @safe/@trusted ignored in delegate / function pointer
suffix
Product: D
Version: D2
Hardware: All
OS: All
Status: NEW
Severity: normal
Priority: P1
Component: dmd
Assignee: [email protected]
Reporter: [email protected]
//////////// test.d ////////////
alias A = @safe void function();
alias B = void function() @safe;
static assert(is(A == B));
////////////////////////////////
Does not happen with pure / nothrow / @nogc.
--
