Skip to content

Commit ca58eaa

Browse files
Update outdated comment (ReTyper does not override typedCase)
1 parent f029755 commit ca58eaa

File tree

1 file changed

+1
-3
lines changed

1 file changed

+1
-3
lines changed

compiler/src/dotty/tools/dotc/typer/Typer.scala

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1001,9 +1001,7 @@ class Typer extends Namer
10011001
cases mapconserve (typedCase(_, pt, selType, gadtSyms))
10021002
}
10031003

1004-
/** Type a case. Overridden in ReTyper, that's why it's separate from
1005-
* typedCases.
1006-
*/
1004+
/** Type a case. */
10071005
def typedCase(tree: untpd.CaseDef, pt: Type, selType: Type, gadtSyms: Set[Symbol])(implicit ctx: Context): CaseDef = track("typedCase") {
10081006
val originalCtx = ctx
10091007

0 commit comments

Comments
 (0)