Bug 23968 – Deprecation not emitted with alias to template function in UFCS

Status
RESOLVED
Resolution
FIXED
Severity
normal
Priority
P3
Component
dmd
Product
D
Version
D2
Platform
All
OS
All
Creation time
2023-06-05T07:20:02Z
Last change time
2023-06-21T07:30:33Z
Keywords
accepts-invalid, pull
Assigned to
No Owner
Creator
Vladimir Panteleev

Comments

Comment #0 by dlang-bugzilla — 2023-06-05T07:20:02Z
///////////////// 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? } /////////////////////////////////////////
Comment #1 by dlang-bot — 2023-06-13T09:42:40Z
@RazvanN7 created dlang/dmd pull request #15317 "Fix Issue 23968 - Deprecation not emitted with alias to template function in UFCS" fixing this issue: - Fix Issue 23968 - Deprecation not emitted with alias to template function in UFCS https://github.com/dlang/dmd/pull/15317
Comment #2 by dlang-bot — 2023-06-21T07:30:33Z
dlang/dmd pull request #15317 "Fix Issue 23968 - Deprecation not emitted with alias to template function in UFCS" was merged into master: - 43c9e82c2e3282973c851492e1799adec80eb4f8 by RazvanN7: Fix Issue 23968 - Deprecation not emitted with alias to template function in UFCS https://github.com/dlang/dmd/pull/15317