[swift-evolution] [Proposal] Sealed classes by default
Ben Rimmington
me at benrimmington.com
Fri Jul 1 17:20:00 CDT 2016
> On 1 Jul 2016, at 17:47, John McCall wrote:
>
> I don't think we'd ever use a compound keyword that starts with public;
> we'd just separate them and say that the second half can only be present
> on a public declaration, or do this parenthesized syntax.
The `super` keyword could be reused:
public super class ParentClass {
public func foo() { }
public super func bar() { }
public final func baz() { }
}
-- Ben
More information about the swift-evolution
mailing list