Merge pull request #4447 from aschackmull/dataflow/postupdate-flow-consistency

Dataflow: Introduce consistency check for flow targeting PostUpdateNodes
This commit is contained in:
Anders Schack-Mulligen
2020-10-12 08:56:19 +02:00
committed by GitHub
12 changed files with 521 additions and 0 deletions

View File

@@ -167,4 +167,9 @@ module Consistency {
not isImmutableOrUnobservable(n) and
msg = "ArgumentNode is missing PostUpdateNode."
}
query predicate postWithInFlow(PostUpdateNode n, string msg) {
simpleLocalFlowStep(_, n) and
msg = "PostUpdateNode should not be the target of local flow."
}
}