Skip to content

Commit 79a2b6d

Browse files
erik-kroghaibaars
andauthored
use any() instead of this = this
Co-authored-by: Arthur Baars <[email protected]>
1 parent 99dc0a8 commit 79a2b6d

File tree

1 file changed

+1
-1
lines changed
  • ruby/ql/test/library-tests/dataflow/flow-summaries

1 file changed

+1
-1
lines changed

ruby/ql/test/library-tests/dataflow/flow-summaries/semantics.ql

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ private import codeql.ruby.dataflow.FlowSummary
1313
*/
1414
abstract private class Summary extends SimpleSummarizedCallable {
1515
bindingset[this]
16-
Summary() { this = this }
16+
Summary() { any() }
1717

1818
override predicate propagatesFlowExt(string input, string output, boolean preservesValue) {
1919
this.propagates(input, output) and preservesValue = true

0 commit comments

Comments
 (0)