Re: [swift-users] Non-objc protocol inheritance from objc protocol

2017-02-06 Thread Joe Groff via swift-users
> On Feb 6, 2017, at 3:22 PM, Jordan Rose via swift-users > wrote: > > Hi, Pavel. This is definitely supported, and it is indeed a bug that these > are not both producing 'true'. We're tracking this as rdar://problem/24453316 > . I also filed this as https://bugs.swift.org/browse/SR-3882

Re: [swift-users] Non-objc protocol inheritance from objc protocol

2017-02-06 Thread Jordan Rose via swift-users
Hi, Pavel. This is definitely supported, and it is indeed a bug that these are not both producing 'true'. We're tracking this as rdar://problem/24453316 . Jordan > On Feb 5, 2017, at 03:14, Pavel Ivashkov via swift-users > wrote: > > Hello, > > What is the current view on inheriting non-ob

[swift-users] Non-objc protocol inheritance from objc protocol

2017-02-05 Thread Pavel Ivashkov via swift-users
Hello, What is the current view on inheriting non-objc protocol from objc protocol? Is it supported? Is it a valid construct? import Foundation @objc protocol Base {} protocol Some : Base {} class Nada : NSObject, Some {} let x: NSObject = Nada() print("Nada is Some? \(x is Some)") print("N