[Issue 22046] New: @safe/@trusted ignored in delegate / function pointer suffix
d-bugmail at puremagic.com
d-bugmail at puremagic.com
Sat Jun 19 22:49:13 UTC 2021
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: nobody at puremagic.com
Reporter: dlang-bugzilla at thecybershadow.net
//////////// test.d ////////////
alias A = @safe void function();
alias B = void function() @safe;
static assert(is(A == B));
////////////////////////////////
Does not happen with pure / nothrow / @nogc.
--
More information about the Digitalmars-d-bugs
mailing list