[SR-2018] Compiler should not allow final
on functions defined in protocol extensions.
#44628
Labels
bug
A deviation from expected or documented behavior. Also: expected but undesirable behavior.
Environment
Swift 3.0
Xcode 8.0 beta 2
Additional Detail from JIRA
md5: 304d9ddf7a9e26c34f1f552d894ac527
duplicates:
Issue Description:
The compiler allows
final
to be applied to functions defined in protocol extensions.final
has no effect in this case and the compiler should not give the false sense of assurance that the function cannot be overridden.The text was updated successfully, but these errors were encountered: