We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 31c751f commit 77e96cdCopy full SHA for 77e96cd
compiler/src/dotty/tools/dotc/transform/TypeTestsCasts.scala
@@ -135,7 +135,7 @@ object TypeTestsCasts {
135
// See TypeComparer#either
136
recur(tp1, P) && recur(tp2, P)
137
case _ =>
138
- // first try withou striping type parameters for performance
+ // first try without striping type parameters for performance
139
X.classSymbol.exists && P.classSymbol.exists && !X.classSymbol.asClass.mayHaveCommonChild(P.classSymbol.asClass) ||
140
isClassDetermined(X, tpe)(ctx.fresh.setNewTyperState().setFreshGADTBounds) ||
141
isClassDetermined(stripTypeParam(X), tpe)(ctx.fresh.setNewTyperState().setFreshGADTBounds)
0 commit comments