IDE: Visual Studio X/Fire
Version: 10.0.0.2399 (develop)
Target (If relevant): OSX
Description:
Swift permits associatedtype
s to have a trailing where
clauses.
Silver should at least parse them.
Expected Behavior:
Until/Unless ==
constraints are implemented:
“E: “Equals” constraints in “where” are not supported in Silver [<file> (<line>)]”
Actual Behavior:
“E: One of “var”, “func”, “subscript”, “typealias”, “__event”, “prefix”, “postfix”, “infix”, “init”, “associatedtype”, expected, got “where” [<file> (<line>)]”
Steps:
protocol P {
associatedtype Bar: P // Current Error Here
where Bar.Bar == Bar // Expected Error Here
}