digitalmars.D.bugs - [Issue 22046] New: safe/ trusted ignored in delegate / function
- d-bugmail puremagic.com (21/21) Jun 19 2021 https://issues.dlang.org/show_bug.cgi?id=22046
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 puremagic.com Reporter: dlang-bugzilla 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. --
Jun 19 2021