Xcode 8.2.1: Awkward type errors when overloading &&

Originator:GriotSpeak
Number:rdar://30137002 Date Originated:22-Jan-2017 04:51 PM
Status:Open Resolved:
Product:Developer Tools Product Version:Xcode 8.2.1 (8C1002)
Classification:Enhancement Reproducible:Not Applicable
 
Summary:
implementing `&&` and `||` on SatExpression seems to throw the compiler off. I receive `&& is not defined for two Bool operands` in the official Xcode toolchain and a bunch of `!= is ambiguous` in the 2017-01-20 snapshot.

Steps to Reproduce:
build the attached project in Xcode 8.2.1	

Expected Results:
Successful build	

Actual Results:
Type errors

Comments


Please note: Reports posted here will not necessarily be seen by Apple. All problems should be submitted at bugreport.apple.com before they are posted here. Please only post information for Radars that you have filed yourself, and please do not include Apple confidential information in your posts. Thank you!