IDE: Visual Studio X/Fire
Version: 10.0.0.2399 (develop)
Target (If relevant): OSX
Description :
Swift permits protocols to have a where
clause in their headers for constraints on inherited associatedtype
s.
Expected Behavior :
Compiles.
Actual Behavior :
“E: opening bracket expected, got “where” [<file> (<line>)]”
Steps :
protocol P {
associatedtype Bar: P
}
protocol Q: P where Bar: Q {} // Error Here