Avatar
switch foo { case let bar as Bar: ... case let baz as Baz: ... case let qux as Qux: ... } (edited)
3:43 AM
@omochimetaru extension Foo.Qux { var ee: Double { return e * e } }