Skip to content

Commit 578dbd2

Browse files
Update outdated comment (ReTyper does not override typedCase)
1 parent 74c835d commit 578dbd2

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
@@ -912,9 +912,7 @@ class Typer extends Namer with TypeAssigner with Applications with Implicits wit
912912
cases mapconserve (typedCase(_, pt, selType, gadtSyms))
913913
}
914914

915-
/** Type a case. Overridden in ReTyper, that's why it's separate from
916-
* typedCases.
917-
*/
915+
/** Type a case. */
918916
def typedCase(tree: untpd.CaseDef, pt: Type, selType: Type, gadtSyms: Set[Symbol])(implicit ctx: Context): CaseDef = track("typedCase") {
919917
val originalCtx = ctx
920918

0 commit comments

Comments
 (0)