@@ -971,3 +971,34 @@ well-typed suggestions.
971
971
meets and joins, so the solver continues until it runs out of
972
972
supertypes to enumerate.
973
973
974
+ New Diagnostic Architecture
975
+ ---------------------------
976
+
977
+ We are currently working on porting type-check based diagnostics over
978
+ to the new diagnostic framework, which is described in detail in this
979
+ `blog post
980
+ <https://swift.org/blog/new-diagnostic-arch-overview/> `_.
981
+
982
+ The things in the queue yet to be ported are:
983
+
984
+ - ``visitTupleExpr ``: Diagnostics related to label/type mismatches
985
+ associated with tuple conversions.
986
+
987
+ - Diagnostics related to member references: ``diagnoseMemberFailures ``.
988
+ Most of the associated diagnostics have been ported and fixes are
989
+ located in ``ConstraintSystem::simplifyMemberConstraint ``.
990
+
991
+ - Closure expression diagnostics: ``diagnoseClosureExpr ``.
992
+
993
+ - Diagnostics related to ``if `` statement - "conditional" type mismatch
994
+ and, in case of ternary operator, type mismatches between branches.
995
+
996
+ - Problems related to calls and operator applications e.g.
997
+
998
+ - ``@dynamicCallable `` related diagnostics
999
+ - Missing explicit ``Self. `` and ``self. ``
1000
+ - Logic related to overload candidate ranking (``CalleeCandidateInfo ``)
1001
+ - ``diagnoseParameterErrors ``
1002
+ - ``diagnoseSimpleErrors ``
1003
+
1004
+ - Diagnostics related to array/dictionary literals: ``visit{Array, Dictionary}Expr ``.
0 commit comments