If I’m not mistaken here, extension Foo where T == Int will have an error of 
redeclaration foo anyways.


-- 
Adrian Zubarev
Sent with Airmail

Am 3. Dezember 2016 um 15:22:56, Adrian Zubarev 
([email protected]) schrieb:

extension Foo where T == Int {
     func foo() {
          self.bar(o: 42) // calls a function that accepts an Int
     }
}
_______________________________________________
swift-evolution mailing list
[email protected]
https://lists.swift.org/mailman/listinfo/swift-evolution

Reply via email to