Skip to content

Commit 77e96cd

Browse files
committed
Fix typo in comment
1 parent 31c751f commit 77e96cd

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

compiler/src/dotty/tools/dotc/transform/TypeTestsCasts.scala

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -135,7 +135,7 @@ object TypeTestsCasts {
135135
// See TypeComparer#either
136136
recur(tp1, P) && recur(tp2, P)
137137
case _ =>
138-
// first try withou striping type parameters for performance
138+
// first try without striping type parameters for performance
139139
X.classSymbol.exists && P.classSymbol.exists && !X.classSymbol.asClass.mayHaveCommonChild(P.classSymbol.asClass) ||
140140
isClassDetermined(X, tpe)(ctx.fresh.setNewTyperState().setFreshGADTBounds) ||
141141
isClassDetermined(stripTypeParam(X), tpe)(ctx.fresh.setNewTyperState().setFreshGADTBounds)

0 commit comments

Comments
 (0)