<html><head><meta http-equiv="Content-Type" content="text/html charset=utf-8"></head><body style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space;" class="">Hello list,<div class=""><br class=""></div><div class="">Found out yesterday that you can’t extend all existentials in Swift:</div><div class=""><br class=""></div><div class=""><font face="Menlo" class="">protocol P1 {}</font></div><div class=""><font face="Menlo" class="">extension P1 {}</font></div><div class=""><font face="Menlo" class="">// works as expected</font></div><div class=""><font face="Menlo" class=""><br class=""></font></div><div class=""><font face="Menlo" class="">protocol P2 {}</font></div><div class=""><font face="Menlo" class="">extension P1 &amp; P2 {}</font></div><div class=""><font face="Menlo" class="">// error: non-nominal type 'P1 &amp; P2' cannot be extended</font></div><div class=""><font face="Menlo" class=""><br class=""></font></div><div class=""><font face="Menlo" class="">extension&nbsp;Any&nbsp;{}</font></div><div class=""><font face="Menlo" class="">//&nbsp;error: non-nominal type 'Any' cannot be extended</font></div><div class=""><font face="Menlo" class=""><br class=""></font></div><div class=""><font face="Menlo" class="">extension&nbsp;AnyObject&nbsp;{}</font></div><div class=""><font face="Menlo" class="">//&nbsp;error: 'AnyObject' protocol cannot be extended</font></div><div class=""><br class=""></div><div class="">I’d like to write a proposal to lift some of those restrictions. But the question is: which should be lifted? <font face="Menlo" class="">P1 &amp; P2</font> seems like an obvious case. But what about <font face="Menlo" class="">Any</font> and <font face="Menlo" class="">AnyObject</font>? Is there a design reason that we shouldn’t allow it?</div><div class=""><br class=""></div><div class="">David.</div></body></html>