File tree Expand file tree Collapse file tree 2 files changed +11
-11
lines changed Expand file tree Collapse file tree 2 files changed +11
-11
lines changed Original file line number Diff line number Diff line change @@ -106,6 +106,17 @@ enum ContextualTypePurpose {
106
106
CTP_CannotFail, // /< Conversion can never fail. abort() if it does.
107
107
};
108
108
109
+ // / Specify how we handle the binding of underconstrained (free) type variables
110
+ // / within a solution to a constraint system.
111
+ enum class FreeTypeVariableBinding {
112
+ // / Disallow any binding of such free type variables.
113
+ Disallow,
114
+ // / Allow the free type variables to persist in the solution.
115
+ Allow,
116
+ // / Bind the type variables to UnresolvedType to represent the ambiguity.
117
+ UnresolvedType
118
+ };
119
+
109
120
namespace constraints {
110
121
111
122
// / Describes the algorithm to use for trailing closure matching.
Original file line number Diff line number Diff line change @@ -181,17 +181,6 @@ enum class Comparison {
181
181
Worse
182
182
};
183
183
184
- // / Specify how we handle the binding of underconstrained (free) type variables
185
- // / within a solution to a constraint system.
186
- enum class FreeTypeVariableBinding {
187
- // / Disallow any binding of such free type variables.
188
- Disallow,
189
- // / Allow the free type variables to persist in the solution.
190
- Allow,
191
- // / Bind the type variables to UnresolvedType to represent the ambiguity.
192
- UnresolvedType
193
- };
194
-
195
184
// / A conditional conformance that implied some other requirements. That is, \c
196
185
// / ConformingType conforming to \c Protocol may have required additional
197
186
// / requirements to be satisfied.
You can’t perform that action at this time.
0 commit comments