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 f0e63ae commit c2d5107Copy full SHA for c2d5107
compiler/src/dotty/tools/dotc/core/TypeComparer.scala
@@ -140,7 +140,7 @@ class TypeComparer(@constructorOnly initctx: Context) extends ConstraintHandling
140
finally useNecessaryEither = saved
141
142
/** Use avoidance to get rid of wildcards in constraint bounds if
143
- * we are doing a neccessary comparison, or the mode is TypeVarsMissContext.
+ * we are doing a necessary comparison, or the mode is TypeVarsMissContext.
144
* The idea is that under either of these conditions we are not interested
145
* in creating a fresh type variable to replace the wildcard. I verified
146
* that several tests break if one or the other part of the disjunction is dropped.
0 commit comments