Robert Widmann
e50713d94e
Diagnose misplaced associated values in simple enum patterns
2017-06-09 21:24:28 -07:00
Slava Pestov
76a005587b
Sema: Specialization of nested types in expression context
...
Teach preCheckExpression() about UnresolvedSpecializeExpr
where the base is a TypeExpr.
This allows us to type check expressions like
'[Outer<T>.Inner<U>]()' by folding them down to a TypeExpr
with an array type.
2017-05-21 18:16:16 -07:00
practicalswift
30a88d38e6
[gardening] Fix recently introduced typos
2017-01-06 21:16:02 +01:00
Rintaro Ishizaki
6d477a557f
[Tests] Add FIXME test cases for enum-element-pattern with sub pattern
2016-12-21 02:22:48 +09:00
Rintaro Ishizaki
9f43e456f4
[TypeChecker] Add diagnostic with fix-it for specialized enum case pattern in Swift3 mode.
2016-12-21 02:22:20 +09:00
Rintaro Ishizaki
80721e9c30
[TypeChecker] Don't convert specialzed call into EnumElement pattern
2016-12-20 20:21:48 +09:00