Skip to content

Commit

Permalink
Forgot to always include body of root function
Browse files Browse the repository at this point in the history
  • Loading branch information
marcoeilers committed Sep 2, 2022
1 parent ecc03b5 commit bac5224
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -104,7 +104,7 @@ object QuantifiedPermissions {
case m@Method(_, _, _, pres, posts, _) if m != root =>
// use only specification of called methods
pres ++ posts
case Function(_, _, _, pres, posts, _) =>
case f@Function(_, _, _, pres, posts, _) if f != root=>
// use only specification of called functions
pres ++ posts
case _ => Seq(currentRoot)
Expand Down Expand Up @@ -137,7 +137,7 @@ object QuantifiedPermissions {
case m@Method(_, _, _, pres, posts, _) if m != root =>
// use only specification of called methods
pres ++ posts
case Function(_, _, _, pres, posts, _) =>
case f@Function(_, _, _, pres, posts, _) if f != root =>
// use only specification of called functions
pres ++ posts
case _ => Seq(currentRoot)
Expand Down

0 comments on commit bac5224

Please sign in to comment.