Skip to content

Commit d49d15e

Browse files
committed
Minor
1 parent 5abf0ff commit d49d15e

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

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

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -176,8 +176,7 @@ trait PatternTypeConstrainer { self: TypeComparer =>
176176
case tp => tp
177177
}
178178

179-
/** Reconstruct subtype constraints for type members.
180-
*/
179+
/** Reconstruct subtype constraints for type members of the scrutinee and the pattern. */
181180
def constrainTypeMembers = trace(i"constrainTypeMembers(${scrutRepr(scrut)}, $pat)", gadts, res => s"$res\ngadt = ${ctx.gadt.debugBoundsDescription}") {
182181
import NameKinds.DepParamName
183182
val realScrutineePath = ctx.gadt.scrutineePath

0 commit comments

Comments
 (0)