Skip to content

Commit 855e0e9

Browse files
committed
Fix typos
1 parent c810d5a commit 855e0e9

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

compiler/src/dotty/tools/dotc/core/TyperState.scala

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -76,7 +76,7 @@ class TyperState(previous: TyperState /* | Null */) {
7676
/** The uninstantiated variables */
7777
def uninstVars = constraint.uninstVars
7878

79-
/** The set of uninstantiated type varibles which have this state as their owning state */
79+
/** The set of uninstantiated type variables which have this state as their owning state */
8080
private[this] var myOwnedVars: TypeVars = SimpleIdentitySet.empty
8181
def ownedVars = myOwnedVars
8282
def ownedVars_=(vs: TypeVars): Unit = myOwnedVars = vs

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -341,7 +341,7 @@ trait Inferencing { this: Typer =>
341341
* Y <: X
342342
*
343343
* Then `Y` also occurs co-variantly in `T` because it needs to be minimized in order to constrain
344-
* `T` teh least. See `variances` for more detail.
344+
* `T` the least. See `variances` for more detail.
345345
*/
346346
def interpolateTypeVars(tree: Tree, pt: Type, locked: TypeVars)(implicit ctx: Context): tree.type = {
347347
val state = ctx.typerState

0 commit comments

Comments
 (0)