Thanks very much Arnold, also for filing the bug!
> On 7 Jul 2017, at 8:07 pm, Arnold Schwaighofer
> wrote:
>
> This is a failure in the optimizer of identifying two loads to return the
> same value and so it can’t remove a retain/release pair.
>
>
> / protocol witness for B.foo(_:) in confo
This is a failure in the optimizer of identifying two loads to return the same
value and so it can’t remove a retain/release pair.
/ protocol witness for B.foo(_:) in conformance OtherB
sil shared [transparent] [serialized] [thunk]
@_T04test6OtherBCAA1BA2aDP3fooyAA1ACFTW : $@convention(witness_
Hi swift-dev,
If I have basically this program (full program see at the tail end of this mail)
public class A { func bar() { ... }}
public protocol B {
func foo(_ a: A)
}
extension B {
func foo(_ a: A) { a.bar() }
}
public class ActualB: B {
}
public class OtherB: B {
}
func abc() {
l