File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed
compiler/src/dotty/tools/dotc/core Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -243,10 +243,10 @@ trait ConstraintHandling[AbstractContext] {
243243 /** Solve constraint set for given type parameter `param`.
244244 * If `fromBelow` is true the parameter is approximated by its lower bound,
245245 * 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).
248249 * Wildcard types in bounds are approximated by their upper or lower bounds.
249- * (Such occurrences can arise for F-bounded types).
250250 * The constraint is left unchanged.
251251 * @return the instantiating type
252252 * @pre `param` is in the constraint's domain.
You can’t perform that action at this time.
0 commit comments