I think this is the same inference issue I asked here about, I smell that the where
clause is completely ignored.
struct S<T> {
var a : A
}
extension S where T == Never {
typealias A = Int
init() {
self.a = 42
}
}
let v = S()
print(v)
I think this is the same inference issue I asked here about, I smell that the where
clause is completely ignored.
struct S<T> {
var a : A
}
extension S where T == Never {
typealias A = Int
init() {
self.a = 42
}
}
let v = S()
print(v)