Correct me if I’m wrong, but if you’re writing some kind of framework and
your class is not final but never subclassed, you wouldn’t want the
warning, even if you’d like to allow users to subclass it?


On Thu, Jun 16, 2016 at 9:02 AM Rehat Kathuria via swift-evolution <
[email protected]> wrote:

> I’d like the compiler to present a warning when a class not declared as
> final is never subclassed. Thoughts?
> _______________________________________________
> swift-evolution mailing list
> [email protected]
> https://lists.swift.org/mailman/listinfo/swift-evolution
>
-- 
-Saagar Jha
_______________________________________________
swift-evolution mailing list
[email protected]
https://lists.swift.org/mailman/listinfo/swift-evolution

Reply via email to