Skip to content

Commit

Permalink
add check for ghost pure members too
Browse files Browse the repository at this point in the history
  • Loading branch information
jcp19 committed Feb 5, 2025
1 parent dc71130 commit ded98e5
Showing 1 changed file with 2 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -49,7 +49,8 @@ trait GhostMemberTyping extends BaseTyping { this: TypeInfoImpl =>
isSingleResultArg(member) ++
isSinglePureReturnExpr(member) ++
isPurePostcondition(member.spec) ++
nonVariadicArguments(member.args)
nonVariadicArguments(member.args) ++
member.spec.posts.flatMap(hasOldExpression)
} else noMessages
}

Expand Down

0 comments on commit ded98e5

Please sign in to comment.