Skip to content

Commit e0b563d

Browse files
oderskyKordyjan
authored andcommitted
Fix comments
1 parent 5645577 commit e0b563d

File tree

1 file changed

+1
-6
lines changed

1 file changed

+1
-6
lines changed

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

+1-6
Original file line numberDiff line numberDiff line change
@@ -2930,12 +2930,7 @@ class TrackingTypeComparer(initctx: Context) extends TypeComparer(initctx) {
29302930
}
29312931
}
29322932

2933-
/** Match a single case.
2934-
* @return Some(tp) if the match succeeds with type `tp`
2935-
* Some(NoType) if the match fails, and there is an overlap between pattern and scrutinee
2936-
* None if the match fails and we should consider the following cases
2937-
* because scrutinee and pattern do not overlap
2938-
*/
2933+
/** Match a single case. */
29392934
def matchCase(cas: Type): MatchResult = trace(i"match case $cas vs $scrut", matchTypes) {
29402935
val cas1 = cas match {
29412936
case cas: HKTypeLambda =>

0 commit comments

Comments
 (0)