Skip to content

Commit 74cc1b1

Browse files
committed
Add link to issue
1 parent 1cd85bc commit 74cc1b1

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

compiler/src/dotty/tools/dotc/core/ConstraintHandling.scala

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff 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`.

0 commit comments

Comments
 (0)