Thread overview
[Issue 16371] warn/deprecate implicit final in interfaces
Aug 10, 2016
Lodovico Giaretta
Dec 17, 2022
Iain Buclaw
May 30, 2023
RazvanN
August 10, 2016
https://issues.dlang.org/show_bug.cgi?id=16371

Lodovico Giaretta <lodovico@giaretart.net> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |lodovico@giaretart.net
           See Also|                            |https://issues.dlang.org/sh
                   |                            |ow_bug.cgi?id=16370

--
August 10, 2016
https://issues.dlang.org/show_bug.cgi?id=16371

Steven Schveighoffer <schveiguy@yahoo.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |schveiguy@yahoo.com

--- Comment #1 from Steven Schveighoffer <schveiguy@yahoo.com> ---
I don't think this makes sense. Templates can never add virtual functions or non-static members, even to classes. Why should it be different for interfaces?

--
December 17, 2022
https://issues.dlang.org/show_bug.cgi?id=16371

Iain Buclaw <ibuclaw@gdcproject.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
           Priority|P1                          |P4

--
May 30, 2023
https://issues.dlang.org/show_bug.cgi?id=16371

RazvanN <razvan.nitu1305@gmail.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |RESOLVED
                 CC|                            |razvan.nitu1305@gmail.com
         Resolution|---                         |WONTFIX

--- Comment #2 from RazvanN <razvan.nitu1305@gmail.com> ---
Yes, this does not make sense. Final has no meaning for a templated function irrespective of the declaration site. As Steven pointed out, templates are never virtual.

--