Skip to content

Commit

Permalink
Fix typo
Browse files Browse the repository at this point in the history
  • Loading branch information
kyouko-taiga committed Oct 3, 2023
1 parent 5253590 commit 422da2d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Sources/FrontEnd/TypeChecking/TypeChecker.swift
Original file line number Diff line number Diff line change
Expand Up @@ -3692,7 +3692,7 @@ struct TypeChecker {
_ = inferredType(of: program[e].left, updating: &obligations)

case .up:
// The type of thr LHS must be statically known to subtype of the RHS.
// The type of the LHS must be statically known to subtype of the RHS.
let lhs = inferredType(
of: program[e].left, withHint: ^freshVariable(), updating: &obligations)
obligations.insert(SubtypingConstraint(lhs, rhs.shape, origin: cause))
Expand Down

0 comments on commit 422da2d

Please sign in to comment.