File tree 1 file changed +3
-3
lines changed
compiler/src/dotty/tools/dotc/core 1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -243,10 +243,10 @@ trait ConstraintHandling[AbstractContext] {
243
243
/** Solve constraint set for given type parameter `param`.
244
244
* If `fromBelow` is true the parameter is approximated by its lower bound,
245
245
* otherwise it is approximated by its upper bound, unless the upper bound
246
- * contains a reference to the parameter itself (`addOneBound` ensures that
247
- * such reference never occur in the lower bound).
246
+ * contains a reference to the parameter itself (such occurrences can arise
247
+ * for F-bounded types, `addOneBound` ensures that they never occur in the
248
+ * lower bound).
248
249
* Wildcard types in bounds are approximated by their upper or lower bounds.
249
- * (Such occurrences can arise for F-bounded types).
250
250
* The constraint is left unchanged.
251
251
* @return the instantiating type
252
252
* @pre `param` is in the constraint's domain.
You can’t perform that action at this time.
0 commit comments