Skip to content

Commit 939dc49

Browse files
committed
spelling: compound
Signed-off-by: Josh Soref <[email protected]>
1 parent fe7bd81 commit 939dc49

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

ruby/ql/lib/codeql/ruby/dataflow/internal/DataFlowPrivate.qll

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1165,8 +1165,8 @@ private module PostUpdateNodes {
11651165
ExprPostUpdateNode() { this = TExprPostUpdateNode(e) }
11661166

11671167
override ExprNode getPreUpdateNode() {
1168-
// For compund arguments, such as `m(if b then x else y)`, we want the leaf nodes
1169-
// `[post] x` and `[post] y` to have two pre-update nodes: (1) the compund argument,
1168+
// For compound arguments, such as `m(if b then x else y)`, we want the leaf nodes
1169+
// `[post] x` and `[post] y` to have two pre-update nodes: (1) the compound argument,
11701170
// `if b then x else y`; and the (2) the underlying expressions; `x` and `y`,
11711171
// respectively.
11721172
//

0 commit comments

Comments
 (0)