IDE: Visual Studio X/Fire
Version: 10.0.0.2405 (develop)
Target (If relevant): OSX
Description:
The parser does not parse a type nested in Self
in extension constraint.
Expected Behavior:
Compiles.
Actual Behavior:
“E: colon expected, got dot [<file> (<line>)]”
Steps:
protocol P {}
protocol Q {
associatedtype Bar
}
extension P where
Self: Q,
Self.Bar: Q // Error Here
{}