digitalmars.D.bugs - [Issue 23968] New: Deprecation not emitted with alias to template
- d-bugmail puremagic.com (29/29) Jun 05 2023 https://issues.dlang.org/show_bug.cgi?id=23968
https://issues.dlang.org/show_bug.cgi?id=23968 Issue ID: 23968 Summary: Deprecation not emitted with alias to template function in UFCS Product: D Version: D2 Hardware: All OS: All Status: NEW Keywords: accepts-invalid Severity: normal Priority: P3 Component: dmd Assignee: nobody puremagic.com Reporter: dlang-bugzilla thecybershadow.net ///////////////// test.d //////////////// int fun()(int) { return 0; } deprecated alias a = fun; unittest { int v; // int x = a!()(v); // OK, deprecation int y = v.a!(); // No deprecation? } ///////////////////////////////////////// --
Jun 05 2023