<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="">Swifters:<div class=""><span class="Apple-tab-span" style="white-space:pre">        </span>I’m attempting to port a library to Xcode 8 beta 4 and have run into a peculiar issue with SCNetworkReachabilityFlags. Prior to beta 4, this extension on SCNetworkReachabilityFlags which provided convenience Bool properties worked just fine:</div><div class=""><br class=""></div><div class=""><div class="">extension SCNetworkReachabilityFlags {</div><div class=""> var isLocalAddress: Bool {</div><div class=""> return contains(.isLocalAddress)</div><div class=""> }</div><div class=""><br class=""></div><div class=""> var isDirect: Bool {</div><div class=""> return contains(.isDirect)</div><div class=""> }</div><div class="">}</div></div><div class=""><br class=""></div><div class="">Now, it throws an error:</div><div class=""><br class=""></div><div class=""><div style="margin: 0px 0px 0px 12px; text-indent: -12px; font-size: 11px; line-height: normal; font-family: Menlo;" class="">instance member 'isLocalAddress' cannot be used on type ‘SCNetworkReachabilityFlags’</div></div><div style="margin: 0px 0px 0px 12px; text-indent: -12px; font-size: 11px; line-height: normal; font-family: Menlo;" class=""><br class=""></div><div style="margin: 0px 0px 0px 12px; text-indent: -12px; line-height: normal;" class=""><span style="text-indent: 0px;" class="">Now, this is rather peculiar, since other OptionSets I create with options and properties of the same name work fine. There must be something peculiar about SCNetworkReachabilityFlags. If I change the properties to no longer match the option values, it builds fine. Is this a bug? If it is, I’m assuming it’s better to report it to Apple rather than <a href="http://swift.org" class="">swift.org</a>, or should I do both?</span></div><div style="margin: 0px 0px 0px 12px; text-indent: -12px; line-height: normal;" class=""><span style="text-indent: 0px;" class=""><br class=""></span></div><div style="margin: 0px 0px 0px 12px; text-indent: -12px; line-height: normal;" class=""><span style="text-indent: 0px;" class=""><br class=""></span></div><div style="margin: 0px 0px 0px 12px; text-indent: -12px; line-height: normal;" class=""><span style="text-indent: 0px;" class=""><br class=""></span></div><div style="margin: 0px 0px 0px 12px; text-indent: -12px; line-height: normal;" class=""><span style="text-indent: 0px;" class="">Jon Shier</span></div></body></html>