Skip to content

Commit 1092326

Browse files
authored
Merge pull request #11796 from erik-krogh/fixBinding
Ruby: Fix compile error in test
2 parents b70ca77 + 79a2b6d commit 1092326

File tree

1 file changed

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

1 file changed

+2
-1
lines changed

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

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,9 +11,10 @@ private import codeql.ruby.dataflow.FlowSummary
1111
/**
1212
* A convenience class for defining value (c.f. taint) flow summaries.
1313
*/
14-
bindingset[this]
1514
abstract private class Summary extends SimpleSummarizedCallable {
1615
bindingset[this]
16+
Summary() { any() }
17+
1718
override predicate propagatesFlowExt(string input, string output, boolean preservesValue) {
1819
this.propagates(input, output) and preservesValue = true
1920
}

0 commit comments

Comments
 (0)