Skip to content

Commit

Permalink
Remove needless newlines
Browse files Browse the repository at this point in the history
  • Loading branch information
kyouko-taiga committed Aug 16, 2024
1 parent 96a7f7a commit 043db30
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions Sources/FrontEnd/TypeChecking/TypeChecker.swift
Original file line number Diff line number Diff line change
Expand Up @@ -5801,9 +5801,8 @@ struct TypeChecker {
) -> AnyType {
switch callee.kind {
case InoutExpr.self:
let e = InoutExpr.ID(callee)!
let t = inferredType(
ofCallee: program[e].subject, usedAs: purpose, implicitlyIn: q, updating: &obligations)
let e = program[InoutExpr.ID(callee)!].subject.id
let t = inferredType(ofCallee: e, usedAs: purpose, implicitlyIn: q, updating: &obligations)
return constrain(callee, to: t, in: &obligations)

case NameExpr.self:
Expand Down

0 comments on commit 043db30

Please sign in to comment.