Skip to content

Commit

Permalink
Update src/main/scala/viper/gobra/frontend/info/implementation/typing…
Browse files Browse the repository at this point in the history
…/StmtTyping.scala

Co-authored-by: João Pereira <[email protected]>
  • Loading branch information
ArquintL and jcp19 authored May 15, 2024
1 parent a224592 commit 2cd4786
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -346,7 +346,7 @@ trait StmtTyping extends BaseTyping { this: TypeInfoImpl =>
val expectedResults = result.outs.flatMap(nameFromParam).map(t => PNamedOperand(PIdnUse(t)))

def isExpectedAssignment(ass: PAssignment): Boolean = ass match {
case PAssignment(Vector(i: PInvoke), left) if isExpectedCall(i) && expectedResults == left => true
case PAssignment(Vector(i: PInvoke), left) => isExpectedCall(i) && expectedResults == left
case _ => false
}

Expand Down

0 comments on commit 2cd4786

Please sign in to comment.