Avatar
CHANGELOG より: Type annotations are no longer allowed in patterns and are considered part of the outlying declaration. This means that code previously written as: var (a : Int, b : Float) = foo() needs to be written as: var (a, b) : (Int, Float) = foo() if an explicit type annotation is needed. The former syntax was ambiguous with tuple element labels. (20167393)