Skip to content

Commit

Permalink
Spelling fixes
Browse files Browse the repository at this point in the history
  • Loading branch information
drew-y committed Sep 21, 2024
1 parent 52d2fa9 commit 437d5ec
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion src/semantics/resolution/resolve-match.ts
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,7 @@ const resolveCase = (

// NOTE: This binding is temporary and will be overwritten in the next case.
// We may need to introduce an wrapping block and register it to the blocks scope
// to avoyd this.
// to avoid this.
c.expr.registerEntity(localBinding);

const expr = resolveTypes(c.expr) as Call | Block;
Expand Down
2 changes: 1 addition & 1 deletion src/semantics/resolution/resolve-object-type.ts
Original file line number Diff line number Diff line change
Expand Up @@ -81,7 +81,7 @@ const resolveGenericsWithTypeArgs = (
obj.registerGenericInstance(resolvedObj);

const implementations = newObj.implementations;
newObj.implementations = []; // Clear implementations to avoyd duplicates, resolveImpl will re-add them
newObj.implementations = []; // Clear implementations to avoid duplicates, resolveImpl will re-add them

implementations
.filter((impl) => implIsCompatible(impl, resolvedObj))
Expand Down

0 comments on commit 437d5ec

Please sign in to comment.