File tree Expand file tree Collapse file tree 1 file changed +1
-1
lines changed
compiler/src/dotty/tools/dotc/core Expand file tree Collapse file tree 1 file changed +1
-1
lines changed Original file line number Diff line number Diff line change @@ -300,7 +300,7 @@ trait ConstraintHandling[AbstractContext] {
300300 * (i.e. `inst.widenSingletons <:< bound` succeeds with satisfiable constraint)
301301 * 2. If `inst` is a union type, approximate the union type from above by an intersection
302302 * of all common base types, provided the result is a subtype of `bound`.
303- * 3. (currently not enabled) If `inst` is an intersection with some restricted base types, drop
303+ * 3. (currently not enabled, see #9028 ) If `inst` is an intersection with some restricted base types, drop
304304 * the restricted base types from the intersection, provided the result is a subtype of `bound`.
305305 *
306306 * Don't do these widenings if `bound` is a subtype of `scala.Singleton`.
You can’t perform that action at this time.
0 commit comments